:orphan:

========
TKE_Font
========

Opcode
======

.. csv-table::

	"ASCII", "f"
	"Hexadecimal", "66"
	"Decimal", "102"


Operands
========

| Byte format, Byte name_length, (name_length)xByte name, 
| Byte encoding, Byte lookup_length, (lookup_length)xByte lookup, 
| Byte length, (length)xByte data 

.. csv-table::
	
	"format", "type of font definitions (currently only HOOPS user-defined stroked fonts)"
	"name_length", "length of name string"
	"name", "name of the font"
	"encoding", "scheme for mapping character indices to glyphs"
	"lookup_length", "length of lookup function name"
	"lookup", "name of character lookup function"
	"length", "length of font definition data"
	"data", "basic font parameters and glyph descriptions"
	

Notes
=====

This exposes to the user the ability to&nbsp;define their own *stroked* fonts to be used when drawing text strings. The format allows data for an individual character glyph to be found directly by index, or (particularly for extensive font definitions) using a ``lookup`` function. ``lookup`` defines a function which will be used to draw the text string.

For further details on this specification refer to the ``Define_Font`` section of the HOOPS reference manual.
