Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fontName

Extract or replace a font name


Description

Extract or replace a font name from an AmigaBitmapFontSet object.

Usage

fontName(x)

fontName(x) <- value

Arguments

x

An AmigaBitmapFontSet for which the font name needs to be changed.

value

A character string specifying the name you wish to use for the font.

Details

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.

Value

Returns the font name. In case of the replace function, a copy of x is returned with the name replaced by 'value'.

Author(s)

Pepijn de Vries

See Also

Examples

## 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)

AmigaFFH

Commodore Amiga File Format Handler

v0.3.1
GPL-3
Authors
Pepijn de Vries [aut, cre, dtc]
Initial release
2019-03-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.