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

Bug#227856: tetex-bin: dvipdfm generates bitmap fonts in stead of T1 fonts



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

Here at work we have a LaTeX class that uses PostScript fonts, instead
of the normal CM fonts. The kind of fonts we use can be reproduced with
this minimal (OK, probably not very minimal) TeX file (many parts taken
from our .cls and .sty, to try to get the same font conditions):

------------------------------------------
\documentclass[12pt]{article}

\DeclareFontFamily{OMS}{oce}{\skewchar\font127}
\DeclareFontShape{OMS}{oce}{m}{n}
   {<-> phvr}{}
\DeclareFontShape{OMS}{oce}{m}{it}
   {<-> ssub * cmm/m/it}{}
\DeclareFontShape{OMS}{oce}{m}{sl}
   {<-> ssub * cmm/m/it}{}
\DeclareFontShape{OMS}{oce}{m}{sc}
   {<-> ssub * cmm/m/it}{}
\DeclareFontShape{OMS}{oce}{b}{n}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OMS}{oce}{b}{it}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OMS}{oce}{b}{sl}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OMS}{oce}{b}{sc}
   {<-> ssub * cmm/b/it}{}

\DeclareFontFamily{OML}{oce}{\skewchar\font127}
\DeclareFontShape{OML}{oce}{m}{n}
   {<-> psyr}{}
\DeclareFontShape{OML}{oce}{m}{it}
   {<-> phvro7t}{}
\DeclareFontShape{OML}{oce}{m}{sl}
   {<-> ssub * cmm/m/it}{}
\DeclareFontShape{OML}{oce}{m}{sc}
   {<-> ssub * cmm/m/it}{}
\DeclareFontShape{OML}{oce}{b}{n}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OML}{oce}{b}{it}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OML}{oce}{b}{sl}
   {<-> ssub * cmm/b/it}{}
\DeclareFontShape{OML}{oce}{b}{sc}
   {<-> ssub * cmm/b/it}{}

\DeclareMathAlphabet{\mathsym}{OML}{oce}{m}{n}

\SetMathAlphabet\mathnormal{normal}{OML}{oce}{m}{it}
\SetMathAlphabet\mathcal{normal}{OMS}{oce}{m}{n}

\SetMathAlphabet\mathrm{normal}{OT1}{phv}{m}{n}
\SetMathAlphabet\mathbf{normal}{OT1}{phv}{bx}{n}
\SetMathAlphabet\mathsf{normal}{OT1}{phv}{m}{sl}
\SetMathAlphabet\mathit{normal}{OT1}{phv}{m}{it}
\SetMathAlphabet\mathtt{normal}{OT1}{pcr}{m}{n}
\skewchar\textfont1='24
\skewchar\textfont2='242
\def\dot{\mathaccent"70C7}

\DeclareSymbolFont{extras}{OML}{oce}{m}{n}
\DeclareSymbolFont{cmitalics}{OML}{cmm}{m}{it}

\SetSymbolFont{letters}{normal}{OML}{oce}{m}{it}
%\SetSymbolFont{operators}{normal}{OMS}{oce}{m}{n}
\SetSymbolFont{symbols}{normal}{OMS}{cmsy}{m}{n}
\SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}
\SetSymbolFont{extras}{normal}{OML}{oce}{m}{n}
\SetSymbolFont{cmitalics}{normal}{OML}{cmm}{m}{it}


\renewcommand{\familydefault}{phv}
\renewcommand{\ttfamily}{\fontfamily{pcr}\selectfont}
\begin{document}

I work at Oc\'e{}.

\end{document}
----------------------------------------

When I generate PDF via:
latex test.tex
dvips -P pdf test.dvi
ps2pdf test.ps

and then view it with Acrobat Reader (e.g.), the fonts look fine.

But when I generate PDF via:
latex test.tex
dvipdfm test.dvi

and then view it with Acrobat Reader (e.g.), the fonts look horrible,
clearly bitmapped. I know for sure that it worked fine a couple of
months ago (when I last wrote a report :-).

This is the verbosed output of dvipdfm:

$ dvipdfm -vvv test.dvi
Warning:  Couldn't open font map file cmr.map
Warning:  Couldn't open font map file psbase14.map
Warning:  Couldn't open font map file lw35urw.map

test.dvi -> test.pdf
DVI File Info
Unit: 25400000 / 473628672
Mag: 1000
Media Height: 41451520
Media Width: 28114944
Stack Depth: 4
Page count:         1
DVI Comment:  TeX output 2004.01.15:1035

DVI file font info
name:     phvr7t, TeX/DVI ID:    15, size: 11.96 pt, 
[1<phvr7t@11.96pt(TFM:/usr/share/texmf/fonts/tfm/adobe/helvetic/phvr7t.tfm)(VF:/usr/share/texmf/fonts/vf/adobe/helvetic/phvr7t.vf(TFM:/usr/share/texmf/fonts/tfm/adobe/helvetic/phvr8r.tfm)<phvr8r@11.96pt
fontmap: phvr8r (no map)
>)(VF)>](/var/cache/fonts/pk/modeless/adobe/helvetic/phvr8r.720pk)

Compression eliminated approximately 2398 bytes
8114 bytes written

It's clear that it uses the .720pk generated bitmap-font (with MF).
Also, I wonder why the .map files that are in the default config of
dvipdfm do no exist on my system...

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pc1-bilm 2.4.21-3-686 #1 Sun Jul 20 16:11:09 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages tetex-bin depends on:
ii  debconf                     1.3.22       Debian configuration management sy
ii  debianutils                 2.6.2        Miscellaneous utilities specific t
ii  dpkg                        1.10.18      Package maintenance system for Deb
ii  ed                          0.2-20       The classic unix line editor
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.2-4    GCC support library
ii  libkpathsea3                2.0.2-5.1    path search library for teTeX (run
ii  libpng12-0                  1.2.5.0-4    PNG library - runtime
ii  libstdc++5                  1:3.3.2-4    The GNU Standard C++ Library v3
ii  libwww0                     5.4.0-9      The W3C WWW library
ii  libxaw7                     4.2.1-12.1   X Athena widget set library
ii  mime-support                3.23-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.2-2      Larry Wall's Practical Extraction 
ii  t1lib1                      1.3.1-3      Type 1 font rasterizer library - r
ii  tetex-base                  2.0.2-5.1    Basic library files of teTeX
ii  xlibs                       4.2.1-12.1   X Window System client libraries
ii  zlib1g                      1:1.2.1-3    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: british, dutch, french[=patois], ngerman[=naustrian-neue_Rechtschreibung]
  tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
  tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true




Reply to: