API Reference > OdDb Classes > OdDbBaseHostAppServices Class > OdDbBaseHostAppServices Methods > OdDbBaseHostAppServices::getSubstituteFontByChar Method
OdDbBaseHostAppServices::getSubstituteFontByChar Method
Syntax
C++
virtual OdString getSubstituteFontByChar(const OdFont& pFont, OdChar unicodeChar, OdDbBaseDatabase * pDb);
Parameters 
Description 
const OdFont& pFont 
[in] Current font.  
OdChar unicodeChar 
[in] Current symbol.  
OdDbBaseDatabase * pDb 
[in] Pointer to the database context. 

Returns the typeface name of the TTF font which has the character. 

 

The default implementation uses Windows API for getting the font.

Font Handling

Copyright © 2002–2020. Open Design Alliance. All rights reserved.