From 2e59059d0a2e74c55fad59847679f2c61e72f476 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 20 Oct 2012 10:42:53 +0200 Subject: fix redundancy in test alternate_sub --- tests/alternate_sub.tex | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/alternate_sub.tex b/tests/alternate_sub.tex index e646ddb..862c665 100644 --- a/tests/alternate_sub.tex +++ b/tests/alternate_sub.tex @@ -13,4 +13,3 @@ \1 \char"06DD \2 \char"06DD \bye -\bye -- cgit v1.2.3 From 8d1a301641504e6d7ff4194e01ab89bafba06486 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Fri, 19 Apr 2013 21:03:49 +0200 Subject: Making test files independent from ConTeXt files --- tests/color.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/color.tex b/tests/color.tex index 1be8896..188889c 100644 --- a/tests/color.tex +++ b/tests/color.tex @@ -4,7 +4,7 @@ \font\testb=file:lmroman10-regular.otf:color=FFFF0099;+trep at 10pt \font\testc=file:lmroman10-regular.otf:color=559922;+trep at 12pt -\testa \input knuth \par -\testb \input knuth \par -\testc \input knuth \par +\testa FF0000BB \par +\testb FFFF0099 \par +\testc 559922 \par \bye -- cgit v1.2.3 From 5c273b8ac66cacbd8e68a272b0317bac442e1958 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Fri, 19 Apr 2013 21:06:48 +0200 Subject: More tests independent from ConTeXt files --- tests/microtypography.tex | 31 +++++++++++++++++++++++++++++-- tests/opbd.tex | 30 ++++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/microtypography.tex b/tests/microtypography.tex index 7d032e3..f2d461d 100644 --- a/tests/microtypography.tex +++ b/tests/microtypography.tex @@ -4,6 +4,33 @@ \font\testa=file:texgyretermes-regular:script=latn at 12pt \font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt -\testa \input tufte \par -\testb \input tufte \par + +\testa We thrive in information||thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\testb We thrive in information||thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + \bye diff --git a/tests/opbd.tex b/tests/opbd.tex index 50c4dfd..3d26662 100644 --- a/tests/opbd.tex +++ b/tests/opbd.tex @@ -4,6 +4,32 @@ \font\testa=file:texgyrepagella-regular:script=latn at 12pt \font\testb=file:texgyrepagella-regular:mode=node;script=latn;protrusion=yes;featurefile=opbd.fea;+opbd at 12pt -\testa \input tufte \par -\testb \input tufte \par + +\testa We thrive in information||thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\testb We thrive in information||thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par \bye -- cgit v1.2.3 From 0736fb6f4a24ed1f645e2c197170ce211c562a84 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:42:51 +0200 Subject: New version of marks test, nothing new --- tests/marks.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/marks.tex b/tests/marks.tex index d33c82a..3af264e 100644 --- a/tests/marks.tex +++ b/tests/marks.tex @@ -1,6 +1,9 @@ \input luaotfload.sty \font\test={file:GenBasR.ttf:script=latn} +\test ä\quad Ä + \test a\char"0308 \quad A\char"0308 \quad j\char"0323 + \bye -- cgit v1.2.3 From 11634a490e4a39e7ae066a6701fd367bddd874d7 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:43:26 +0200 Subject: Adding fontspec test file --- tests/fontspec_lookup.ltx | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/fontspec_lookup.ltx (limited to 'tests') diff --git a/tests/fontspec_lookup.ltx b/tests/fontspec_lookup.ltx new file mode 100644 index 0000000..6645427 --- /dev/null +++ b/tests/fontspec_lookup.ltx @@ -0,0 +1,41 @@ +\documentclass[a5paper,12pt]{scrartcl} +\usepackage{fontspec} +%% -------------------------------------------------------------------- +%% weirdness ahead +%% -------------------------------------------------------------------- +\setmainfont + [Numbers=Lining, + BoldFont={TeX Gyre Pagella Bold}, + BoldItalicFont={TeX Gyre Termes BoldItalic}] + {EB Garamond} +%% -------------------------------------------------------------------- + +%% -------------------------------------------------------------------- +%% excerpt from samples/knuth.tex +%% -------------------------------------------------------------------- +\def\knuth{% + Thus, I came to the conclusion that the designer of a new + system must not only be the implementer and first + large--scale user; the designer should also write the first + user manual. + + The separation of any of these four components would have + hurt \TeX\ significantly. If I had not participated fully in + all these activities, literally hundreds of improvements + would never have been made, because I would never have + thought of them or perceived why they were important. + +} + +%% -------------------------------------------------------------------- +%% main +%% -------------------------------------------------------------------- +\begin{document} + + \section{regular} {\rmfamily\upshape\knuth} + \section{bold face} {\rmfamily\bfseries\knuth} + \section{italic} {\rmfamily\itshape\knuth} + \section{slanted} {\rmfamily\slshape\knuth} + \section{bold italic} {\rmfamily\bfseries\itshape\knuth} + +\end{document} -- cgit v1.2.3 From c07fee9600a52d1990868b6e900a1397a1aebafe Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:44:50 +0200 Subject: Fixing outdated math test --- tests/math.tex | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/math.tex b/tests/math.tex index 55bb2aa..a2615f1 100644 --- a/tests/math.tex +++ b/tests/math.tex @@ -35,7 +35,6 @@ $$ $$ \Umathaccent "0 "4 "23DE {a+b} -+ \Umathbotaccent "0 "4 "23DF {a+b} = C $$ $$ -- cgit v1.2.3 From ea1bf4512a22082e3e6c712c4f0722be31452cf1 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:48:57 +0200 Subject: Oops --- tests/microtypography.tex | 4 ++-- tests/opbd.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/microtypography.tex b/tests/microtypography.tex index f2d461d..99deb5f 100644 --- a/tests/microtypography.tex +++ b/tests/microtypography.tex @@ -5,7 +5,7 @@ \font\testa=file:texgyretermes-regular:script=latn at 12pt \font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt -\testa We thrive in information||thick worlds because of our +\testa We thrive in information thick worlds because of our marvelous and everyday capacity to select, edit, single out, structure, highlight, group, pair, merge, harmonize, synthesize, focus, organize, condense, @@ -19,7 +19,7 @@ flip through, browse, glance into, leaf through, skim, refine, enumerate, glean, synopsize, winnow the wheat from the chaff and separate the sheep from the goats.\par -\testb We thrive in information||thick worlds because of our +\testb We thrive in information thick worlds because of our marvelous and everyday capacity to select, edit, single out, structure, highlight, group, pair, merge, harmonize, synthesize, focus, organize, condense, diff --git a/tests/opbd.tex b/tests/opbd.tex index 3d26662..1a838cd 100644 --- a/tests/opbd.tex +++ b/tests/opbd.tex @@ -5,7 +5,7 @@ \font\testa=file:texgyrepagella-regular:script=latn at 12pt \font\testb=file:texgyrepagella-regular:mode=node;script=latn;protrusion=yes;featurefile=opbd.fea;+opbd at 12pt -\testa We thrive in information||thick worlds because of our +\testa We thrive in information thick worlds because of our marvelous and everyday capacity to select, edit, single out, structure, highlight, group, pair, merge, harmonize, synthesize, focus, organize, condense, @@ -19,7 +19,7 @@ flip through, browse, glance into, leaf through, skim, refine, enumerate, glean, synopsize, winnow the wheat from the chaff and separate the sheep from the goats.\par -\testb We thrive in information||thick worlds because of our +\testb We thrive in information thick worlds because of our marvelous and everyday capacity to select, edit, single out, structure, highlight, group, pair, merge, harmonize, synthesize, focus, organize, condense, -- cgit v1.2.3 From 90cbb697883ead85063e26fc33784e0f366a262f Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:51:14 +0200 Subject: Renaming microtypography (.tex -> .ltx) --- tests/microtypography.ltx | 36 ++++++++++++++++++++++++++++++++++++ tests/microtypography.tex | 36 ------------------------------------ 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 tests/microtypography.ltx delete mode 100644 tests/microtypography.tex (limited to 'tests') diff --git a/tests/microtypography.ltx b/tests/microtypography.ltx new file mode 100644 index 0000000..99deb5f --- /dev/null +++ b/tests/microtypography.ltx @@ -0,0 +1,36 @@ +\input luaotfload.sty + +\pdfprotrudechars2 \pdfadjustspacing2 + +\font\testa=file:texgyretermes-regular:script=latn at 12pt +\font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt + +\testa We thrive in information thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\testb We thrive in information thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\bye diff --git a/tests/microtypography.tex b/tests/microtypography.tex deleted file mode 100644 index 99deb5f..0000000 --- a/tests/microtypography.tex +++ /dev/null @@ -1,36 +0,0 @@ -\input luaotfload.sty - -\pdfprotrudechars2 \pdfadjustspacing2 - -\font\testa=file:texgyretermes-regular:script=latn at 12pt -\font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt - -\testa We thrive in information thick worlds because of our -marvelous and everyday capacity to select, edit, -single out, structure, highlight, group, pair, merge, -harmonize, synthesize, focus, organize, condense, -reduce, boil down, choose, categorize, catalog, classify, -list, abstract, scan, look into, idealize, isolate, -discriminate, distinguish, screen, pigeonhole, pick over, -sort, integrate, blend, inspect, filter, lump, skip, -smooth, chunk, average, approximate, cluster, aggregate, -outline, summarize, itemize, review, dip into, -flip through, browse, glance into, leaf through, skim, -refine, enumerate, glean, synopsize, winnow the wheat -from the chaff and separate the sheep from the goats.\par - -\testb We thrive in information thick worlds because of our -marvelous and everyday capacity to select, edit, -single out, structure, highlight, group, pair, merge, -harmonize, synthesize, focus, organize, condense, -reduce, boil down, choose, categorize, catalog, classify, -list, abstract, scan, look into, idealize, isolate, -discriminate, distinguish, screen, pigeonhole, pick over, -sort, integrate, blend, inspect, filter, lump, skip, -smooth, chunk, average, approximate, cluster, aggregate, -outline, summarize, itemize, review, dip into, -flip through, browse, glance into, leaf through, skim, -refine, enumerate, glean, synopsize, winnow the wheat -from the chaff and separate the sheep from the goats.\par - -\bye -- cgit v1.2.3 From e49d16d82efc3327faa3143ce31a7bc2e9d09a93 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 17:52:57 +0200 Subject: Hmmm... --- tests/microtypography.ltx | 36 ------------------------------------ tests/microtypography.tex | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 tests/microtypography.ltx create mode 100644 tests/microtypography.tex (limited to 'tests') diff --git a/tests/microtypography.ltx b/tests/microtypography.ltx deleted file mode 100644 index 99deb5f..0000000 --- a/tests/microtypography.ltx +++ /dev/null @@ -1,36 +0,0 @@ -\input luaotfload.sty - -\pdfprotrudechars2 \pdfadjustspacing2 - -\font\testa=file:texgyretermes-regular:script=latn at 12pt -\font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt - -\testa We thrive in information thick worlds because of our -marvelous and everyday capacity to select, edit, -single out, structure, highlight, group, pair, merge, -harmonize, synthesize, focus, organize, condense, -reduce, boil down, choose, categorize, catalog, classify, -list, abstract, scan, look into, idealize, isolate, -discriminate, distinguish, screen, pigeonhole, pick over, -sort, integrate, blend, inspect, filter, lump, skip, -smooth, chunk, average, approximate, cluster, aggregate, -outline, summarize, itemize, review, dip into, -flip through, browse, glance into, leaf through, skim, -refine, enumerate, glean, synopsize, winnow the wheat -from the chaff and separate the sheep from the goats.\par - -\testb We thrive in information thick worlds because of our -marvelous and everyday capacity to select, edit, -single out, structure, highlight, group, pair, merge, -harmonize, synthesize, focus, organize, condense, -reduce, boil down, choose, categorize, catalog, classify, -list, abstract, scan, look into, idealize, isolate, -discriminate, distinguish, screen, pigeonhole, pick over, -sort, integrate, blend, inspect, filter, lump, skip, -smooth, chunk, average, approximate, cluster, aggregate, -outline, summarize, itemize, review, dip into, -flip through, browse, glance into, leaf through, skim, -refine, enumerate, glean, synopsize, winnow the wheat -from the chaff and separate the sheep from the goats.\par - -\bye diff --git a/tests/microtypography.tex b/tests/microtypography.tex new file mode 100644 index 0000000..99deb5f --- /dev/null +++ b/tests/microtypography.tex @@ -0,0 +1,36 @@ +\input luaotfload.sty + +\pdfprotrudechars2 \pdfadjustspacing2 + +\font\testa=file:texgyretermes-regular:script=latn at 12pt +\font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt + +\testa We thrive in information thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\testb We thrive in information thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats.\par + +\bye -- cgit v1.2.3 From 1828aabd4a79d6d31dfc93bb77a500c648b6ba3f Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 20 Apr 2013 18:16:18 +0200 Subject: Adding a test for quite uncommon otf features This is a font I actually use... --- tests/zero_width_marks_lig.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/zero_width_marks_lig.tex (limited to 'tests') diff --git a/tests/zero_width_marks_lig.tex b/tests/zero_width_marks_lig.tex new file mode 100644 index 0000000..9dbaac0 --- /dev/null +++ b/tests/zero_width_marks_lig.tex @@ -0,0 +1,13 @@ +\input luaotfload.sty + +% https://bugs.freedesktop.org/attachment.cgi?id=72363 +\font\testa=file:TestLig.ttf:script=tibt;+ccmp+abvs+blws+kern at 10pt + +\testa གཚོའི་ཁིའུ་ཨཱཿཀ + +% good result for the first part: +% https://bugs.freedesktop.org/attachment.cgi?id=72365 +% for the second part, the two circles shoud appear clearlybefore the last +% letter, not mixed with it + +\bye -- cgit v1.2.3 From 7f0665e076a4a80079b103335e9cd02bd88e4c37 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 21 Apr 2013 15:43:18 +0200 Subject: Adding a test with absolute path in file: specification --- tests/fullname.tex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/fullname.tex b/tests/fullname.tex index 0209c98..78cf4d0 100644 --- a/tests/fullname.tex +++ b/tests/fullname.tex @@ -3,7 +3,13 @@ \font\testa={LM Roman Slanted 10 Regular} at 10pt \font\testb={LM Roman 9 Italic} at 10pt \font\testc={TeX Gyre Termes Bold} at 25pt +% Also testing with absolute filename, please change the path according to your +% system +\font\testd=file:/usr/share/texmf/fonts/opentype/public/lm/lmmono10-italic.otf + \testa abcd ABCD\par \testb abcd ABCD\par \testc abcd ABCD\par +\testd abcd ABCD\par + \bye -- cgit v1.2.3 From 20e92df3bcad34b2951df17182cdb4c8ffef210a Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 21 Apr 2013 15:52:35 +0200 Subject: Adding more technical details in the failing test --- tests/zero_width_marks_lig.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/zero_width_marks_lig.tex b/tests/zero_width_marks_lig.tex index 9dbaac0..2c6dba9 100644 --- a/tests/zero_width_marks_lig.tex +++ b/tests/zero_width_marks_lig.tex @@ -10,4 +10,7 @@ % for the second part, the two circles shoud appear clearlybefore the last % letter, not mixed with it +% see http://lists.freedesktop.org/archives/harfbuzz/2013-April/003101.html +% for some technical details. + \bye -- cgit v1.2.3 From 608b4d7816a854663c7c2bb1696127c81ce5de09 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 21 Apr 2013 23:47:27 +0200 Subject: reduce verbosity of the font loader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is my version of: https://github.com/phi-gamma/luaotfload/commit/3a59b8b6b226ed22ccd16aec2dc2e272f015cc74 I undid the original because our policy is not to change imported files except for applying hot fixes in advance that Hans will add eventually. However, we’ll see if we really need otfl-fonts.lua anyways as its functionality might fit better in to luaotfload.lua. --- tests/marks.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/marks.tex b/tests/marks.tex index 3af264e..9dcf460 100644 --- a/tests/marks.tex +++ b/tests/marks.tex @@ -1,9 +1,10 @@ \input luaotfload.sty \font\test={file:GenBasR.ttf:script=latn} +%font\test={name:AntykwaTorunska:script=latn} \test ä\quad Ä -\test a\char"0308 -\quad A\char"0308 -\quad j\char"0323 +\test a\char"0308 %% -> combining dihaeresis +\quad A\char"0308 %% -> combining dihaeresis +\quad j\char"0323 %% -> combining dot below \bye -- cgit v1.2.3 From c6a89a39cab64e09d530136e085383e7af3b05b8 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 23 Apr 2013 03:07:32 +0200 Subject: combine luaotfload-font-ltx -> luaotfload-features --- tests/lookups.tex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/lookups.tex (limited to 'tests') diff --git a/tests/lookups.tex b/tests/lookups.tex new file mode 100644 index 0000000..db26312 --- /dev/null +++ b/tests/lookups.tex @@ -0,0 +1,14 @@ +\input luaotfload.sty +%% lookup font by name (involving database) +\font\first=name:iwonaregular at 42pt +%% lookup font by file name (kpse) +\font\second=file:antpoltltsemiexpd-bolditalic.otf at 42pt +%% lookup font by name, with style in slash notation +\font\third={name:Antykwa torunska/I} at 42pt + +{\first foo \endgraf} +{\second bar \endgraf} +{\third baz \endgraf} + +\bye + -- cgit v1.2.3