API Reference > Classes > PRC Base Classes > OdPrcHostAppServices Class > OdPrcHostAppServices Methods > OdPrcHostAppServices::getSubstituteFont Method
OdPrcHostAppServices::getSubstituteFont Method
Syntax
C++
virtual OdString getSubstituteFont(const OdString& fontName, OdFontType fontType);
Parameters 
Description 
const OdString& fontName 
[in] A font name.  
OdFontType fontType 
[in] A font type.
The fontType parameter value must be one of the following:
 

Returns the font to be used when the specified font is not found. 

 

The default implementation of this method returns an empty string.

Font Handling

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.