Skip to main content
Table of Contents

TTMSFNCGeneralPDFLibFontMetrics Record

Stores the typographic metrics for a font face, including ascent, descent, cap height, italic angle, bounding box, and font program type, used by the PDF engine when embedding fonts.

API unit family: TMSFNCPDFLib.General.Android

Syntax

GeneratedPascalC++
TTMSFNCGeneralPDFLibFontMetrics = record
struct DECLSPEC_DRECORD TTMSFNCGeneralPDFLibFontMetrics

Fields and properties

Name Type Description
Ascent Integer Maximum height above the baseline reached by any glyph, in glyph-space units.
CapHeight Integer Height of a flat capital letter above the baseline, in glyph-space units.
Descent Integer Maximum depth below the baseline reached by any glyph, in glyph-space units. Normally negative.
Fixed Boolean True when every glyph advances by the same width, as in a monospaced face.
FontBox TRect Bounding box that encloses every glyph in the font, in glyph-space units.
FontProgramType TTMSFNCPDFFontProgramType The outline format of the embedded font program, which determines how it is written into the document.
ItalicAngle Integer Slant of the glyphs from vertical, in degrees. 0 for an upright face; negative for a right-leaning italic.
TrueType Boolean True when the embedded font program uses TrueType outlines rather than Type 1 outlines.