Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version