Parameters |
Description |
const OdString& fontName |
[in] Font name. |
OdFontType fontType |
[in] Font type. |
Returns the preferable font name for the specified font name and type.
This function is called as the first step in the process of resolving a font file. The default implementation tries to locate a font mapping file by calling getFontMapFileName, and substitutes the font name based on the contents of this file.
fontType must be one of the following:
Name |
Value |
Description |
kFontTypeUnknown |
0 |
Unknown. |
kFontTypeShx |
1 |
SHX font. |
kFontTypeTrueType |
2 |
TrueType font. |
kFontTypeShape |
3 |
Shape file. |
kFontTypeBig |
4 |
BigFont file. |
Font Handling
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|