[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Normalize tests (1d86a3e)
Marcel Fabian Krüger
tex at 2krueger.de
Sat Dec 21 22:35:40 CET 2019
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/1d86a3e5f6d41f36f9bb8dec7c0743dd3f5cff3d
>---------------------------------------------------------------
commit 1d86a3e5f6d41f36f9bb8dec7c0743dd3f5cff3d
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sat Dec 21 22:35:40 2019 +0100
Normalize tests
>---------------------------------------------------------------
1d86a3e5f6d41f36f9bb8dec7c0743dd3f5cff3d
testfiles-harf/fallback.lvt | 5 ++--
testfiles-harf/fallback.tlg | 61 ++++++++++++++++++++++-----------------------
2 files changed, 32 insertions(+), 34 deletions(-)
diff --git a/testfiles-harf/fallback.lvt b/testfiles-harf/fallback.lvt
index e021982..d5cf813 100644
--- a/testfiles-harf/fallback.lvt
+++ b/testfiles-harf/fallback.lvt
@@ -8,7 +8,7 @@
assert(desc == "Harf glyph_info callback" and nil == next(cbs, 1))
local cb = luatexbase.remove_from_callback('glyph_info', desc)
luatexbase.add_to_callback('glyph_info', function(n)
- return string.format('"\csstring\%s" \csstring\%04X \csstring\%+i:\csstring\%+i\string\t\csstring\%s', cb(n), n.char, n.xoffset, n.yoffset, font.getfont(n.font).specification.specification)
+ return string.format('"\csstring\%s" \csstring\%04X \csstring\%+i:\csstring\%+i\string\t\csstring\%s', cb(n), n.char, n.xoffset, n.yoffset, font.getfont(n.font).specification.specification:gsub(";fallback=\csstring\%d+",";fallback=..."))
end, 'Harf glyph_info callback -- testing variant')
}
@@ -18,9 +18,8 @@
\begin{document}
\showoutput
+\font\fonts"Noto Serif:mode=harf,multiscript=auto,fallback=myfallback" \fonts
\START
-\font\fonts"Noto Serif:mode=harf,multiscript=auto,fallback=myfallback"
-\fonts
᚛ᚓᚅᚐᚁᚐᚏᚏ᚜ རྐྱກົ້ฐูà́̂̃कि Text 😺 emoji
\newpage
diff --git a/testfiles-harf/fallback.tlg b/testfiles-harf/fallback.tlg
index d0f2521..20dbd6d 100644
--- a/testfiles-harf/fallback.tlg
+++ b/testfiles-harf/fallback.tlg
@@ -1,6 +1,5 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-luaotfload | cache : Lookup cache loaded from /home/marcel/.texlive2019/texmf-var/luatex-cache/generic-dev/names/luaotfload-lookup-cache.luc.
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0, direction TLT
.\glue 16.0
@@ -20,46 +19,46 @@ Completed box being shipped out [1]
.....\localleftbox=null
.....\localrightbox=null
....\hbox(0.0+0.0)x15.0, direction TLT
-....\FONT35 "᚛" 169B +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚓ" 1693 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚅ" 1685 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚐ" 1690 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚁ" 1681 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚐ" 1690 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚏ" 168F +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "ᚏ" 168F +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
-....\FONT35 "᚜" 169C +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=20
+....\FONT35 "᚛" 169B +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚓ" 1693 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚅ" 1685 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚐ" 1690 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚁ" 1681 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚐ" 1690 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚏ" 168F +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "ᚏ" 168F +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
+....\FONT35 "᚜" 169C +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=ogam;-multiscript;fallback=...
....\glue(\spaceskip) 2.6 plus 1.3 minus 0.86667
-....\FONT37 "" F0314 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=11 (ligature "ར" 0F62 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=11"ྐ" 0F90 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=11"ྱ" 0FB1 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=11)
-....\FONT38 "ກ" 0E81 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=18
-....\FONT38 "ົ" 0EBB +0:-2880^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=18
-....\FONT38 "້" 0EC9 +0:-6080^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=18
-....\FONT39 "ฐ" 120000 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=thai;-multiscript;fallback=10
+....\FONT37 "" F0314 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=... (ligature "ར" 0F62 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=..."ྐ" 0F90 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=..."ྱ" 0FB1 +0:+0^^INoto Serif Tibetan:mode=node;-fallback;script=tibt;-multiscript;fallback=...)
+....\FONT38 "ກ" 0E81 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=...
+....\FONT38 "ົ" 0EBB +0:-2880^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=...
+....\FONT38 "້" 0EC9 +0:-6080^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=lao;-multiscript;fallback=...
+....\FONT39 "ฐ" 120000 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=thai;-multiscript;fallback=...
....\pdfliteral page <lua data reference ...>
-....\FONT39 "ู" 120000 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=thai;-multiscript;fallback=10
+....\FONT39 "ู" 120000 +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=thai;-multiscript;fallback=...
....\pdfliteral page <lua data reference ...>
-....\FONT43 "à" 00E0 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "́" 0301 -23593:+150733^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "̂" 0302 +5898:+301466^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "̃" 0303 +24248:+452198^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
+....\FONT43 "à" 00E0 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "́" 0301 -23593:+150733^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "̂" 0302 +5898:+301466^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "̃" 0303 +24248:+452198^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
....\pdfliteral page <lua data reference ...>
-....\FONT44 "कि" F311 +0:+0^^ISiddhanta:mode=harf;-fallback;script=deva;-multiscript;fallback=12
-....\FONT44 "" 0915 +0:+0^^ISiddhanta:mode=harf;-fallback;script=deva;-multiscript;fallback=12
+....\FONT44 "कि" F311 +0:+0^^ISiddhanta:mode=harf;-fallback;script=deva;-multiscript;fallback=...
+....\FONT44 "" 0915 +0:+0^^ISiddhanta:mode=harf;-fallback;script=deva;-multiscript;fallback=...
....\pdfliteral page <lua data reference ...>
....\glue(\spaceskip) 2.6 plus 1.3 minus 0.86667
-....\FONT43 "T" 0054 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
+....\FONT43 "T" 0054 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
....\kern-0.5 (font)
-....\FONT43 "e" 0065 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "x" 0078 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "t" 0074 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
+....\FONT43 "e" 0065 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "x" 0078 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "t" 0074 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
....\glue(\spaceskip) 2.6 plus 1.3 minus 0.86667
....\FONT42 "😺" 1F63A +0:+0^^I[DejaVuSans.ttf]:mode=harf;-fallback;script=latn;-multiscript;-fallback
....\glue(\spaceskip) 2.6 plus 1.3 minus 0.86667
-....\FONT43 "e" 0065 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "m" 006D +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "o" 006F +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "j" 006A +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
-....\FONT43 "i" 0069 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=22
+....\FONT43 "e" 0065 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "m" 006D +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "o" 006F +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "j" 006A +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
+....\FONT43 "i" 0069 +0:+0^^INoto Serif:mode=harf,multiscript=auto,fallback=myfallback;script=latn;-multiscript;fallback=...
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
More information about the latex3-commits
mailing list