AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R1 =     pointer to control terminated font name.
     R2 =     x points * 16
     R3 =     y points * 16
     R4 =     x dpi, or 0 for default
     R5 =     y dpi, or 0 for default

<=     R0 =     font handle
     R4 =     x dpi
     R5 =     y dpi

This SWI returns a handle for the given font name. The font is also set as current font. When you no longer need the font, use Font_LoseFont. If R1 points to a string containing no '\' characters it is assumed to be a font name. Otherwise it is treated as a font identifier.

See PRM 3, page 419.

[sh-index] Back to list of manuals