www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/12/22:10:33

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=oo3T+1bUd5D3PI15
JqflLjw4DglJ1oRZiA3Qa8lNmwcZzejxK1YEwHOmBAbT8vupTBLOs0TH5EhhpuTS
rLp3It7Fwuh9yOnwL3HJY1c/ZVNAyYVy+g6kY1cj1W4QZBZoel6NeKHWnpdTkfdV
WxaE4+zk2yByqUqWLWVG2K285l4=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=4Gizi2xA9aTPOfv+kWK/VF
b83js=; b=rCWZ/Vgj+szZLhfpeG4lfR8UtYXMPu0jkdNsyf4Z0ByEGa4CdT2u+x
DlxTP0FM9NfoYN616Udtxm/poyzGdGjNeyND/jWmaUPqfEgRJMsflHX+WoiOZ7q4
gdUXYxHFfdGfgyuuzHpGCbHzgmmC6b8EMNfhW48dh1HhAAl//phps=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=CMU, Serif, cmu, documentclass
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: xdvipdfmx:fatal: This font using the "seac" command for accented characters...
To: cygwin AT cygwin DOT com
References: <trinity-65448339-5e78-4d88-bd88-c56cded8d4d5-1465776480726 AT 3capp-gmx-bs72>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <7c5d902a-5498-39cf-9d19-fc66f464c447@cornell.edu>
Date: Sun, 12 Jun 2016 22:10:00 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <trinity-65448339-5e78-4d88-bd88-c56cded8d4d5-1465776480726@3capp-gmx-bs72>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-IsSubscribed: yes

On 6/12/2016 8:08 PM, Mark McGregor wrote:
> A more minimal non-working example:
>
> [
> \documentclass{article}
> \usepackage{fontspec}
>
> \setmainfont{CMU Serif}
> %\setmainfont{cmunrm.otf}
>
> \begin{document}
> А
> \end{document}
> ]
>
> If you comment the first \setmainfont line and uncomment the second one, the file compiles. Rerunning /usr/bin/texlive-enable-fontconfig doesn't help.

I found an answer at the following:

 
http://tex.stackexchange.com/questions/296308/xelatex-setmainfontcmu-serif-produces-wrong-characters

Based on that, you can work around the problem by commenting out the 
type1 fonts in /usr/share/fontconfig/conf.avail/09-texlive.conf, like this:

$ cat /usr/share/fontconfig/conf.avail/09-texlive.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
   <dir>/usr/share/texmf-dist/fonts/opentype</dir>
   <dir>/usr/share/texmf-dist/fonts/truetype</dir>
   <!-- <dir>/usr/share/texmf-dist/fonts/type1</dir> -->
</fontconfig>

Then rerun the command '/usr/libexec/fc-cache-1 -sv' from 
/etc/postinstall/zp_fontconfig_cache_1.sh.

What puzzles me is that the link above says that the problem is caused 
by bugs in xdvipdfmx that have been fixed in TeX Live 2016.  I'll look 
into this and try to find out why it still seems to be broken.

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

- Raw text -


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