- font <-
family: name
- Typeface family — e
.g. sans, mono, serif,
or any Pango family name accepted by the host.
- font <-
style: {normal,italic,oblique,bold}
- Style within the family.
- font <-
weight: {thin,ultralight,light,semilight,book,normal,medium,bold,ultrabold,heavy,ultraheavy}
|100..1000 - Numeric or named weight; orthogonal to font
<-style.
- font-points: [num]
- Nominal point size. @default
means "use Pango's default size"; the getter font
<-points
returns the slot or font<-height
when
@default.
- font-ascent: [num]
- font-descent: [num]
- Caches for the metrics returned by font
<-ascent
/ font<-descent.
- font-ex: num*
- Pixel height of the letter
x in this font, cached on first
access. Used by classes that size by character count rather than pixels
(see editor, text_item). See also font<-width.
- font-avg_char_width: num*
- Average glyph advance, cached on first access; the basis of
font
<-width
when no explicit string is given.
- font-fixed_width: [bool]
- Cache for font
<-fixed_width. @off
means proportional, @on
means every glyph has the same advance. Computed once by comparing the
advances of i and w.