Could you provide a small TeX sample with which this can be reproduced?
Yes, of course.
``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
\documentclass{article}
\usepackage{fontspec}
%% When I specify the path in *unix-style, it works fine.
\setmainfont[Path=/cygdrive/c/windows/fonts/]{arial.ttf}
%% % This was supposed to work.
%% \setmainfont{Arial}
\begin{document}
\section{test}
\end{document}
``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
I tried to keep the sample small in case you don't have luatex-ja or
chinese fonts installed. Anyway, this can be reproduced with any font
used under C:/windows/fonts/.
Here is the entry of arial in otfl-names.lua
{
["familyname"]="Arial",
["filename"]={ "c:/windows/fonts/arial.ttf", false },
["fontname"]="ArialMT",
["fullname"]="Arial",
["names"]={
["family"]="Arial",
["fullname"]="Arial",
["psname"]="ArialMT",
["subfamily"]="Regular",
},
I use auctex to edit tex file. It provide luatex engine to compile file.
lualatex --jobname=test -interaction=nonstopmode "\input" test.tex
is used by auctex.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple