Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## font-pixel-height

Arguments: font

This is a tentative function that likely is not useful. On Windows it simply returns what font-size returns. On GTK, it returns what GTK calls the "ink height" of the font, which is the height that encompasses the actual pixels that are drawn for a line a text, rather then the amount of space that is reserved for each line of text (which includes the "leading" of the font).

In versions of GTK earlier than 2.6, Common Graphics is unable to determine the real pixel size of a font due to all requested font point sizes being multiplied by an unknown global "font dots-per-inch" setting. This function might be useful in determining how large a font actually turned out to be in GTK 2.4. In GTK 2.6, Common Graphics can specify a font size in pixels directly (which fits with the general Common Graphics design of specifying sizes in pixels), and so this is no longer an issue.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version