Re: Font problems with pdflatex
Hilmar Preusse <hille42@web.de> wrote:
> On 23.08.05 Joerg Sommer (joerg@alea.gnuu.de) wrote:
>
>> after having latex 3 running, I have a problem with fonts in pdf
>> files. This is a well known theme, but with the old latex packages
>> I had no problems.
>>
>> Attention: I don't know anything about this theme. I have some
>> conjectures, but they might be totaly wrong.
>>
>> Do pdflatex have problems finding the correct font?
>>
>> \documentclass[draft,german,12pt]{scrartcl}
>> \usepackage[T1]{fontenc}
OK, in my big latex file, I use the packages ae and helvet, too. But
adding them has no influence on the output.
>> \begin{document}
>> Some text to see if the output looks good in xpdf.
>> \end{document}
>>
>> The pdf looks very ugly in xpdf.
>>
> That shouldn't have worked before either.
So something else is wrong. Which packages should I use to get a good
looking pdf file?
But I can compile the file with a latex 2 system and the pdf[1] looks
good, with the new latex 3 it[2] looks bad.
[1] http://www.minet.uni-jena.de/~joergs/test-2.pdf
[1] http://www.minet.uni-jena.de/~joergs/test-3.pdf
Build of test-2.pdf:
#v+
$ pdflatex test.latex
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./test.latex{/usr/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, italian, latin, magyar, norsk, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2003/01/31 v2.9n LaTeX2e KOMA document class
(/usr/share/texmf/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2003/01/31 v2.9n LaTeX2e KOMA package
Copyright (C) Markus Kohm
) (/usr/share/texmf/tex/latex/base/size12.clo)
(/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package typearea, 2003/01/31 v2.9n LaTeX2e KOMA package
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-2002
)) (/usr/share/texmf/tex/latex/psnfss/helvet.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/ae/ae.sty
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def)
(/usr/share/texmf/tex/latex/ae/t1aer.fd)))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
LaTeX Warning: Unused global option(s):
[german].
No file test.aux.
[1{/var/lib/texmf/dvips/config/pdftex.map}] (./test.aux) ){/usr/share/texmf/dvi
ps/tetex/f7b6d320.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmr12.pfb>
Output written on test.pdf (1 page, 7372 bytes).
Transcript written on test.log.
$ pdffonts test.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
HALOIV+CMR12 Type 1 yes yes no 6 0
#v-
Build of test-3.pdf:
#v+
$ pdflatex test.latex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./test.latex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2004/09/16 v2.9t LaTeX2e KOMA document class
(/usr/share/texmf/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2004/09/16 v2.9t LaTeX2e KOMA package
Copyright (C) Markus Kohm
) (/usr/share/texmf/tex/latex/base/size12.clo)
(/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package typearea, 2004/09/16 v2.9t LaTeX2e KOMA package
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-2002
)) (/usr/share/texmf/tex/latex/psnfss/helvet.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/ae/ae.sty
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def)
(/usr/share/texmf/tex/latex/ae/t1aer.fd)))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
LaTeX Warning: Unused global option(s):
[german].
No file test.aux.
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) ) </var/cac
he/fonts/pk/ljfour/public/cm/cmr12.600pk>
Output written on test.pdf (1 page, 7539 bytes).
Transcript written on test.log.
$ pdffonts test.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
[none] Type 3 yes no no 4 0
#v-
The same file with latex 2.0.2c (Sarge) and one time with latex 3.0
produce differt pdffiles. Why?
Bye, Jörg.
--
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!
Reply to: