AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     font handle (or 0)
     R1 =     0 (or font name)
     R2 =     flags

This SWI declares the fonts used in a document, and should be called for each distinct font, either by handle or by name, after you have called PDriver_SelectJob or PDriver_SelectIllustration, but before PDriver_DrawPage.
Not using this SWI may cause the printer driver to default to downloading a lot of unnecessary font information, or finding that the font you later select is not available on the printer.

Check the features word to verify that the driver does support this SWI. 

See PRM 3, page 638.
PDriver_DeclareFont flags
Bit     Meaning if set

0     don't download fonts absent from device (will substitute instead)
1     download kerning info with font
Distinct fonts
Fonts are "distinct" if they differ in name, encoding or matrix - in other words if their Font identifiers differ in any way. Size and colour differences do not make fonts distinct.

[sh-index] Back to list of manuals