7.4 Font Functions


The following shows the functions available for using the fonts in DDROM. These functions are used to obtain information such as the location in DDROM of the character font data for arguments. The developer then uses the EPI functions to transfer data from DDROM to RDRAM by DMA. For details, please see"Chapter 9, Accessing 64DD Internal ROM."

Font functions

#include<PR/leo.h>

int LeoGetKAdr(int sjiscode);

int LeoGetAAdr(int code, int *dx, int *dy, int *cy);

int LeoGetAAdr2(int ccode, int *dx, int *dy, int *cy);

sjiscode Kanji Shift JIS code
code alphabetic character code
ccode alphabetic character information data
dx character width
dy character height
cy character vertical center