diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-04-19 22:49:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-04-19 22:49:00 +0200 |
commit | 2a7dc895b9ca40a38cc4bdb36be94f59bdbe5e4f (patch) | |
tree | d3fd1915eb03161d81a6c3cbcb2970c921b25a3f /tex/generic | |
parent | 690c595285ba89968a8af887cf2a074ebc943402 (diff) | |
download | context-2a7dc895b9ca40a38cc4bdb36be94f59bdbe5e4f.tar.gz |
beta 2011.04.19 22:49
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex-fonts-merged.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua index 82e90df27..17f136b29 100644 --- a/tex/generic/context/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 04/19/11 16:38:06 +-- merge date : 04/19/11 22:49:01 do -- begin closure to overcome local limits and interference @@ -2352,6 +2352,12 @@ local function readnumber(f,n,m) elseif n == 12 then local a, b, c = readnumber(f,4), readnumber(f,4), readnumber(f,4) return 256*256 * a + 256 * b + c + elseif n == -2 then + local b, a = byte(f:read(2),1,2) + return 256*a + b + elseif n == -4 then + local d, c, b, a = byte(f:read(4),1,4) + return 256*256*256 * a + 256*256 * b + 256*c + d else return 0 end |