From 654f5f46c8c7bc43b73ce46035f3f6c1d5e9bbe5 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 2 Mar 2011 20:10:46 +0200 Subject: Sync with ConTeXt 2011.02.25 22:03 This commit overrides all our local modification to ConTeXt file and is not tested at all. --- otfl-font-otc.lua | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'otfl-font-otc.lua') 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", -- cgit v1.2.3