API Reference > Classes > PRC Base Classes > OdPrcHostAppServices Class > OdPrcHostAppServices Methods > OdPrcHostAppServices::getPreferableFont Method
OdPrcHostAppServices::getPreferableFont Method
Syntax
C++
virtual OdString getPreferableFont(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 preferable font name for the specified font name and type. 

 

The default implementation of this method returns an empty string.

Font Handling

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