LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
SimpleFontMetric Struct Referencepublished

describes the general metrics of a certain font. More...

import"SimpleFontMetric.idl";

Public Attributes

short Ascent
 specifies the portion of a lower case character that rises above the height of the character "x" of the font. More...
 
short Descent
 specifies the portion of a letter falling below the baseline. More...
 
short Leading
 specifies the vertical space between lines of this font; it is also called internal line spacing. More...
 
short Slant
 specifies the slant of the characters (italic). More...
 
char FirstChar
 specifies the code of the first printable character in the font. More...
 
char LastChar
 specifies the code of the last printable character in the font. More...
 

Detailed Description

describes the general metrics of a certain font.

Member Data Documentation

short Ascent

specifies the portion of a lower case character that rises above the height of the character "x" of the font.

For example, the letters "b", "d", "h", "k" and "l" have an ascent unequal to 0.

The ascent is measured in pixels, thus the font metric is device dependent.

short Descent

specifies the portion of a letter falling below the baseline.

For example, the letters "g", "p", and "y" have a descent unequal to 0.

The descent is measured in pixels, thus the font metric is device dependent.

char FirstChar

specifies the code of the first printable character in the font.

char LastChar

specifies the code of the last printable character in the font.

short Leading

specifies the vertical space between lines of this font; it is also called internal line spacing.

The leading is measured in pixels, thus the font metric is device dependent.

short Slant

specifies the slant of the characters (italic).

The slant is measured in degrees from 0 to 359.


The documentation for this struct was generated from the following file: