diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-11-30 20:31:49 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-11-30 20:31:49 +0100 |
commit | 273b29a84706a7cefb56963300a7f54f3ffe147f (patch) | |
tree | a947c63080fcdc7a042dfd6ca4f667fff609e6fc /tex/generic | |
parent | 7ecbcaaf68d152851591dbb5931a6eb15d155019 (diff) | |
download | context-273b29a84706a7cefb56963300a7f54f3ffe147f.tar.gz |
2019-11-29 21:57:00
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 1a11fc13b..47ee5769c 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : c:/data/develop/context/sources/luatex-fonts-merged.lua -- parent file : c:/data/develop/context/sources/luatex-fonts.lua --- merge date : 11/25/19 17:28:15 +-- merge date : 11/29/19 21:47:35 do -- begin closure to overcome local limits and interference @@ -8763,6 +8763,7 @@ constructors.cache=containers.define("fonts","constructors",constructors.version constructors.privateoffset=fonts.privateoffsets.textbase or 0xF0000 constructors.cacheintex=true constructors.addtounicode=true +constructors.fixprotrusion=true local designsizes=allocate() constructors.designsizes=designsizes local loadedfonts=allocate() @@ -9155,7 +9156,7 @@ function constructors.scale(tfmdata,specification) targetparameters.descender=delta*descender end constructors.enhanceparameters(targetparameters) - local protrusionfactor=(targetquad~=0 and 1000/targetquad) or 0 + local protrusionfactor=constructors.fixprotrusion and ((targetquad~=0 and 1000/targetquad) or 1) or 1 local scaledwidth=defaultwidth*hdelta local scaledheight=defaultheight*vdelta local scaleddepth=defaultdepth*vdelta |