HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file ui.FontMetrics by barry
expand copy to clipboardexpand
/* { "description" : "Description of a font's details." } */
data FontMetrics {
	/* { "@description" : "The total height of the font in pixels (this is the maximum height of the tallest glyph in the entire typeface)." } */
	int height
	/* { "@description" : "Of the height, how much is 'ascent' above the 'baseline' (which is an imaginary 1 pixel line)." } */
	int ascent
	/* { "@description" : "Of the height, how much is 'descent' below the 'baseline' (which is an imaginary 1 pixel line)." } */
	int descent
	/* { "@description" : "The recommended number of pixels between lines (this is an optional typeface attribute which might be 0)." } */
	int lineskip
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n ui.FontMetrics -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation