Re: Font problems with pdflatex
On Mon, 22 Aug 2005, Joerg Sommer wrote:
> Do pdflatex have problems finding the correct font?
>
> \documentclass[draft,german,12pt]{scrartcl}
> \usepackage[T1]{fontenc}
> \begin{document}
> Some text to see if the output looks good in xpdf.
> \end{document}
>
> The pdf looks very ugly in xpdf.
No. Probably (I don't know) not *all* lm-fonts are installed on tetex.
If you want to use type1-ec (=T1) fonts, it is a good idea to use
\usepackage{type1ec}
On texlive we also have only installed the 10pt lm-fonts, thus we have
to use
\usepackage[10pt]{type1ec}
With this I get:
$ cat bla.tex
\documentclass[draft,german,12pt]{scrartcl}
\usepackage[10pt]{type1ec}
\usepackage[T1]{fontenc}
\begin{document}
Some text to see if the output looks good in xpdf.
\end{document}
$ pdflatex bla.tex
...
$ pdffonts bla.tex
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
NROVWT+SFRM1000 Type 1 yes yes no 6 0
which looks good.
> Why is this not a Type 1 font?
Because it is a pixmap font. You probably have seen the generation while
running pdflatex, or the inclusion of a *pk font. ANd (I guess) pk fonts
are included in a format of Type3.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
sip:preining@at43.tuwien.ac.at +43 (0) 59966-690018
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GLASSEL (n.)
A seaside pebble which was shiny and interesting when wet, and which
is now a lump of rock, which children nevertheless insist on filing
their suitcases with after the holiday.
--- Douglas Adams, The Meaning of Liff
Reply to: