<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Dec 2020 at 16:10, Apostolos Syropoulos via XeTeX <<a href="mailto:xetex@tug.org">xetex@tug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>Works for me, Ulrike :<br>
><br>
><br>
> \font \Jost = "Jost*"<br>
> \Jost Hallo<br>
><br>
> \end<br>
><br>
><br>
>Of course, one has to install the font in the first place.<br>
<br>
The above code works just fine in Solaris.<br>
A.S.<br>
<br>
----------------------<br>
Apostolos Syropoulos<br>
Xanthi, Greece<br>
<br>
<br></blockquote><div><br></div><div>For me (testing on cygwin and installing the fonts in ~/.fonts) the Phil's plain tex example works but I think it is somewhat underspecified which font you actually get (I got Jost-Black which is a bit.. black...)</div><div><br></div><div><br></div><div>$ pdffonts phil.pdf<br>name type encoding emb sub uni object ID<br>------------------------------------ ----------------- ---------------- --- --- --- ---------<br>HMHLTQ+Jost-Black CID TrueType Identity-H yes yes yes 5 0<br>JRRHPJ+CMR10 Type 1C Builtin yes yes yes 6 0<br><br><br></div><div><br></div><div>fontspec does get confused by the * (probably while trying to figure out the bold/italic etc variants of the main font) and I get the <br></div><div><br></div><div>! Package fontspec Error: The font "JostJost*" cannot be found.</div><div><br></div><div>error</div><div><br></div><div>Which is arguably a fontspec bug but since the "main" font is of a rather arbitrary weight if loaded as Jost* it is probably better to specify the weights as in Ulrike's example anyway.</div><div><br></div><div>I did try to avoid the wildcard using a catcode 11 *, interestingly that gives a different error, so gets closer but doesn't actually work (for some definition of "interesting")</div><div><br></div><div>\documentclass{article}<br>\usepackage{fontspec} <br></div><div><br>\setmainfont{Jost\Ucharcat`\* 11 }<br><br>\begin{document}<br><br>Hallo<br><br>\end{document}</div><div><br></div></div></div>