summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-map.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-13 16:15:06 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-13 16:15:06 +0100
commiteb827e1f7e0b7c69fb4f5ac106be63e346f06de5 (patch)
tree6096ea095185477f83f4c53aefe7fc471c68a7bf /tex/context/base/mkiv/font-map.lua
parentc813b4d16dd51bd181736729517ad422980e3fc6 (diff)
downloadcontext-eb827e1f7e0b7c69fb4f5ac106be63e346f06de5.tar.gz
2016-01-13 15:12:00
Diffstat (limited to 'tex/context/base/mkiv/font-map.lua')
-rw-r--r--tex/context/base/mkiv/font-map.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/font-map.lua b/tex/context/base/mkiv/font-map.lua
index dc3f499ab..78e5435a5 100644
--- a/tex/context/base/mkiv/font-map.lua
+++ b/tex/context/base/mkiv/font-map.lua
@@ -82,7 +82,7 @@ local f_double = formatters["%04X%04X"]
-- local s
-- if unicode < 0x10000 then
-- s = f_single(unicode)
--- elseif unicode < 0x1FFFFFFFFF then
+-- elseif unicode < 0x1FFFFFFF then
-- s = f_double(floor(unicode/1024),unicode%1024+0xDC00)
-- else
-- s = false
@@ -142,7 +142,7 @@ local f_double = formatters["%04X%04X"]
local function tounicode16(unicode,name)
if unicode < 0x10000 then
return f_single(unicode)
- elseif unicode < 0x1FFFFFFFFF then
+ elseif unicode < 0x1FFFFFFFF then
return f_double(floor(unicode/1024),unicode%1024+0xDC00)
else
report_fonts("can't convert %a in %a into tounicode",unicode,name)
@@ -155,7 +155,7 @@ local function tounicode16sequence(unicodes,name)
local u = unicodes[l]
if u < 0x10000 then
t[l] = f_single(u)
- elseif unicode < 0x1FFFFFFFFF then
+ elseif unicode < 0x1FFFFFFFF then
t[l] = f_double(floor(u/1024),u%1024+0xDC00)
else
report_fonts ("can't convert %a in %a into tounicode",u,name)
@@ -172,7 +172,7 @@ local function tounicode(unicode,name)
local u = unicode[l]
if u < 0x10000 then
t[l] = f_single(u)
- elseif u < 0x1FFFFFFFFF then
+ elseif u < 0x1FFFFFFFF then
t[l] = f_double(floor(u/1024),u%1024+0xDC00)
else
report_fonts ("can't convert %a in %a into tounicode",u,name)
@@ -183,7 +183,7 @@ local function tounicode(unicode,name)
else
if unicode < 0x10000 then
return f_single(unicode)
- elseif unicode < 0x1FFFFFFFFF then
+ elseif unicode < 0x1FFFFFFFF then
return f_double(floor(unicode/1024),unicode%1024+0xDC00)
else
report_fonts("can't convert %a in %a into tounicode",unicode,name)