LibreOffice
LibreOffice 24.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

◆ Ascent

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.

◆ Descent

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.

◆ FirstChar

char FirstChar

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

◆ LastChar

char LastChar

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

◆ Leading

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.

◆ Slant

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: