This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: luatex font path problem

On 4/29/2013 10:50 PM, Arthur Tu wrote:
On 4/30/2013 12:47 AM, Ken Brown wrote:
On 4/28/2013 12:56 PM, Arthur Tu wrote:
After lualatex command, file
"~/.cache/texmf/luatex-cache/generic/names/otfl-names.lua" was

Entry like this for example
    ["filename"]={ "c:/windows/fonts/simsun.ttc", 0 },

when I used \setmainfont{SimSun}, error occured that SimSun font not
When i used \setmainjfont[Path=/cygdrive/c/windows/fonts/]{simsun.ttc}
A typo here.
\setmainjfont Should be \setmainfont. \setmainjfont only works when
luatex-ja package is available.
and specify the path in *unix-style, it works.

So i think this is another mixed path style problem in cygwin.
Even though the fonts in system dir are listed in otfl-names.lua, they
can't be accessed because their pathes are in windows-style.

I'm on vacation right now, but I'll look into this in mid-May when I

I'm still on vacation but had a chance to look at this. The problem is the Cygwin-specific code in /usr/share/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua.orig otfl-font-nms.lua. If you remove that code (see the attached patch) and regenerate ~/.cache/texmf/luatex-cache/generic/names/otfl-names.lua, I think the problem will be solved.


Attachment: luaotfload.patch
Description: Text document

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]