Font-Metric: How to obtain "line gap" or "leading" from a font
- From: Jost Boekemeier <JBoekemeier inetsoftware de>
- To: "'gtk-i18n-list gnome org '" <gtk-i18n-list gnome org>
- Subject: Font-Metric: How to obtain "line gap" or "leading" from a font
- Date: Mon, 19 May 2003 13:20:14 +0200
[I hope this is the right list]
There are methods to retrieve the "ascend", "descend" etc, but not the
"leading" (or "gab") of a font. One normally calculates the font size as
leading+ascent+descent. But I haven't found any information on how to
obtain a leading hint from the font.
And while I have your attention, there are two methods to access the font
metric (one via the font description, I think, and one via the real font).
I assume that one returns the overall metric while the other only returns
the metric of the concrete font, yes?
Jost
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]