[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#272015: tetex-bin: dvips does not properly convert documents using pcrr8r (Courier)



Package: tetex-bin
Version: 2.0.2-21
Severity: normal


Following a recent upgrade, latex documents using courier.sty are not
handled properly upon conversion to .ps or .pdf.  Here is a minimal test
case:

% test.tex -- test case for dvips Courier bug
\documentclass[10pt,notitlepage]{article}
\usepackage{courier}
\begin{document} 
This is Computer Modern.  {\tt This is messed-up Courier.}
\end{document}
% end test case

After running latex on test.tex, the dvi output looks good.  If I
convert to postscript with
$ dvips -d 4 -Ppdf -G0 -tletterSize dvips -d 4 -Ppdf -G0 -tletterSize test.dvi
then I get this output:
--------------------------------------------------------------------------------
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.09.16:1621' -> manual.ps
Defining font () cmr10 at 10.0pt
Font cmr10 <CMR10> is resident.
Defining font () pcrr7t at 10.0pt
Loading virtual font pcrr7t.vf at 10.0pt
Defining font () pcrr8r at 10.0pt
Font pcrr8r <Courier> is resident.
<tex.pro><alt-rule.pro><texc.pro><8r.enc><texps.pro>. <cmr10.pfb>[1] 
--------------------------------------------------------------------------------
The resulting test.ps has a Courier font that looks to be about 14pt (or
at least significantly larger than the Computer Modern).

If I further convert to pdf using
$ ps2pdf13 test.ps
then the resulting test.pdf has roughly 14pt Courier characters that are
not properly spaced.  It looks as if the spacing might be correct for
the original 10pt font.  pdffonts reports:
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
PFMHAB+Courier                       Type 1C      yes yes no      13  0
YKVHLY+CMR10                         Type 1C      yes yes no      10  0

There is no change if I perform the conversion to pdf using dvipdf.

If I create the pdf using dvipdfm or pdflatex, the Courier font is
spaced properly but is still too large.  pdffonts now reports the
Courier font as:
------------------------------------ ------------ --- --- --- ---------
Courier                              Type 1       no  no  no      12  0




-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.8.1
Locale: LANG=C, LC_CTYPE=C

ii  tetex-base             2.0.2b-5          Basic library files of teTeX
ii  tetex-bin              2.0.2-21          The teTeX binary files
ii  tetex-extra            2.0.2b-5          Additional library files of teTeX

Versions of packages tetex-bin depends on:
ii  debconf                1.4.30.3          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-4    Inter-Client Exchange library
ii  libkpathsea3           2.0.2-20          path search library for teTeX (run
ii  libpaper1              1.1.14-0.4        Library for handling paper charact
ii  libpng12-0             1.2.5.0-7         PNG library - runtime
ii  libsm6                 4.3.0.dfsg.1-4    X Window System Session Management
ii  libstdc++5             1:3.3.4-6sarge1.2 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-4    X Window System protocol client li
ii  libxaw7                4.3.0.dfsg.1-4    X Athena widget set library
ii  libxext6               4.3.0.dfsg.1-4    X Window System miscellaneous exte
ii  libxmu6                4.3.0.dfsg.1-4    X Window System miscellaneous util
ii  libxt6                 4.3.0.dfsg.1-4    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.2-1           The GNU sed stream editor
ii  tetex-base             2.0.2b-5          Basic library files of teTeX
ii  ucf                    1.08              Update Configuration File: preserv
ii  xlibs                  4.3.0.dfsg.1-4    X Window System client libraries m
ii  zlib1g                 1:1.2.1.1-7       compression library - runtime

-- debconf information:
  tetex-bin/upd_map: true
* tetex-bin/cnf_name:
  tetex-bin/fmtutil: true
  tetex-bin/fmtutil-failed:
  tetex-bin/userperm: false
* tetex-bin/texmf: false
  tetex-bin/updmap-failed:
  tetex-bin/hyphen: french[=patois], ngerman[=naustrian-neue_Rechtschreibung]
  tetex-bin/oldcfg: true
* tetex-bin/use_debconf: false
* tetex-bin/groupname: users
  tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true



Reply to: