summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/testsuite/F-loading-external-underdefined.ltx
blob: 98b4102b33ba5a324eb1a2c164820b1864a18c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}