# How to generate pdf without any Type3 fonts?

For a publisher I have to generate a pdf file which does not contain any Type3 fonts.

Until now I thought that using `pdflatex` on current LaTeX distributions should be enough to get a pdf file without any Type3 fonts, but for the current document this is not true:

``````\$ pdffonts paper.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
ZFUCHW+NimbusRomNo9L-Medi            Type 1            yes yes no      41  0
VNQOQC+NimbusRomNo9L-Regu            Type 1            yes yes no      42  0
[none]                               Type 3            yes no  no      43  0
NXAFJF+NimbusRomNo9L-ReguItal        Type 1            yes yes no      46  0
CBNMRR+NimbusRomNo9L-MediItal        Type 1            yes yes no      48  0
MNSAJN+NimbusRomNo9L-Regu-Slant_167  Type 1            yes yes no      52  0
FJTKHV+CMSY7                         Type 1            yes yes no      53  0
VVITQE+CMMI9                         Type 1            yes yes no      54  0
CHSHRJ+CMR9                          Type 1            yes yes no      56  0
EAPUQB+CMR6                          Type 1            yes yes no      57  0
KBHVYI+CMMI6                         Type 1            yes yes no      58  0
EHULJT+CMTI9                         Type 1            yes yes no      59  0
JLLCEK+CMSY9                         Type 1            yes yes no      61  0
YEIEPQ+CMEX9                         Type 1            yes yes no      64  0
DFKMIY+CMSY8                         Type 1            yes yes no      84  0
NEDAGG+CMSY6                         Type 1            yes yes no      87  0
QDTWCG+MSBM10                        Type 1            yes yes no     127  0
[none]                               Type 3            yes no  no     198  0
OKAOPP+CMMI8                         Type 1            yes yes no     199  0
TIGOKK+CMR8                          Type 1            yes yes no     200  0
GWSFMB+CMTI8                         Type 1            yes yes no     201  0
[none]                               Type 3            yes no  no     397  0
``````

I am surprised that all the Type3 fonts haven't a real name.

The document uses the `sigplanconf` documentclass. For figures only the `tikz` and `listings` packages are used (no graphicx package is used, i.e. no `\includegraphics` is used and no postscript files are embedded).

I am using Ubuntu 10.04 with TeX Live:

``````\$ pdflatex --version
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
``````

I have found an ACM FAQ about Type1 fonts, but it seems to be outdated and the suggested method still yield pdf files with Type3 fonts.

pk fonts: Looking for `pk` fonts in the doc.log find I found this ouput:

`````` 75i,27n,56p,866b,2711s stack positions out of 5000i,500n,10000p,200000b,50000s
</mnt/max/.texmf-var/fonts/pk/ljfour/jknappen/ec/ectt0800.600pk> </mnt/max/.texmf-var/fonts
/pk/ljfour/jknappen/ec/ectt0900.600pk>{/usr/share/texmf-texlive/fonts/enc/dvips/base/8r.enc}
</mnt/max/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecss0900.600pk>
``````

What could be reasons for this? Is some font package missing? Or has it something to do with tikz?

-
Installing the cm-super fonts package seems to be the easy answer to me. –  user18839 Sep 17 '12 at 20:18
@Ryan, this is already mentioned in an upvoted comment of the accepted answer. Please upvote it as well. You could even post a new short answer to the same effect - which I would upvote. –  maxschlepzig Sep 20 '12 at 18:11

Look at the end of the log-file of pdflatex. It will tell you which fonts are included and which are bitmap (pk) fonts.

-
Thanks, I've found some pk fonts the log file (see the update) - I have no real idea, where they are coming from, though ... –  maxschlepzig May 20 '11 at 13:27
Install the cm-super fonts. –  Ulrike Fischer May 20 '11 at 14:02
thanks a lot, with the `cm-super` package installed there aren't any Type3 fonts included anymore in the pdf file. –  maxschlepzig May 20 '11 at 14:09

A Type 3 font is not by default a bitmap font. It means only not a Type 1 one. This is the reason why a Type 3 font can also be a vector font. If there is no listed pk font in the log file, then you have such a type 3 font included. It may also be loaded by an image with `\includegraphics`

-
Ok, I've found some pk fonts and I am not using `includegraphics` (updated the question). –  maxschlepzig May 20 '11 at 13:29
then show exactly your font setting in the preamble. However, it looks like that you are using the package times instead of mathptmx. Right? –  Herbert May 20 '11 at 14:00
no, I am not using the `times` package - the system was missing the `cm-super` package - see my comment to Ulrike Fischer's answer. –  maxschlepzig May 20 '11 at 14:12