Applies To: |
|
Summary: |
The Citect runtime uses the windows font mapper to display fonts. A number of font attributes determine which font is displayed by the font mapper. If fonts from an alternative character set are used, the fonts displayed by the font mapper may not be the desired fonts. |
Solution: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Two parameters exist to make the font
mapper display the correct font.
These parameters are [Animator]FontPrecision and [Animator]FontCharacterSet. The defaults for both these parameters are the system defaults of 0. These parameters can be used in conjunction to ensure alternative character set fonts display correctly. The following details the use of these parameters with the Windows font mapper. FontCharacterSet
Windows 95 only:
The OEM_CHARSET value specifies a character set that is operating-system dependent. You can use the DEFAULT_CHARSET value to allow the name and size of a font to fully describe the logical font. If the specified font name does not exist, a font from any character set can be substituted for the specified font, so you should use DEFAULT_CHARSET sparingly to avoid unexpected results. Fonts with other character sets may exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font. This parameter is important in the font mapping process. To ensure consistent results, specify a specific character set. Make sure that the FontCharacterSet value matches the character set of the typeface specified. FontPrecision
Applications can use the OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, and OUT_TT_PRECIS values to control how the font mapper chooses a font when the operating system contains more than one font with a given name. For example, if an operating system contains a font named Symbol in raster and TrueType form, specifying OUT_TT_PRECIS forces the font mapper to choose the TrueType version. Specifying OUT_TT_ONLY_PRECIS forces the font mapper to choose a TrueType font, even if it must substitute a TrueType font of another name. Copyright (c) 1994-1997 Microsoft Corporation. These parameter has been introduced in 3.4/4.2 Service Pack F. Notes:
|
Keywords: |
Related Links
Attachments