delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/30/23:25:21

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=vM6vJYjtKS2P3ewY8skpyZk2ao9SSGeO0CLag/rRFya
goUjwYtOAmy9j4/GpqHemSoSDmYhBalz4C3nwnUCjEKACWsIU3+nmoFUHn+IQvIv
XB1hRaSI3nZFroh3iVUiQFgr4Fpo8gAdARrbNHJCWmwTARBPFbYpeEyo/sRptm4E
=
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=odxvcuwh2lkDEFhkaSJULZ5VPCg=; b=VQZVSgwZSwpsnlfg8
JgPeaIEjZEGeqLvFiykjjos5WS8FUj5lJ59DMts/TKoX4ujiO3Onrb4BFr94Q8p5
QxrfrqdVk0j/CzJhIqh/q8CFRtsrpIP/8LqWrUotctS9mUFnhv+awyobZLCIz1sP
o7Vc+dYAhlScBhw4Xooz6cuEaY=
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=-3.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.68.226.230 with SMTP id rv6mr1975410pbc.55.1367378702632; Tue, 30 Apr 2013 20:25:02 -0700 (PDT)
Message-ID: <51808B07.2020907@gmail.com>
Date: Wed, 01 May 2013 11:24:55 +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: Re: luatex font path problem
References: <517D54B8 DOT 1060109 AT gmail DOT com> <517F3E39 DOT 1000101 AT users DOT sourceforge DOT net>
In-Reply-To: <517F3E39.1000101@users.sourceforge.net>

> 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

- Raw text -


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