API Reference > Other Classes > OdFont Class
OdFont Class
OdFontOdFontOdFont
Syntax
C++
class OdFont : public OdRxObject;

OdFont.h

This class is the base interface class for classes that implement font objects.

 
Name 
Description 
 
 
 
Name 
Description 
 
Adds the specified font flags to this font object.
 
 
This is the overview for the drawCharacter method overload. 
 
Returns the font flags for this font object.
 
 
Returns the height of this font object above the baseline.
 
 
Returns the height of this font object above the baseline.
 
 
Returns an array of the characters defined in this font object.
 
 
Returns the average width of characters in this font object.
 
 
Returns the depth of this font object below the baseline.
 
 
Gets the OdTtfDescriptor for this font.
 
 
Returns the font file name.
 
 
Returns the font flags for this font object.
 
 
Returns the font data for the specified character.
 
 
Returns the height of this font object.
 
 
Returns the internal leading of this font object.
 
 
Returns the LOGFONT for this font.
 
 
Returns the overline position for this font object at the specified text size.
 
 
Returns an array of points over and under the baseline for the specified character in this OdFont object.
 
 
Returns the underline position for this font object at the specified text size.
 
 
Checks whether the specified character is defined in this font object.
 
 
Initializes this font object to read font data from the specified StreamBuf object.
 
 
Checks whether this font object is an SHX font.
 
 
 
 
Sets the font flags for this font object.
 
 
Checks whether the font supports vertical mode.  
Copyright © 2002–2022. Open Design Alliance. All rights reserved.