TextPipe: Online Help
    Multi-maps
 

Submit feedback on this topic 

 Home  User Assistance   Tutorials   How to Use TextPipe
 Menus: File   Edit   Filters[ Wizards  Convert   Unicode   Add   Remove   Replace   Extract   Special   Maps   Restrict ]  Tools   Window   Help   Advanced
Home
Up

 

 

A multi-map is a specialized version of a Unicode Map. It is used in font remapping applications to take a single input file, and map it to one or more output font sets. The hierarchy of the mapping can be controlled at run-time from the command line.

As each UTF-16 or UTF-32 character is processed, TextPipe first checks if it is marked as INVARIANT. If so, TextPipe scans languages in MULTIMAPORDER sequence for the first language with a non-blank entry, and outputs it without a language change sequence. If the character is not INVARIANT, TextPipe scans languages in MULTIMAPORDER sequence for the first language with a non-blank entry, outputting a language change sequence if required, the found value, and then resets the current language.

The Excel spreadsheet has individual UTF-16 Unicode hex code points in the left column (e.g. 0021, 003c), and a series of values in named columns or language families to the right (e.g. 01, 08, 09), starting at column 3. By setting the order that the languages are used (using MULTIMAPORDER), the same Excel spreadsheet can be used to map to different output languages.

Here is an example Excel multi-map:

UTF-16  Invariant 01 08 09 10 11 12 32 66
0009 ON \x09 \x09 \x09 \x09 \x09 \x09 \x09 \x09
000A ON \x0A \x0A \x0A \x0A \x0A \x0A \x0A \x0A
000D ON \x0D \x0D \x0D \x0D \x0D \x0D \x0D \x0D
0020 ON \x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20
0021   \x21 \x21 \x21 \x21 \x21 \x21 \x21 \x21
003C   \x3C \x3C \x3C \x3C     \x3C \x3C
003D   \x3D \x3D \x3D \x3D \x3D   \x3D \x3D
003E   \x3E \x3E \x3E \x3E     \x3E \x3E
003F   \x3F \x3F \x3F \x3F \x3F \x3F \x3F \x3F
0040   \x40 \x40 \x40 \x40 \x40   \x40 \x40
0041   \x41 \x41 \x41 \x41 \x41 \x41    

The multi-map order command line options specifies the precedence order given to the columns. The first column specified is called the primary. If only the primary is specified, then the remaining columns are used in left-to-right order (ignoring the primary column). If two or more columns are specified, then only those columns are searched for values.

See also

Refresh map list
New map
Base map on filter list
Available maps

 

 

 Contact Us   Support   Community   Tutorials and User Guides (online)
 Copyright © 1999-2006 DataMystic. All rights reserved.