<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, 12 Mar 2019 at 06:35, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Windows may need an action to make the fonts work. The manual contains<br>
chapter "Post-install actions". I am not a Windows user so that I<br>
cannot be more specific but this should be the first text to read.<br>
<br></blockquote><div><br></div><div>Unfortunately, this text says little about Windows:</div><div><br></div><div>In 3.4.4 System font configuration for XeTEX and LuaTEX we have:</div><div><br></div><div>"On Windows, fonts shipped with TEX Live are automatically made available to XeTEX by font</div><div>name." This wasn't true for me, but I install TL on linux with the addition of win32 binaries and</div><div>mount the directory on Wiindows (currently using NFS). </div><div><br></div><div>There are a couple generated fontconfig files in "<font face="monospace, monospace">.../texlive/2019/fonts/conf</font>". There is</div><div>"<font face="monospace, monospace">fonts.conf</font>" with linux paths as well as "c:/windows/fonts" and "<font face="monospace, monospace">texlive-fontconfig.conf</font>"</div><div>for use with linux. "<font face="monospace, monospace">fc-cache</font>" fails because it doesn't find the configuration file. There</div><div>are two variables that should allow fontconfig tools to find the conf file:</div><div><br></div><div><div><font face="monospace, monospace">>kpsewhich -expand-var=$FONTCONFIG_FILE</font></div><div><font face="monospace, monospace">fonts.conf</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">>kpsewhich -expand-var=$FONTCONFIG_PATH</font></div><div><font face="monospace, monospace">N:/texlive/2019/texmf-var/fonts/conf</font></div></div><div><br></div><div>Since these don't seem to work, I created a "<font face="monospace, monospace">C:\Users\<user>\.fonts.conf</font>" from the </div><div>above "<font face="monospace, monospace">fonts.conf</font>" with windows paths and set the "FONTCONFIG_FILE" </div><div>environment variable to the full path of the new file:</div><div><br></div><div><div><font face="monospace, monospace">>kpsewhich -expand-var=$FONTCONFIG_FILE</font></div><div><font face="monospace, monospace">c:/Users/<user>/.fonts.conf</font></div></div><div><br></div><div>With this change, "<font face="monospace, monospace">fc-cache</font>" runs and I get both texlive and Windows fonts in xelatex documents. </div><div>Looks like fontconfig on Windows has a problem with the <font face="monospace, monospace">texmf.cnf </font>provided settings., but perhaps</div><div>this stems from trying to have one install shared between linux and windows.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Zdeněk Wagner<br>
<a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" rel="noreferrer" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br>
<a href="http://icebearsoft.euweb.cz" rel="noreferrer" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
út 12. 3. 2019 v 5:19 odesílatel Taylor, P <<a href="mailto:P.Taylor@rhul.ac.uk" target="_blank">P.Taylor@rhul.ac.uk</a>> napsal:<br>
><br>
> No problems using TL 2018 under Windows 7, Apostolos, but never tried Windows 10 (nor have I any wish to). Can you forward detailed error message(s), please ?<br>
> Philip Taylor<br>
> --------<br>
> Apostolos Syropoulos wrote:<br>
><br>
> Hello,<br>
><br>
> A friend of mine tried to use XeLaTeX<br>
> under Win10. He tried TeXLive 2018 and<br>
> MikTeX. The problem is that the system<br>
> cannot find the fonts that are installed in<br>
> the system folder c:/windows/fonts<br>
> Is this normal or is there a "hack" to solve<br>
> this problem?<br>
> I am using Solaris... so I cannot provide<br>
> much feedback...<br>
><br>
><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>George N. White III<br><br></div></div></div></div></div></div></div></div>