delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/07/20:29: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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=jPGmtYv1Ufw+oEZv
zCcv5Q+tS6C+l3n2I6Qsf0Wbcumr7DuGfIiabFMW8Pinz8iWaHiDJM4Bk8bk2HZR
I4otdoBCSTJhgIeX11rmEBLO/Zbr/FQZmc9bHUzynpHi9kMwpV0vTjPH0KcR8zDz
dwzu/3hWYe6VWkznUFe+kr11qWA=
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=fcyhrXmpnZ99+FHZLenCeG
WvYNA=; b=adAHhV/v+lxY+gRHFuLqiX3IlT21Y0QjxjefOicFoDqauNZ+ScEL2C
opt8JcMlhipM2wSIwaMganZoXpEnU2jeQLkBAN0JhUlk85xX9cQCAat1IO/TGM4/
iPf8VpGalFDFp/t2fbHN2CY70nwrpxKKL4pFoY8tPxDzWI2UoceGQ=
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=-11.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Please enable cid-x.map in dvipdfmx.cfg when installing texlive-langjapanese
To: cygwin AT cygwin DOT com
References: <announce DOT 153c46af-8a71-f815-283b-53a9e6958b88 AT cornell DOT edu> <20170507091726 DOT C00B DOT 50F79699 AT gmail DOT com> <e95c012f-1c60-ad11-57b4-bd30008468dd AT cornell DOT edu>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <5a70daca-3882-e989-0244-0537e3bcb3ca@cornell.edu>
Date: Sun, 7 May 2017 20:29:20 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0
MIME-Version: 1.0
In-Reply-To: <e95c012f-1c60-ad11-57b4-bd30008468dd@cornell.edu>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 5/7/2017 9:37 AM, Ken Brown wrote:
> On 5/6/2017 8:17 PM, Lemures Lemniscati wrote:
>> Hi!
>>
>> I've just updated with the latest packages texlive-*-20170412-1,
>>
>> Thank you for maintaining and updating TeX Live for cygwin.
>>
>> When we use dvipdfmx with Japanese fonts, we might encounter warnings/fatal:
>>
>>> dvipdfmx:warning: Could not locate a virtual/physical font for TFM "gbm".
>>> dvipdfmx:warning: >> There are no valid font mapping entry for this font.
>>> dvipdfmx:warning: >> Font file name "gbm" was assumed but failed to locate 
>>> that font.
>>> dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...
>>
>> To avoid them, we'd need this change:
>>
>> --- /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg    2017-05-07
>> 08:00:30.790411600 +0900
>> +++ /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg    2017-05-05 
>> 06:03:31.000000000 +0900
>> @@ -215,7 +215,7 @@
>>  %f psfonts.map
>>
>>  %% Put additional fontmap files here (usually for Type0 fonts)
>> -%f  cid-x.map
>> +f  cid-x.map
>>
>>  % the following file is generated by updmap(-sys) from the
>>  % KanjiMap entries in the updmap.cfg file.
>>
>> But the file 'usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg' is packaged in
>> texlive-collection-basic-20170412-1.tar.xz
>>
>>
>> So please put some codes like this into
>> 'etc/postinstall/texlive-collection-langjapanese.sh'
>> if it doesn't cause unwanted effects.
>>
>>
>> cp /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \
>>    /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg.orig
>> sed -e 's/^\%f  cid-x\.map/f  cid-x\.map/' \
>>    /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg.orig \
>>  > /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg
>>
>>
>> And we might need a preremove script for reverting the change...
> 
> Thanks for the report.  I'll fix this for the next release.

Now that I've looked at this more closely, I'm not sure your suggestion is the 
right thing to do.  I don't see anything like it in a native TeX Live 
installation.  Please send me a complete, detailed recipe for reproducing your 
problem so that I can investigate further.

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