TT_Get_Face_Properties function
Gets properties for the specified font face.
Declaration
function TT_Get_Face_Properties(_face: TT_Face;
out prop: TT_Face_Properties): TT_ErrorArguments
_face | Font face examined in the routine. |
prop | Properties for the specified font face. |
Function result
Success or failure status for the routine. 0 indicates success.
Description
TT_Get_Face_Properties
is a
TT_Error
function used to get properties for the font face specified in
_face.
The
prop
argument is a TT_Face_Properties output parameter where the properties for the TrueType font
face are stored. TT_Face_Properties provides access to the following types of information about
the TrueType font face:
- num_glyphs
- Number of glyphs in the font
- max_points
- Maximum number of points needed to represent the glyphs in the font face
- max_contours
- Maximum number of closed shapes (or contours) for glyphs defined using the points in the font face
- max_faces
- Maximum number of font faces in the header for a TrueType font collection
- header
- TrueType font header for the file or collection
- horizontal
- Horizontal layout information for glyphs in the font face
- vertical
- Vertical layout information for glyphs in the font face
- os2
- Metrics for the font face when used on the OS/2 operating system
- postscript
- Contains infomation needed to use the font face on Postscript output devices
See also
- TT_Face
- TT_Face_Properties
- TT_Error
- TT_Err_Ok
- TT_Err_Invalid_Face_Handle
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
