MENU
Fonts
<font> defines a font......OPS.
Each 'font' element must have a <font-face> child element that describes the various characteristics of the font.
......horiz-origin-x="<number>": the X coord. of the origin of a glyph to be used when drawing horizontally oriented text.
......horiz-origin-y="<number>": the Y coord of the origin of a glyph to be used when drawing horizontally oriented text.
......horiz-adv-x="<number>": the horizontal advance after rendering a glyph in a horizontal orientation.
......vert-origin-x="<number>": the X coord. of the origin of a glyph to be used when drawing vertically oriented text.
......vert-origin-y="<number>": the Y coord. of the origin of a glyph to be used when drawing vertically oriented text.
......vert-adv-y="<number>":the vertical advance after rendering a glyph in a vertical orientation.
<font-face> describes the characteristics of a font......C
......font-family="<string>": the name of the font to use. The font name can be a family name or a generic name(2.4.5).
......font-style="all | {normal | italic | oblique}......": the style.
......font-variant="{normal | small-caps}......": whether to display in a small, capitalized font.
......font-weight="all | {normal | bold | <number>}......": the weight.
......font-stretch="all | {normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded}......:
......font-size="<number>": the font size.
......unicode-range="<urange>": the Unicode range. The default value is 'U+0-10FFFF'.
......units-per-em="<number>": the size of the design grid on which the glyphs are laid out. It is necessary for 'stemv', 'stemh', 'cap-height', 'x-height', 'accent', 'descent' etc. The default is '1000'.
......stemv="<number>": the vertical stem width.
......stemh="<number>": the horizontal stem width.
......slope="<number>": the vertical stroke angle.
......cap-height="<number>": the height of uppercase glyphs.
......x-height="<number>": the height of lowercase glyphs.
......accent-height="<number>": the distance from the origin to the top of accent characters.
......ascent="<number>": the maximum unaccented height.
......descent="<number>": the maximum unaccented depth.
......underline-position="<number>": the position of an underline.
......underline-thickness="<number>": the thickness of an underline.
......strikethrough-position="<number>": the position of a strikethrough.
......strikethrough-thickness="<number>": the thickness of a strikethrough.
......overline-position="<number>": the position of an overline.
......overline-thickness="<number>": the thickness of an overline.
<font-face-src> references another font......C.
It contains <font-face-name> and <font-face-uri>, which are used for referencing local and external fonts respectively.
<font-face-name> references a local font......C.
......name="<string>": the name of the local font.
<font-face-uri> references an external <font> element ......CX
......xlink:href="<iri>": the location of the referenced font.
<font-face-format> specifies the supported formats of the font referenced by the <font-face-uri> element......C
......string="{ truedoc-pfr | embedded-opentype | type-1 | truetype | opentype | truetype-gx | speedo | intellifont }+": the supported formats.