From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52152 invoked by alias); 7 May 2017 13:37:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52138 invoked by uid 89); 7 May 2017 13:37:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:may, H*r:forged, H*r:ip*192.168.1.3, Lemniscati X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 07 May 2017 13:37:31 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v47DbWPb003325 for ; Sun, 7 May 2017 09:37:32 -0400 Received: from [192.168.1.3] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v47DbUGB015534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 7 May 2017 09:37:31 -0400 Subject: Re: Please enable cid-x.map in dvipdfmx.cfg when installing texlive-langjapanese To: cygwin@cygwin.com References: <20170507091726.C00B.50F79699@gmail.com> From: Ken Brown Message-ID: Date: Sun, 07 May 2017 15:05:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170507091726.C00B.50F79699@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00091.txt.bz2 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. 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