1
Discussion - EVE / accessing custom font Glyphs in Flash
« on: January 13, 2021, 07:54:01 PM »
Currently I am setting the “start_of_Graphic_data” (p + 32), to the location of where the glyph file is in RAM.
local Xfont = assetLoader.ImageInfo[xfont].index;
local Glyph = assetLoader.ImageInfo[glyph].index;
MCU_WriteMem32(Xfont + 32, Glyph);
For a glyph stored in Flash ([0x02F000 -> 0x057000]) for instance,
How would I compute the flash address to store in the “start_of_Graphic_data” ?
Is there anything else I need to modify in the xfont (Font Metrics Block)?
local Xfont = assetLoader.ImageInfo[xfont].index;
local Glyph = assetLoader.ImageInfo[glyph].index;
MCU_WriteMem32(Xfont + 32, Glyph);
For a glyph stored in Flash ([0x02F000 -> 0x057000]) for instance,
How would I compute the flash address to store in the “start_of_Graphic_data” ?
Is there anything else I need to modify in the xfont (Font Metrics Block)?