126.96.36.199 Embedding bitmaps in a font
You can specify a font for which you want certain
characters changed to in-line bitmaps in the WinHelp file. You embed
bitmaps in the font as follows:
1. Choose a
font to represent bitmaps.
2. Assign a
different character in that font to each bitmap.
3. Place the
assigned characters--in that font--in your FrameMaker document, wherever
you want the bitmaps to appear in WinHelp.
In the configuration file you identify the font
then map the characters. You can represent a character either as itself
or as its decimal numeric value. For example:
; BitmapFont = name of font to check for chars
to map here
; following chars are remapped when in BitmapFont
in WinHelp only
; sample mappings are all to bitmaps supplied
in Help Workshop
; * = bullet, using the decimal numeric value
of the character
; A = arrow, using the character itself (printable,
not ";" or "[")
; C = closed book
; D = document
; O = open book
; S = step
Add a line for each character you want to map,
to make all asterisks in that font turn into
in-line calls for a bullet image. Any characters you do not
map remain themselves. To use the semicolon ";"
or the left bracket "[", you must precede the
character with a backslash to avoid conflict with configuration-file
Make sure you tag only one character at a time
with the bitmap font, and watch out for preceding or following spaces
in the same font, which would disable the bitmap usage.
When you use actual letters as [BitmapChars]
keys, they are case insensitive; "A" is mapped
the same as "a". Using the decimal numeric
value of a character as the key instead has two advantages:
can map high-bit-set characters, which are often used for symbols.
can assign different bitmaps to uppercase and lowercase characters.
> 7 Generating WinHelp > 7.2 Converting FrameMaker text > 7.2.2 Converting special characters > 188.8.131.52 Embedding bitmaps in a font