RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Font_FindFont

Programmer’s Reference Manuals
» Part 8 – Non-kernel input/output
» The Font Manager
» SWI Calls
» Font_FindFont

Font_FindFont

(SWI &40081)

Entry
R1 Pointer to control terminated font name
R2 X points x 16
R3 Y points x 16
R4 X DPI, or 0 for default
R5 Y DPI, or 0 for default

Exit
R0 Font handle
R4 X DPI
R5 Y DPI

Use

This purpose of this call is to return a handle for the given font name, and make it the current font.

Notes

When the font is no longer required, Font_LoseFont should be used. If R1 points to a string that does not contain any ’\’ characters it is assumed to be a font name. Otherwise it is treated as a font identifier.

See also

   .