luatex font path problem
Ken Brown
kbrown@cornell.edu
Mon Apr 29 17:09:00 GMT 2013
On 4/28/2013 12:56 PM, Arthur Tu wrote:
> After lualatex command, file
> "~/.cache/texmf/luatex-cache/generic/names/otfl-names.lua" was generated.
>
> Entry like this for example
> {
> ["familyname"]="SimSun",
> ["filename"]={ "c:/windows/fonts/simsun.ttc", 0 },
> ["fontname"]="SimSun",
> ["fullname"]="SimSun",
> ["names"]={
> ["family"]="SimSun",
> ["fullname"]="SimSun",
> ["psname"]="SimSun",
> ["subfamily"]="Regular",
> },
> ["size"]={},
> ["slant"]=0,
> ["weight"]=400,
> ["width"]=5,
> },
>
> when I used \setmainfont{SimSun}, error occured that SimSun font not found.
> When i used \setmainjfont[Path=/cygdrive/c/windows/fonts/]{simsun.ttc}
> 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 return.
Ken
--
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
More information about the Cygwin
mailing list