diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-05 23:11:09 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-05 23:11:09 +0100 |
commit | 265ba2a85e0945a37972e22f23bcaac16d6c08a1 (patch) | |
tree | 356963c1df5c5ed8a6189eeb3346970081a29af4 /tex/context/base/mkiv/font-dsp.lua | |
parent | 08fa92c1c94d9faddee48590a1a20506e89c191c (diff) | |
download | context-265ba2a85e0945a37972e22f23bcaac16d6c08a1.tar.gz |
2022-12-05 18:51:00
Diffstat (limited to 'tex/context/base/mkiv/font-dsp.lua')
-rw-r--r-- | tex/context/base/mkiv/font-dsp.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/font-dsp.lua b/tex/context/base/mkiv/font-dsp.lua index 80e623929..6ed0c04d1 100644 --- a/tex/context/base/mkiv/font-dsp.lua +++ b/tex/context/base/mkiv/font-dsp.lua @@ -234,6 +234,24 @@ local read_integer = { streamreader.readinteger4, } +directives.register("fonts.streamreader",function() + + read_cardinal = { + streamreader.readcardinal1, + streamreader.readcardinal2, + streamreader.readcardinal3, + streamreader.readcardinal4, + } + + read_integer = { + streamreader.readinteger1, + streamreader.readinteger2, + streamreader.readinteger3, + streamreader.readinteger4, + } + +end) + -- Traditionally we use these unique names (so that we can flatten the lookup list -- (we create subsets runtime) but I will adapt the old code to newer names. |