Get available font sizes (height) from an AmigaBitmapFontSet()
in pixels.
Arguments
- x
An
AmigaBitmapFontSet()
for which the available font sizes (height) in number of pixels need to be obtained.
Value
Returns a vector
of numeric
values specifying
the available font sizes (height in pixels) for x
.
Details
An AmigaBitmapFontSet()
can hold bitmaps of multiple font
sizes. Use this function to obtain the available size from such a set.
See also
Other AmigaBitmapFont.operations:
AmigaBitmapFont
,
c()
,
fontName()
,
font_example
,
getAmigaBitmapFont()
,
rasterToAmigaBitmapFont()
,
rawToAmigaBitmapFontSet()
,
rawToAmigaBitmapFont()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
write.AmigaBitmapFont()
Examples
if (FALSE) {
data(font_example)
## The example font holds two font sizes (8 and 9):
availableFontSizes(font_example)
}