diff options
Diffstat (limited to 'tex/context/base/font-otr.lua')
-rw-r--r-- | tex/context/base/font-otr.lua | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tex/context/base/font-otr.lua b/tex/context/base/font-otr.lua index 1de255eba..7e5cf56f1 100644 --- a/tex/context/base/font-otr.lua +++ b/tex/context/base/font-otr.lua @@ -828,30 +828,30 @@ readers["os/2"] = function(f,fontdata) local version = readushort(f) local windowsmetrics = { version = version, - averagewidth = readushort(f), + averagewidth = readshort(f), weightclass = readushort(f), widthclass = readushort(f), fstype = readushort(f), - subscriptxsize = readushort(f), - subscriptysize = readushort(f), - subscriptxoffset = readushort(f), - subscriptyoffset = readushort(f), - superscriptxsize = readushort(f), - superscriptysize = readushort(f), - superscriptxoffset = readushort(f), - superscriptyoffset = readushort(f), - strikeoutsize = readushort(f), - strikeoutpos = readushort(f), - familyclass = readushort(f), + subscriptxsize = readshort(f), + subscriptysize = readshort(f), + subscriptxoffset = readshort(f), + subscriptyoffset = readshort(f), + superscriptxsize = readshort(f), + superscriptysize = readshort(f), + superscriptxoffset = readshort(f), + superscriptyoffset = readshort(f), + strikeoutsize = readshort(f), + strikeoutpos = readshort(f), + familyclass = readshort(f), panose = { readbytes(f,10) }, unicoderanges = { readulong(f), readulong(f), readulong(f), readulong(f) }, vendor = readstring(f,4), fsselection = readushort(f), firstcharindex = readushort(f), lastcharindex = readushort(f), - typoascender = readushort(f), - typodescender = readushort(f), - typolinegap = readushort(f), + typoascender = readshort(f), + typodescender = readshort(f), + typolinegap = readshort(f), winascent = readushort(f), windescent = readushort(f), } |