API Reference > OdDb Classes > OdDbBaseHostAppServices Class > OdDbBaseHostAppServices Methods > OdDbBaseHostAppServices::ttfFileNameByDescriptor Method
OdDbBaseHostAppServices::ttfFileNameByDescriptor Method
Syntax
C++
virtual bool ttfFileNameByDescriptor(const OdTtfDescriptor& description, OdString& filename);
Parameters 
Description 
const OdTtfDescriptor& description 
[in] Font description.  
OdString& filename 
[out] Receives the name of the TrueType font file. 

Returns true and the filename if and only if the font file was found.

Locates the TTF or TTC file containing the specified font description. 

 

The non-Windows builds of this function do nothing but return.

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