fontName | R Documentation |
Extract or replace a font name from an AmigaBitmapFontSet()
object.
fontName(x)
fontName(x) <- value
x |
An |
value |
A |
The name of a font is embeded at multiple locations of an AmigaBitmapFontSet()
object. This function can be used to extract or replace the font name
correctly. This is also the name that will be used when writing the
font to a file with write.AmigaBitmapFontSet()
.
Returns the font name. In case of the replace function, a copy
of x
is returned with the name replaced by 'value
'.
Pepijn de Vries
Other AmigaBitmapFont.operations:
AmigaBitmapFont
,
availableFontSizes()
,
c()
,
font_example
,
getAmigaBitmapFont()
,
rasterToAmigaBitmapFont()
,
rawToAmigaBitmapFontSet()
,
rawToAmigaBitmapFont()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
write.AmigaBitmapFont()
## Not run:
data(font_example)
## show the name of the example font:
fontName(font_example)
## This is how you change the name into "foo"
fontName(font_example) <- "foo"
## see it worked:
fontName(font_example)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.