delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=DT7RZg2pKHauLzEiD0yi6nz0ai5EjSFRceXQBH+qcXm | |
ARppRaVgJYwp/4g7oQUZRyfJdO0BDC38b/sEglF0kf0e2rV/lvk+gjS2Cn67kS0r | |
LuWUpdg7RO/hBCw8oqZdHAa73rkQJP2+dbg9s1EFNszS+yrBlE+lxLfGosDq8fFw | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=+3p5uxaeIELULFGcLosB4vT408M=; b=BM+fp1bvOF5k8u53J | |
EFvmHU6/XhudrMZgAtC/CZB5WHKMc5HTSC55QXw5j1vfKwkEijjIoIUM3tFc5H5b | |
KKl1GNl0xXSQWr43iAXeNhITpHPjs9lDvRbRBWUipny7Zr/S1lweRx6gK3ukOr54 | |
FlWEgXL6fCUXK4NxeJXIjFaAAY= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-5.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 |
X-CornellRouted: | This message has been Routed already. |
Message-ID: | <519A94E0.5040808@cornell.edu> |
Date: | Mon, 20 May 2013 17:25:52 -0400 |
From: | Ken Brown <kbrown AT cornell DOT edu> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: luatex font path problem |
References: | <517D54B8 DOT 1060109 AT gmail DOT com> <517EA41F DOT 3040404 AT cornell DOT edu> <517F3170 DOT 3080107 AT gmail DOT com> <518977B4 DOT 1010803 AT cornell DOT edu> |
In-Reply-To: | <518977B4.1010803@cornell.edu> |
On 5/7/2013 5:52 PM, Ken Brown wrote: > 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 >>>> 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} >> 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 >>> return. > > 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. Arthur, I'd like to send the patch upstream. Before I do that, could you confirm that it solves your problem? I hope you weren't thrown off by the copy/paste error I made; the file to be patched is /usr/share/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |