diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-06-19 12:25:31 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-06-19 12:25:31 +0200 |
commit | 63bb70d210dc6e8a17959c4e056fe41da3f1c398 (patch) | |
tree | eec8ab8eea553b8c5beea443624d725bb8d4f07e /doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex | |
parent | f46fe99c7c361a66c68987b22d235fe9f793fad6 (diff) | |
download | context-63bb70d210dc6e8a17959c4e056fe41da3f1c398.tar.gz |
2020-06-19 11:07:00
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex b/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex index bff3191d1..c88e9faff 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-fonts.tex @@ -605,13 +605,19 @@ font.current(<number> i) \stopsubsection -% \startsubsection[title={Glyph data: \lpr {glyphdata}] -% -% This primitive can be used to set an additional glyph property. Of course it's very -% macro package dependant what is done with that. Consider it an experiment (we had -% some room left in the glyphs data structure). It's basically an single attribute. -% -% \stopsubsection +\startsubsection[title={Glyph data: \lpr {glyphdata}, \lpr {glyphscript}, \lpr {glyphstate}}] + +These primitives can be used to set an additional glyph properties. Of course +it's very macro package dependant what is done with that. It started with just +the first one as experiment, simply because we had some room left in the glyph +data structure. It's basically an single attribute. Then, when we got rid of the +ligature pointer we could either drop it or use that extra field for some more, +and because \CONTEXT\ already used the data field, that is what happened. The +script and state fields are shorts, that is, they run from zero to \type {0xFFFF} +where we assume that zero means \quote {unset}. Although they can be used for +whatever purpose their use in \CONTEXT\ is fixed. + +\stopsubsection \stopsection |