PREVIOUS HEAD

16  Font Encoding Maps

(First available in 4.0K.) A new previewer menu selection, Text + Encoding Map for a Font, allows you to choose a Windows TrueType font which the previewer then displays in an MDI child window, showing a table of the characters in the font and the raw encoding (such as ANSI or Unicode) for that Windows font. This display is of interest to those trying to use non-TEX fonts with TEX.

In the WIN16 previewer (DVIGDI16.EXE) or when the operating system does not support Unicode (such as Windows 3.1 with Win32s), the previewer displays the 8-bit encoding table, namely the codes 0x00 to 0xff. The WIN32 previewer (DVIGDI32.EXE) displays the Unicode encoding when running under an operating system which supports Unicode output (such as Windows NT or Windows 95). The table shows the unmodified Windows encoding; none of the virtual font or ad hoc encoding tables are applied.

If the table does not fit in the child window (such as a Unicode table having 65536 code positions), you can use the View menu navigation commands, shortcut keys, and scroll bars to move the window up and down the rows of the table, much like moving about a document preview.

Each row of the table shows the hexadecimal code of the first character in the row. Rows are always a power-of-two characters wide to facilitate reading the codes in the rows.

The window displays characters in the point size you select in the font choice common-dialog; you can use a small point size to fit many long rows into one view, or you can use a large point size to show details in each character. Rows and columns automatically resize if you change the size of the window. Undefined characters will display as rectangles.

While File + Print and Edit + Copy items are not available for encoding map windows, you can print portions of the tables by using Ctrl + Print Screen to copy the active window to the Windows Clipboard, and pasting the Clipboard into any Windows application (such as the Windows Wordpad accessory) which can print the pasted result.


NEXT HEAD