XeLaTeX under Win10

George N. White III gnwiii at gmail.com
Wed Mar 13 13:52:29 CET 2019


On Tue, 12 Mar 2019 at 22:41, George N. White III <gnwiii at gmail.com> wrote:

> On Tue, 12 Mar 2019 at 06:35, Zdenek Wagner <zdenek.wagner at gmail.com>
> wrote:
>
>> Hi,
>>
>> Windows may need an action to make the fonts work. The manual contains
>> chapter "Post-install actions". I am not a Windows user so that I
>> cannot be more specific but this should be the first text to read.
>>
>>
> Unfortunately, this text says little about Windows:
>
> In 3.4.4 System font configuration for XeTEX and LuaTEX we have:
>
> "On Windows, fonts shipped with TEX Live are automatically made available
> to XeTEX by font
> name."  This wasn't true for me, but I install TL on linux with the
> addition of win32 binaries and
> mount the directory on Wiindows (currently using NFS).
>
> There are a couple generated fontconfig files in "
> .../texlive/2019/fonts/conf".   There is
> "fonts.conf" with linux paths as well as "c:/windows/fonts" and "
> texlive-fontconfig.conf"
> for use with linux.  "fc-cache" fails because it doesn't find the
> configuration file.  There
> are two variables that should allow fontconfig tools to find the conf file:
>
> >kpsewhich -expand-var=$FONTCONFIG_FILE
> fonts.conf
>
> >kpsewhich -expand-var=$FONTCONFIG_PATH
> N:/texlive/2019/texmf-var/fonts/conf
>
> Since these don't seem to work,  I created a "C:\Users\<user>\.fonts.conf"
> from the
> above "fonts.conf" with windows paths and set the "FONTCONFIG_FILE"
> environment variable to the full path of the new file:
>
> >kpsewhich -expand-var=$FONTCONFIG_FILE
> c:/Users/<user>/.fonts.conf
>
> With this change, "fc-cache" runs and I get both texlive and  Windows
> fonts in xelatex documents.
> Looks like fontconfig on Windows has a problem with the texmf.cnf provided
> settings., but perhaps
> this stems from trying to have one install shared between linux and
> windows.
>

I tried adjusting the FONTCONFIG_FILE and FONTCONFIG_PATH variables in
$SELFAUTOPARENT/texmf.cnf,
but the changes aren't shown by kpsewhich, so it appears that it is
necessary to set FONTCONFIG_FILE in the
environment.





>
>
>> Zdeněk Wagner
>> http://ttsm.icpf.cas.cz/team/wagner.shtml
>> http://icebearsoft.euweb.cz
>>
>> út 12. 3. 2019 v 5:19 odesílatel Taylor, P <P.Taylor at rhul.ac.uk> napsal:
>> >
>> > 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 ?
>> > Philip Taylor
>> > --------
>> > Apostolos Syropoulos wrote:
>> >
>> > Hello,
>> >
>> > A friend of mine tried to use XeLaTeX
>> > under Win10. He tried TeXLive 2018 and
>> > MikTeX. The problem is that the system
>> > cannot find the fonts that are installed in
>> > the system folder c:/windows/fonts
>> > Is this normal or is there a "hack" to solve
>> > this problem?
>> > I am using Solaris... so I cannot provide
>> > much feedback...
>> >
>> >
>>
>>
>
> --
> George N. White III
>
>

-- 
George N. White III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20190313/062409a1/attachment.html>


More information about the XeTeX mailing list