Here's the chapter outline I proposed as well as the snippets of
text I said I'd write:
6. Fonts.
A. What is an LZX Font?
Every piece of text that is drawn in a Laszlo application is
drawn using an LZX font. An LZX font is a set of size-independent
glyphs (i.e., outlines or shapes) that should be drawn to represent
text characters. An LZX font is defined by a name, style and a source
file where the glyphs are stored. The name is an identifier such as
Courier or Garamond. The style is one of normal, italic, bold, or
bold italic. The font source file must be in industry stardard
TrueType format. (See the spec at
http://developer.apple.com/fonts/TTQualSpec/QS01/FQS1.html, the reference
at http://developer.apple.com/fonts/TTRefMan/index.html and details about
the file format at
http://developer.apple.com/fonts/TTRefMan/RM06/Chap6.html)
This chapter shows some simple examples of using fonts in LZX.
It then goes on to discuss the default font, font definition elements,
font-related view attributes and font-related HTML
elements. It concludes with some tips and trouble-shooting advice.
Each name and style pairing must be unique in an application.
B. Using LZX Fonts
Your simple examples...
hello
C. The Default Font
LZX applications come with a default font that is used by all text.
D. Defining LZX Fonts
All LZX fonts that an application uses must be defined.
a. Fonts are defined/imported like other resources (see resource chapter?)
except that they must be defined/imported at compile time.
There is a application-global namespace for fonts.
Each font name-stylle pairing must be unique.
b. The element must be a child of the