RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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

  • Font_LoseFont
Revised on October 3, 2009 15:42:40 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: The Window Manager Template Files, Wimp_LoadTemplate (load syntax), The Font Manager SWI Calls, *FontCat, Font_LoseFont, Font Encoding Identifier, Font Identifier String, Font Transformation Matrix, Transformation Matrix

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
  • Export
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys