Coerce raw data into an AmigaBitmapFontSet class object
AmigaBitmapFontSet
objects are comprehensive representations of binary Amiga
font files (*.font). Use this function to convert raw
data from
such a file to an AmigaBitmapFontSet object.
rawToAmigaBitmapFontSet(x, file, disk = NULL)
x |
A |
file |
The |
disk |
A virtual Commodore Amiga disk from which the |
This function converts raw
data as stored in *.font
files. The function also needs the file location, in order
to load the nested bitmap images for each font height.
This function is effectively the inverse of as.raw
.
Returns an AmigaBitmapFontSet
object.
Pepijn de Vries
Other AmigaBitmapFont.operations: AmigaBitmapFont
,
availableFontSizes
, c
,
fontName
, font_example
,
getAmigaBitmapFont
,
rasterToAmigaBitmapFont
,
rawToAmigaBitmapFont
,
read.AmigaBitmapFontSet
,
read.AmigaBitmapFont
,
write.AmigaBitmapFont
Other raw.operations: as.raw
,
colourToAmigaRaw
, packBitmap
,
rawToAmigaBitmapFont
,
rawToAmigaIcon
,
rawToHWSprite
, rawToIFFChunk
,
rawToSysConfig
,
simpleAmigaIcon
## Not run: data(font_example) ## First create raw font set data. Note that this raw data ## does not include the nested font bitmap images. fontset.raw <- as.raw(font_example) ## Therefore it is necesary to have the entire font stored as files: write.AmigaBitmapFontSet(font_example, tempdir()) font.restored <- rawToAmigaBitmapFontSet(fontset.raw, file.path(tempdir(), "AmigaFFH.font")) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.