API Reference > Classes > PRC Base Classes > OdPrcHostAppServices Class > OdPrcHostAppServices Methods > OdPrcHostAppServices::getSubstituteFontByChar Method
OdPrcHostAppServices::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 (c) 2002-2020. Open Design Alliance. All rights reserved.