summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/libertinus-math.lfg
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-10-24 22:24:55 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-10-24 22:24:55 +0200
commita23982bf3c6cc3c7e34c89a67004e2ef4c6103eb (patch)
treec555edf1938a2779764b257555e52364272f94bc /tex/context/fonts/mkiv/libertinus-math.lfg
parent29a395d2b545159c97df693e59187ce61218233c (diff)
downloadcontext-a23982bf3c6cc3c7e34c89a67004e2ef4c6103eb.tar.gz
2021-10-24 21:44:00
Diffstat (limited to 'tex/context/fonts/mkiv/libertinus-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/libertinus-math.lfg23
1 files changed, 19 insertions, 4 deletions
diff --git a/tex/context/fonts/mkiv/libertinus-math.lfg b/tex/context/fonts/mkiv/libertinus-math.lfg
index 24f58eb48..b6621b946 100644
--- a/tex/context/fonts/mkiv/libertinus-math.lfg
+++ b/tex/context/fonts/mkiv/libertinus-math.lfg
@@ -25,9 +25,8 @@ return {
[8246] = 983072,
[8247] = 983073,
}
- local characters = target.characters
- local descriptions = target.descriptions
- local unicodes = original.resources.unicodes
+ local characters = target.characters
+ local unicodes = original.resources.unicodes
if unicodes["minute.ssty1"] == okay then
for old, new in next, crap do
if type(old) == "string" then
@@ -40,10 +39,26 @@ return {
local c = characters[new]
if c then
characters[old] = c
- c.commands = { { "up", .1 * c.height }, { "slot", 0, new, .7 } }
+ c.commands = { { "up", .06 * c.height }, { "slot", 0, new, .7 } }
end
end
end
+ local four = characters[0x2057]
+ if four then
+ local one = characters[okay]
+ local owd = .75*one.width
+ local off = .6*one.height
+ four.width = 4*owd
+ four.commands = {
+ { "offset", 0, off, okay },
+ { "offset", owd, off, okay },
+ { "offset", 2*owd, off, okay },
+ { "offset", 3*owd, off, okay },
+ }
+ else
+ -- we don't add (but we could), just patch, and there's no
+ -- reverse quad either
+ end
else
logs.report("fonts","the libertinus tweaks need to be checked")
end