Bug#266718: dvips: Fails to properly include fonts used both in EPS and in document
Package: tetex-bin
Version: 2.0.2-18
Severity: normal
Dvips will in some circumstances fail to include all the needed fonts
(or at least produces documents that gs will not display correctly).
This happens when there is a font which is used both in an included
EPS file and in the document itself: the characters do not display
inside of the figure. Just looking at the file sizes, I think I can
see one problem: fonts that are used only in the EPS file are included
in full, while fonts that are used in both the EPS file and in the
document are included only partially, thus missing any characters used
in the included file. This is not the only problem, however, since
even characters in the EPS that do appear in the document do not
appear in the figures.
Attached are some minimal test cases. Run mpost on fig.mp (which just
produces an EPS file with '-25' in Computer Modern), then latex
test.tex and run dvips on it. Note that the minus sign, from cmsy10,
appears in the output, while the '25', from cmr10, does not, since the
document itself uses cmr10 but not cmsy10.
As a workaround, you can add the '-j0' option to dvips.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=zh_TW.UTF-8
Versions of packages tetex-bin depends on:
ii debconf 1.4.31 Debian configuration management sy
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii dpkg 1.10.23 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.1-5 GCC support library
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libkpathsea3 2.0.2-18 path search library for teTeX (run
ii libpaper1 1.1.14-0.3 Library for handling paper charact
ii libpng12-0 1.2.5.0-7 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libstdc++5 1:3.3.4-9 The GNU Standard C++ Library v3
ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r
ii libwww0 5.4.0-9 The W3C WWW library
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxaw7 4.3.0.dfsg.1-6 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxmu6 4.3.0.dfsg.1-6 X Window System miscellaneous util
ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-2 Larry Wall's Practical Extraction
ii sed 4.1.1-2 The GNU sed stream editor
ii tetex-base 2.0.2a-3 Basic library files of teTeX
ii ucf 1.08 Update Configuration File: preserv
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- debconf information:
* tetex-bin/upd_map: true
tetex-bin/cnf_name:
* tetex-bin/fmtutil: true
* tetex-bin/userperm: false
* tetex-bin/texmf: true
* tetex-bin/hyphen:
tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
Reply to: