diff options
Diffstat (limited to 'tex/context/base/font-tfm.lua')
-rw-r--r-- | tex/context/base/font-tfm.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tex/context/base/font-tfm.lua b/tex/context/base/font-tfm.lua index bee5bf085..d8a575021 100644 --- a/tex/context/base/font-tfm.lua +++ b/tex/context/base/font-tfm.lua @@ -750,3 +750,13 @@ function fonts.tfm.replacements(tfm,value) tfm.characters[0x0027] = tfm.characters[0x2019] tfm.characters[0x0060] = tfm.characters[0x2018] end + +-- auto complete font with missing composed characters + +table.insert(fonts.manipulators,"compose") + +function fonts.initializers.common.compose(tfmdata,value) + if value then + fonts.vf.aux.compose_characters(tfmdata) + end +end |