Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: awt ::
struct SimpleFontMetric
Description describes the general metrics of a certain font.

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

Elements' Details
Ascent
short Ascent; Description 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; Description 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.
Leading
short Leading; Description 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; Description specifies the slant of the characters (italic). The slant is measured in degrees from 0 to 359.
FirstChar
char FirstChar; Description specifies the code of the first printable character in the font.
LastChar
char LastChar; Description specifies the code of the last printable character in the font.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.