diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx | 22 |
1 files changed, 22 insertions, 0 deletions
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 |