diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/testsuite')
29 files changed, 207 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature-option.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature-option.ltx new file mode 100644 index 00000000000..103bc0b4373 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature-option.ltx @@ -0,0 +1,15 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} + +\aliasfontfeature{Numbers}{123} +\aliasfontfeatureoption{Numbers}{Lining}{UC} +\aliasfontfeatureoption{Numbers}{OldStyle}{LC} + +\fontspec[123=UC]{TeX Gyre Pagella} +Numbers: 12345 + +\fontspec[123=LC]{TeX Gyre Pagella} +Numbers: 12345 + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature.ltx new file mode 100644 index 00000000000..4caecfb471b --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-alias-feature.ltx @@ -0,0 +1,9 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} + +\aliasfontfeature{ItalicFeatures}{IF} +\fontspec[IF = {Colour=FF0000}]{Times} +Roman letters \itshape and red italics + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-autoscaling.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-autoscaling.ltx new file mode 100644 index 00000000000..183d66099e0 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-autoscaling.ltx @@ -0,0 +1,12 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\Large +\setmainfont{TeX Gyre Termes} aA +\fontspec{TeX Gyre Heros} aA +\fontspec{TeX Gyre Cursor} aA +\fontspec[Scale=MatchUppercase]{TeX Gyre Heros} aA +\fontspec[Scale=MatchUppercase]{TeX Gyre Cursor} aA +\fontspec[Scale=MatchLowercase]{TeX Gyre Heros} aA +\fontspec[Scale=MatchLowercase]{TeX Gyre Cursor} aA +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-charactervariant.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-charactervariant.ltx new file mode 100644 index 00000000000..a9105f4a70f --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-charactervariant.ltx @@ -0,0 +1,11 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\Large +\fontspec{EB Garamond Italic} very +\fontspec[CharacterVariant=5]{EB Garamond Italic} very +\fontspec[CharacterVariant=5:0]{EB Garamond Italic} very +\fontspec[CharacterVariant=5:1]{EB Garamond Italic} very +\fontspec[CharacterVariant=5:2]{EB Garamond Italic} very +\fontspec[CharacterVariant=5:3]{EB Garamond Italic} very +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F003a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-basic.ltx index b0d4b43aa6b..b0d4b43aa6b 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F003a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-basic.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F003c.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-clash.ltx index 7455431e2e3..7455431e2e3 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F003c.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-clash.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F003b.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-opacity.ltx index 8e9052dd6fb..afef4c2a539 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F003b.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-colour-opacity.ltx @@ -9,4 +9,9 @@ Test Color=red,Opacity=0.5 ]{Verdana} Test + +\fontspec[ + Color=00FF00,Opacity=0.5 + ]{Verdana} +Test \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-feat-numbers.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-feat-numbers.ltx new file mode 100644 index 00000000000..2fab9c6660e --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-feat-numbers.ltx @@ -0,0 +1,18 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} + +\fontspec[Numbers={Proportional,OldStyle}] + {TeX Gyre Adventor} +`In 1842, 999 people sailed 97 miles in + 13 boats. In 1923, 111 people sailed 54 + miles in 56 boats.' \bigskip + +{\addfontfeatures{Numbers={Monospaced,Lining}} +\begin{tabular}{@{} cccc @{}} + Year & People & Miles & Boats \\ + \hline 1842 & 999 & 75 & 13 \\ + 1923 & 111 & 54 & 56 +\end{tabular}} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-font-selection-bold.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-font-selection-bold.ltx new file mode 100644 index 00000000000..28673b1c254 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-font-selection-bold.ltx @@ -0,0 +1,11 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\Large + \fontspec[BoldFont={Kurier Heavy}] + {Kurier Bold} + Kurier Bold \\ + {\itshape Kurier Bold Italic} \\ + {\bfseries Kurier Heavy } \\ + {\bfseries\itshape Kurier Heavy Italic} \\ +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F006a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-hyphenchar.ltx index 39cd453a155..39cd453a155 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F006a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-hyphenchar.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F001b-emph.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-inner-emph.ltx index e24dea90cec..e24dea90cec 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F001b-emph.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-inner-emph.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F001a-basic-loading.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-basic.ltx index 4aa54463b7a..4aa54463b7a 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F001a-basic-loading.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-basic.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx new file mode 100644 index 00000000000..98b4102b33b --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx @@ -0,0 +1,22 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +% behaviour fixed Sept 2011; external +% fonts should not search for variants +% if they're not specified. + +\setmainfont + [ExternalLocation, + SlantedFont={lmroman10-italic}] + {lmroman10-regular} + +test \textsl{hello} + +\setmainfont + [ExternalLocation, + BoldFont={lmroman10-bold}] + {lmroman10-regular} + +test \textbf{hello} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-nested-scfeat.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-nested-scfeat.ltx new file mode 100644 index 00000000000..d1593613039 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-nested-scfeat.ltx @@ -0,0 +1,19 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\usepackage{xcolor} +\begin{document} +\fontspec[ + UprightFeatures={Color = 220022, + SmallCapsFeatures = {Color=115511}}, + ItalicFeatures={Color = 2244FF, + SmallCapsFeatures = {Color=112299}}, + BoldFeatures={Color = FF4422, + SmallCapsFeatures = {Color=992211}}, + BoldItalicFeatures={Color = 888844, + SmallCapsFeatures = {Color=444422}}, + ]{TeX Gyre Termes} +Upright {\scshape Small Caps}\\ +\itshape Italic {\scshape Italic Small Caps}\\ +\upshape\bfseries Bold {\scshape Bold Small Caps}\\ +\itshape Bold Italic {\scshape Bold Italic Small Caps} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F002a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-scale.ltx index 79f1c0dc2dd..79f1c0dc2dd 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F002a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-scale.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F004a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-sizefeatures.ltx index b6b32e4c0d1..b6b32e4c0d1 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F004a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-sizefeatures.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-optical-sizes.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-optical-sizes.ltx new file mode 100644 index 00000000000..12ef304e7ff --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-optical-sizes.ltx @@ -0,0 +1,8 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\fontspec{Latin Modern Roman} +Automatic optical size\par +\scalebox{0.4}{\Huge +Automatic optical size} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx-2.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx-2.ltx new file mode 100644 index 00000000000..b15bba6652b --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx-2.ltx @@ -0,0 +1,10 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\usepackage{xcolor} +\begin{document} +\huge +\fontspec{EB Garamond Italic} \& violet \\ +\fontspec[CharacterVariant={4}]{EB Garamond Italic} \& violet \\ +\fontspec[CharacterVariant={5:2}]{EB Garamond Italic} \& violet \\ +\fontspec[CharacterVariant={4,5:2}]{EB Garamond Italic} \& violet +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx.ltx new file mode 100644 index 00000000000..3d1487ed6f5 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-cvxx.ltx @@ -0,0 +1,12 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\usepackage{xcolor} +\begin{document} +\huge +\fontspec{EB Garamond Italic} very \\ +\fontspec[CharacterVariant=5]{EB Garamond Italic} very \\ +\fontspec[CharacterVariant=5:0]{EB Garamond Italic} very \\ +\fontspec[CharacterVariant=5:1]{EB Garamond Italic} very \\ +\fontspec[CharacterVariant=5:2]{EB Garamond Italic} very \\ +\fontspec[CharacterVariant=5:3]{EB Garamond Italic} very +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F005a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-ss06.ltx index 08dc161729c..08dc161729c 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F005a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-ot-ss06.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F200a-test-prog.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-programmers-interface.ltx index c9ec65bc928..c9ec65bc928 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F200a-test-prog.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-programmers-interface.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F100e.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-fancyvrb.ltx index f146623f66e..f146623f66e 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F100e.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-fancyvrb.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F100d.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-listings.ltx index 4e818edff8b..4e818edff8b 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F100d.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-listings.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F100c.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-moreverb.ltx index 83371207940..83371207940 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F100c.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-moreverb.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F100a.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-plain.ltx index 9f49e48bc13..9f49e48bc13 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F100a.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-plain.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F100b.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-verbatim.ltx index 84e646b616b..84e646b616b 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/F100b.ltx +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-verb-verbatim.ltx diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/F-wordspace.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/F-wordspace.ltx new file mode 100644 index 00000000000..92ccec4d1c0 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/F-wordspace.ltx @@ -0,0 +1,20 @@ +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\fontspec{TeX Gyre Termes} +Some text for our example to take +up some space, and to demonstrate +the default interword space. +\bigskip + +\addfontfeature{ WordSpace = 0.3 } +Some text for our example to take +up some space, and to demonstrate +the default interword space. +\bigskip + +\large +Some text for our example to take +up some space, and to demonstrate +the default interword space. +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/X-new-font-feature.ltx b/Master/texmf-dist/source/latex/fontspec/testsuite/X-new-font-feature.ltx new file mode 100644 index 00000000000..2d7eb5952c6 --- /dev/null +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/X-new-font-feature.ltx @@ -0,0 +1,11 @@ + +\documentclass{testsuite} +\usepackage{fontspec} +\begin{document} +\newfontfeature{AvoidD}{Special=Avoid d-collisions} +\newfontfeature{NoAvoidD}{Special=!Avoid d-collisions} +\fontspec[AvoidD,Variant=1]{Zapfino} + sockdolager rubdown \\ +\fontspec[NoAvoidD,Variant=1]{Zapfino} + sockdolager rubdown +\end{document} diff --git a/Master/texmf-dist/source/latex/fontspec/testsuite/testsuite-listing.tex b/Master/texmf-dist/source/latex/fontspec/testsuite/testsuite-listing.tex index 4f7cee4b899..25644b041dc 100644 --- a/Master/texmf-dist/source/latex/fontspec/testsuite/testsuite-listing.tex +++ b/Master/texmf-dist/source/latex/fontspec/testsuite/testsuite-listing.tex @@ -1,15 +1,24 @@ -\TEST{F001a-basic-loading} -\TEST{F001b-emph} -\TEST{F002a} -\TEST{F003a} -\TEST{F003b} -\TEST{F003c} -\TEST{F004a} -\TEST{F005a} -\TEST{F006a} -\TEST{F100a} -\TEST{F100b} -\TEST{F100c} -\TEST{F100d} -\TEST{F100e} -\TEST{F200a-test-prog} +\TEST{F-autoscaling} +\TEST{F-charactervariant} +\TEST{F-colour-basic} +\TEST{F-colour-clash} +\TEST{F-colour-opacity} +\TEST{F-feat-numbers} +\TEST{F-font-selection-bold} +\TEST{F-hyphenchar} +\TEST{F-inner-emph} +\TEST{F-loading-basic} +\TEST{F-loading-external-underdefined} +\TEST{F-loading-nested-scfeat} +\TEST{F-loading-scale} +\TEST{F-loading-sizefeatures} +\TEST{F-ot-cvxx-2} +\TEST{F-ot-cvxx} +\TEST{F-ot-ss06} +\TEST{F-programmers-interface} +\TEST{F-verb-fancyvrb} +\TEST{F-verb-listings} +\TEST{F-verb-moreverb} +\TEST{F-verb-plain} +\TEST{F-verb-verbatim} +\TEST{F-wordspace} |