summaryrefslogtreecommitdiff
path: root/tex/context/base/font-con.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-05-13 00:04:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-05-13 00:04:00 +0200
commitcc9b25a18fb0fb992f1c86b192e47ba4296e770a (patch)
treedea27cef753a4de155bbb5c56ee00aeb57e17635 /tex/context/base/font-con.lua
parentc9aa90b46d3adfff6a0522c4f9ff2a76d296d08e (diff)
downloadcontext-cc9b25a18fb0fb992f1c86b192e47ba4296e770a.tar.gz
beta 2014.05.13 00:04
Diffstat (limited to 'tex/context/base/font-con.lua')
-rw-r--r--tex/context/base/font-con.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/font-con.lua b/tex/context/base/font-con.lua
index a34044f0b..aca705523 100644
--- a/tex/context/base/font-con.lua
+++ b/tex/context/base/font-con.lua
@@ -599,7 +599,7 @@ function constructors.scale(tfmdata,specification)
-- basemode hack (we try to catch missing tounicodes, e.g. needed for ssty in math cambria)
local c = changed[unicode]
if c then
-local ligatures = character.ligatures
+ local ligatures = character.ligatures -- the original ligatures (as we cannot rely on remapping)
description = descriptions[c] or descriptions[unicode] or character
character = characters[c] or character
index = description.index or c
@@ -611,9 +611,9 @@ local ligatures = character.ligatures
touni = tounicode[i] -- nb: index!
end
end
-if ligatures and not character.ligatures then
- character.ligatures = ligatures
-end
+ if ligatures and not character.ligatures then
+ character.ligatures = ligatures -- the original targets (for now at least.. see libertine smallcaps)
+ end
else
description = descriptions[unicode] or character
index = description.index or unicode