summaryrefslogtreecommitdiff
path: root/otfl-font-otc.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-03-02 20:10:46 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-03-02 20:57:11 +0200
commit654f5f46c8c7bc43b73ce46035f3f6c1d5e9bbe5 (patch)
tree3df613c3e05ca044d521bfc872f0d28028cb15f8 /otfl-font-otc.lua
parenta0e1a5594231d9f3789c51f04fdfb24680ca2516 (diff)
downloadluaotfload-654f5f46c8c7bc43b73ce46035f3f6c1d5e9bbe5.tar.gz
Sync with ConTeXt 2011.02.25 22:03
This commit overrides all our local modification to ConTeXt file and is not tested at all.
Diffstat (limited to 'otfl-font-otc.lua')
-rw-r--r--otfl-font-otc.lua24
1 files changed, 10 insertions, 14 deletions
diff --git a/otfl-font-otc.lua b/otfl-font-otc.lua
index cc7f0ab..93b942f 100644
--- a/otfl-font-otc.lua
+++ b/otfl-font-otc.lua
@@ -16,7 +16,7 @@ local trace_loading = false trackers.register("otf.loading", function(v) trace_
local fonts = fonts
local otf = fonts.otf
-local report_otf = logs.new("load otf")
+local report_otf = logs.reporter("fonts","otf loading")
-- instead of "script = "DFLT", langs = { 'dflt' }" we now use wildcards (we used to
-- have always); some day we can write a "force always when true" trick for other
@@ -35,22 +35,18 @@ local extra_lists = {
{
endash = "hyphen hyphen",
emdash = "hyphen hyphen hyphen",
- quotedblleft = "quoteleft quoteleft",
- quotedblright = "quoteright quoteright",
- quotedblleft = "grave grave",
- quotedblright = "quotesingle quotesingle",
- quotedblbase = "comma comma",
- exclamdown = "exclam grave",
- questiondown = "question grave",
- guillemotleft = "less less",
- guillemotright= "greater greater",
+ -- quotedblleft = "quoteleft quoteleft",
+ -- quotedblright = "quoteright quoteright",
+ -- quotedblleft = "grave grave",
+ -- quotedblright = "quotesingle quotesingle",
+ -- quotedblbase = "comma comma",
},
},
trep = {
{
- [0x0022] = 0x201D,
+ -- [0x0022] = 0x201D,
[0x0027] = 0x2019,
- [0x0060] = 0x2018,
+ -- [0x0060] = 0x2018,
},
},
anum = {
@@ -102,14 +98,14 @@ local extra_features = { -- maybe just 1..n so that we prescribe order
},
anum = {
{
- features = { arab = { FAR = true, dflt = true } },
+ features = { arab = { URD = true, dflt = true } },
name = "ctx_anum_1",
subtables = { "ctx_anum_1_s" },
type = "gsub_single",
flags = { },
},
{
- features = { arab = { FAR = true } },
+ features = { arab = { URD = true } },
name = "ctx_anum_2",
subtables = { "ctx_anum_2_s" },
type = "gsub_single",