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