Instruction set reference
HIPE_OP_ADD_FONT
Adds a font to the document for use in subsequent styling, by sending font data to the display server.
- location: 0. Not used.
- arg[0]: Specify a name for the font here. The name is then used to specify the font face in subsequent styling.
- arg[1]: The correct mime type for the font data must be specified. (e.g. "application/x-font-woff")
- arg[2]: Pass the raw contents of the font file here.
Notes
For security reasons, the font data added using HIPE_OP_ADD_FONT is local to the client application. It is inaccessible to other applications running within the Hipe session.