◇◆
glyph-data Glyph Data Character Being Referenced
An IDREF-type attribute that points to the @id attribute of the <glyph-data> character inside a <private-char> element. The idea is to use the full
<glyph-data> with its name and bitmap once,
then point to an existing character instead of defining the entire <glyph-data> element repeatedly.
Usage/Remarks
Once a private character has been declared using a <glyph-data> element, the character can be reused by using
this attribute on a <glyph-ref> element to
point to the existing full <glyph-data> element (bitmap included).
OPTIONAL on element: <glyph-ref>
| Value | Meaning |
|---|---|
| An identifier (IDREF) | The pointing uses the ID/IDREF mechanism, using the @glyph-data attribute of the <glyph-ref> element to point to the @id attribute of an existing <glyph-data> element. |
| Restriction | @glyph-data is an optional attribute; there is no default. |
Tagged Sample
Using @glyph-data to reference an existing bitmap (<private-char>)
<p>
<private-char name="NORTHWEST SOUTHEAST ARROW" description="Arrow,
normal weight, single line, two-headed, Northwest to Southeast">
<glyph-data id="NWSEArr" format="PBM" resolution="300"
x-size="34" y-size="34">
0000000000000000000000000000000000 0111111111111100000000000000000000
0111111111111100000000000000000000 0111110000000000000000000000000000
0111110000000000000000000000000000 0111111000000000000000000000000000
0110111100000000000000000000000000 0110011110000000000000000000000000
0110001111000000000000000000000000 0110000111100000000000000000000000
0110000011110000000000000000000000 0110000001111000000000000000000000
0110000000111100000000000000000000 0110000000011110000000000000000000
0110000000001111000000000000000000 0110000000000111100000000000000000
0110000000000011110000000000000000 0000000000000001111000000000000000
0000000000000000111100000000000110 0000000000000000011110000000000110
0000000000000000001111000000000110 0000000000000000000111100000000110
0000000000000000000011110000000110 0000000000000000000001111000000110
0000000000000000000000111100000110 0000000000000000000000011110000110
0000000000000000000000001111000110 0000000000000000000000000111100110
0000000000000000000000000011110110 0000000000000000000000000001111110
0000000000000000000000000001111110 0000000000000000011111111111111110
0000000000000000011111111111111110 0000000000000000000000000000000000
</glyph-data></private-char>
<private-char name="NORTHWEST SOUTHEAST ARROW" description="Arrow,
normal weight, single line, two-headed, Northwest to Southeast">
<glyph-ref glyph-data="NWSEArr"/></private-char>
</p>