10.0; tr_font (transliteratet_font), revision 1.0, 88/01/21
tr_font (transliterate_font) - transliterate characters within a font
usage: tr_font font_name hex_conversion_table
NAME
tr_font - transliterate characters within a font
SYNOPSIS
tr_font font_name hex_conversion_table
DESCRIPTION
The tr_font command allows you to change the order in which characters
appear in fonts. It rearranges the graphic images associated with the
characters in font_name, according to information in the
hex_conversion_table. Use it if you create a new font file from two font
files that have different character orders.
tr_font only works on fonts already formatted for SR10. It works
directly on the font, without creating a backup.
The format for the hex_conversion_table file is:
src_ordinal dest_ordinal comment
src_ordinal dest_ordinal comment
src_ordinal dest_ordinal comment
where src_ordinal is the hexidecimal ordinal value of the character whose
graphic image is to be used as the source, dest_ordinal is the ordinal
value of the character which gets the transliterated image, and comment
is an optional remark (for the ASCII character set, the hexidecmal
ordinal value 41 represents the character 'A'). If the font was created
by concatenating two fonts with cvt_font, then the hexidecimal ordinal
value of the lowest possible character in the second font is 80.
EXAMPLE
The following example rearranges the characters in the SR10 format font
file named courier according to the information in the
hex_conversion_table theirs_to_ours.
$ tr_font courier theirs_to_ours
This is a sample of a hex_conversion_table file.
A1 A1 !down
A2 A2 cent
A3 A3 sterling
A5 A5 yen
A7 A7 section
A8 A4 currency
AB AB guillemotleft
B6 B6 paragraph
B7 B7 bullet
B8 B8 quitesinglebase
BB BB guill
SEE ALSO
More information is available. Type
help cvt_font