Home |
Font Range Configuration |
Font Range ConfigurationThe Unicode font range selection dialog allows you to specify the groups, or code pages, of characters you want to encode. If you select multiple code pages for one font, FontCapture will generate at least one PegFont page for each code page you enable. In all cases the resulting fonts use Unicode character encoding, even if your code page selections leave "holes", i.e. even if you select a non-contiguous set of character pages. However, the multi-page PegFont encoding scheme allows the final font to simply skip any unused range(s) of characters, eliminating memory use for those unsupported code pages. For each code page that is enabled, you can specify an exact window of character values to capture. These character ranges are entered in hexadecimal format, consistent with Unicode encoding. The ability to capture limited windows within each code page is very useful for multilingual applications that are attempting to produce a minimal memory footprint. This enables you to select the specific code pages and ranges of characters required in your application without capturing all of the characters in each page. For example, you may desire to capture code page 1 (Basic Latin) indexes 0020 through 0080, code page 2 (Latin 1) characters 0090 through 0100, and a few additional characters from code page 9 (Cyrillic). You may thus create a custom font containing <= 256 characters, but still containing all of the glyphs you need for your multilingual application. Even if you are using 16-bit character encoding, you will very likely not want to attempt to capture the entire Unicode character set. Such a character set would require a huge amount of memory, and it is highly unlikely that you will find a font containing anywhere near the entire Unicode character set. Font Capture allows you to specify exactly which code pages you want to capture from the selected font. Once you have entered the range configuration, PegFontCapture saves the configuration (or 'profile') to a binary file for later retrieval. The next time you start the Font Capture program, it will automatically default to the set of ranges defined in the previous usage. Whenever Font Capture is operated using a Custom font range, the header in the output file produced contains a comment section indicating the mapping of Unicode characters to the character indexes in the captured font. This mapping is required if you want to manually enter 16-bit string values in your application. Applying Custom Character Filters
|