Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcHostAppServices::getSubstituteFontByChar Method
Syntax
C++
virtual OdString getSubstituteFontByChar(const OdFont& pFont, OdChar unicodeChar, OdDbBaseDatabase * pDb);

Retrieves the typeface name of the TTF font that has the specified character.

Parameters
Description
pFont
[in] A TTF font object.
unicodeChar
[in] A symbol to find in the substitute font name.
pDb
[in] A raw pointer to the database context.

a string object that contains the substitute font name.

The default method implementation uses the Windows API for getting the font.

Copyright © 2002-2022. Open Design Alliance All rights reserved.