summaryrefslogtreecommitdiff
path: root/tests/pln-aux-2.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-01-02 21:28:37 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-01-02 21:28:37 +0100
commit23b4da05696ec0c3a4c48083209ae37facd09acc (patch)
tree5fe46b0161e7844047a6861a55be39d06ffe757e /tests/pln-aux-2.tex
parent9e2424f29eb2e54968026f4c847bf57c64f59ed6 (diff)
downloadluaotfload-23b4da05696ec0c3a4c48083209ae37facd09acc.tar.gz
[*] remove tests directory
Testing has been done using the test repo exclusively for quite some time now: https://bitbucket.org/phg/lua-la-tex-tests. Also, the ``mktests`` script partially automates testing of the font management. This changeset is just codifying the facts. If any of the tests deserves preservation please file an issue for inclusion into the test repo. Thanks!
Diffstat (limited to 'tests/pln-aux-2.tex')
-rw-r--r--tests/pln-aux-2.tex102
1 files changed, 0 insertions, 102 deletions
diff --git a/tests/pln-aux-2.tex b/tests/pln-aux-2.tex
deleted file mode 100644
index 62192a5..0000000
--- a/tests/pln-aux-2.tex
+++ /dev/null
@@ -1,102 +0,0 @@
-\input luaotfload.sty
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% script, features, and language
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\font\minionregular=file:MinionPro_Regular.otf at 9pt
-\font\biolinum=file:LinBiolinum_R.otf at 9pt
-\font\cmuregular=file:cmunrm.otf at 9pt
-
-%% (1) luaotfload.aux.provides_script(font_id, script)
-%% #1 defined font; #2 OT script tag
-\def\providesscript[#1][#2]{%
- \bgroup#1%
- let’s see whether \detokenize{#1} has script #2:
- \directlua{
- local aux = luaotfload.aux
- local succ = aux.provides_script(font.current(), [[#2]])
- if succ then tex.sprint"true" else tex.sprint"false" end
- }%
- \egroup
- \endgraf%
-}
-
-\providesscript [\minionregular][latn]%% Latin
-\providesscript [\biolinum][latn]
-\providesscript [\cmuregular][latn]
-\providesscript [\minionregular][cyrl]%% Cyrillic
-\providesscript [\biolinum][cyrl]
-\providesscript [\cmuregular][cyrl]
-\providesscript [\minionregular][tibt]%% Tibetan
-\providesscript [\biolinum][tibt]
-\providesscript [\cmuregular][tibt]
-
-\hrule % --------------------------------------------------------------
-
-%% (2) luaotfload.aux.provides_language(font_id, script, language)
-%% #1 defined font; #2 OT script tag; #3 OT language tag
-\def\provideslanguage[#1][#2][#3]{%
- \bgroup#1%
- let’s see whether \detokenize{#1} supports language #3 for script #2:
- \directlua{
- local aux = luaotfload.aux
- local succ = aux.provides_language(font.current(), [[#2]], [[#3]])
- if succ then tex.sprint"true" else tex.sprint"false" end
- }%
- \egroup
- \endgraf%
-}
-
-\provideslanguage [\minionregular][latn][nld]%% Latin/Dutch
-\provideslanguage [\biolinum][latn][nld]
-\provideslanguage [\cmuregular][latn][nld]
-\provideslanguage [\minionregular][latn][deu]%% Latin/German
-\provideslanguage [\biolinum][latn][deu]
-\provideslanguage [\cmuregular][latn][deu]
-\provideslanguage [\minionregular][cyrl][rus]%% Cyrillic/Russian
-\provideslanguage [\biolinum][cyrl][rus]
-\provideslanguage [\cmuregular][cyrl][rus]
-\provideslanguage [\minionregular][cyrl][klm]%% Cyrillic/Kalmyk
-\provideslanguage [\biolinum][cyrl][klm]
-\provideslanguage [\cmuregular][cyrl][klm]
-\provideslanguage [\minionregular][cyrl][srb]%% Cyrillic/Serbian
-\provideslanguage [\biolinum][cyrl][srb]
-\provideslanguage [\cmuregular][cyrl][srb]
-\provideslanguage [\minionregular][tibt][tib]%% Tibetan
-\provideslanguage [\biolinum][tibt][tib]
-\provideslanguage [\cmuregular][tibt][tib]
-
-\hrule % --------------------------------------------------------------
-
-%% (3) luaotfload.aux.provides_feature(
-%% font_id, script, language, feature)
-%% #1 defined font; #2 OT script tag;
-%% #3 OT language tag; #4 OT feature
-\def\providesfeature[#1][#2][#3][#4]{%this is getting ridiculous
- \bgroup#1%
- let’s see whether \detokenize{#1} supports feature #4 for the
- combination of script #2 with language #3:
- \directlua{
- local aux = luaotfload.aux
- local succ = aux.provides_feature(
- font.current(), [[#2]], [[#3]], [[#4]])
- if succ then tex.sprint"true" else tex.sprint"false" end
- }%
- \egroup
- \endgraf%
-}
-
-\providesfeature [\minionregular][latn][nld][liga]%% Latin/Dutch
-\providesfeature [\biolinum][latn][nld][liga]
-\providesfeature [\cmuregular][latn][nld][liga]
-\providesfeature [\minionregular][latn][deu][liga]%% Latin/German
-\providesfeature [\biolinum][latn][deu][liga]
-\providesfeature [\cmuregular][latn][deu][liga]
-\providesfeature [\minionregular][cyrl][srb][liga]%% Cyrillic/Serbian
-\providesfeature [\biolinum][cyrl][srb][liga]
-\providesfeature [\cmuregular][cyrl][srb][liga]
-\providesfeature [\minionregular][tibt][tib][liga]%% Tibetan
-\providesfeature [\biolinum][tibt][tib][liga]
-\providesfeature [\cmuregular][tibt][tib][liga]
-
-\bye