[tex-live] xetex and system fonts with cygwin64

David Carlisle d.p.carlisle at gmail.com
Fri Nov 14 15:20:44 CET 2014


Since switching to cygwin64 (windows 8) I don't seem to be able to get
xetex to find any fonts in the windows font directory.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{arial.ttf}
\begin{document}
hello

\end{document}


works with lualatex (and works if arial.ttf is replaced by arial or Arial)

log ending

</c/Windows/Fonts/arial.ttf>
Output written on arial.pdf (1 page, 17248 bytes).


but xelatex fails with

kpathsea:make_tex: Invalid fontname `[arial.ttf]/OT', contains '['


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"


or if I change it to just say

\setmainfont{Arial}

the error is


kpathsea: Running mktextfm Arial
/usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Could not map source
abbreviation A for Arial.
/usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Need to update
/usr/local/texlive/2014/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input Arial
This is METAFONT

followed my spurious errors from trying to run metafont.



I'm pretty sure this used to work on my old machine using cygwin(32) but
can't easily test now.

sending to texlive (rather than xetex) list as this is (I think) a cygwin
build issue rather than a xetex or package issue? But I could be wrong
about that..

Any thoughts or suggestions of things I could try welcome:-)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20141114/3efe61ee/attachment.html>


More information about the tex-live mailing list