delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/28/12:56:42

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
:content-type:content-transfer-encoding; q=dns; s=default; b=wsN
WD5UiV3KMgMIvHwLhRvLEUcAEaoP9GfpsgjvKamGNEBKFWZbP04oZALGKUKf52RO
BxPQ4MIlJN0H/8pZogeha/gL9u2ITePVNpwulVnqMdM+oGaJ+7xWJc9tTzC5TZeW
/5ic9yp85rgI+AP7alGvgko2L6LrW3MCek83F2ho=
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
:content-type:content-transfer-encoding; s=default; bh=TRtk3h+BT
Jz2d73vrZux+8UnE2M=; b=TA01kVzoi30ApnYoEtFPQOIeftJGEU49OnO3Es7LF
t8yI0UhfzhGImPulrIMWR7t2E7NvpYKbWIDhXOUxU/mfiKGwtQ4jyQ37VKVALRac
cGerx8fhXwRqL7l583YlESonQDbWQFtMd+mrxc7ACq8OgQrNjTxo7i+Z8tOk7nKe
nY=
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=-2.4 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.68.108.196 with SMTP id hm4mr67810107pbb.88.1367168188116; Sun, 28 Apr 2013 09:56:28 -0700 (PDT)
Message-ID: <517D54B8.1060109@gmail.com>
Date: Mon, 29 Apr 2013 00:56:24 +0800
From: Arthur Tu <arthur DOT jim DOT tu AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: luatex font path problem

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.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019