TBLFontDesignMetrics
Design metrics of a font.
Design metrics is information that TBLFontFace collected directly from the font data. It means that all fields are measured in font design units.
When a new TBLFont instance is created a scaled metrics TBLFontMetrics is automatically calculated from TBLFontDesignMetrics including other members like transformation, etc...
Definition
Unit: Blend2D
See Also
Properties
| Name | Description |
|---|---|
| Ascent | Ascent (horizontal layout). |
| CapHeight | Maximum height of a capital letter above the baseline. |
| Descent | Descent (horizontal layout). |
| GlyphBoundingBox | Aggregated bounding box of all glyphs in the font. |
| HMaxAdvance | Maximum advance (horizontal layout). |
| HMinLsb | Minimum leading-side bearing (horizontal layout). |
| HMinTsb | Minimum trailing-side bearing (horizontal layout). |
| LineGap | Line gap. |
| LowestPpEm | Lowest readable size in pixels. |
| StrikethroughPosition | Text strikethrough position. |
| StrikethroughThickness | Text strikethrough thickness. |
| UnderlinePosition | Text underline position. |
| UnderlineThickness | Text underline thickness. |
| UnitsPerEm | Units per EM square. |
| VAscent | Ascent (vertical layout). |
| VDescent | Descent (vertical layout). |
| VMaxAdvance | Maximum advance (vertical layout). |
| VMinLsb | Minimum leading-side bearing (vertical layout). |
| VMinTsb | Minimum trailing-side bearing (vertical layout). |
| XHeight | Distance between the baseline and the mean line of lower-case letters. |
Methods
| Name | Description |
|---|---|
| Reset |
Property Descriptions
Ascent
Ascent (horizontal layout).
property Ascent: Integer read FAscent
Type: Integer
CapHeight
Maximum height of a capital letter above the baseline.
property CapHeight: Integer read FCapHeight
Type: Integer
Descent
Descent (horizontal layout).
property Descent: Integer read FDescent
Type: Integer
GlyphBoundingBox
Aggregated bounding box of all glyphs in the font.
property GlyphBoundingBox: TBLBoxI read FGlyphBoundingBox
Type: TBLBoxI
Remarks
This value is reported by the font data so it's not granted to be true.
HMaxAdvance
Maximum advance (horizontal layout).
property HMaxAdvance: Integer read FHMaxAdvance
Type: Integer
HMinLsb
Minimum leading-side bearing (horizontal layout).
property HMinLsb: Integer read FHMinLsb
Type: Integer
HMinTsb
Minimum trailing-side bearing (horizontal layout).
property HMinTsb: Integer read FHMinTsb
Type: Integer
LineGap
Line gap.
property LineGap: Integer read FLineGap
Type: Integer
LowestPpEm
Lowest readable size in pixels.
property LowestPpEm: Integer read FLowestPpEm
Type: Integer
StrikethroughPosition
Text strikethrough position.
property StrikethroughPosition: Integer read FStrikethroughPosition
Type: Integer
StrikethroughThickness
Text strikethrough thickness.
property StrikethroughThickness: Integer read FStrikethroughThickness
Type: Integer
UnderlinePosition
Text underline position.
property UnderlinePosition: Integer read FUnderlinePosition
Type: Integer
UnderlineThickness
Text underline thickness.
property UnderlineThickness: Integer read FUnderlineThickness
Type: Integer
UnitsPerEm
Units per EM square.
property UnitsPerEm: Integer read FUnitsPerEm
Type: Integer
VAscent
Ascent (vertical layout).
property VAscent: Integer read FVAscent
Type: Integer
VDescent
Descent (vertical layout).
property VDescent: Integer read FVDescent
Type: Integer
VMaxAdvance
Maximum advance (vertical layout).
property VMaxAdvance: Integer read FVMaxAdvance
Type: Integer
VMinLsb
Minimum leading-side bearing (vertical layout).
property VMinLsb: Integer read FVMinLsb
Type: Integer
VMinTsb
Minimum trailing-side bearing (vertical layout).
property VMinTsb: Integer read FVMinTsb
Type: Integer
XHeight
Distance between the baseline and the mean line of lower-case letters.
property XHeight: Integer read FXHeight
Type: Integer
Method Descriptions
Reset
procedure Reset; inline