> > I have the following LaTeX document: > > > > \documentclass[a4paper,12pt]{article} > > \begin{document} > > some text $int$ > > \end{document} > > > > Why pdflatex produces PDF with raster (Type 3) fonts by default, > > instead of vector? > > > > How to make PDF with vector fonts instead of raster? > > > > I don't know how to change latex defaults, but the following works for > me: add to the latex source: > > \usepackage[T1]{fontenc} > \usepackage{ae} > > then, generate the .pdf as follows: > > latex doc.tex > dvips -ta4 -Ppdf doc.dvi > ps2pdf -sPAPERSIZE=a4 doc.ps > > hth > > -- Alexandre
It hasn't helped. test.tex: \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} \usepackage{ae} \begin{document} some text $int$ \end{document} $ latex test.tex This is pdfTeX, Version 3.1415926-1.40.10 (PuffTeX-2009) entering extended mode (./test.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. (/usr/local/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/share/texmf-dist/tex/latex/base/size12.clo)) (/usr/local/share/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/share/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/share/texmf-dist/tex/latex/ae/ae.sty (/usr/local/share/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/share/texmf-dist/tex/latex/base/t1enc.def) (/usr/local/share/texmf-dist/tex/latex/ae/t1aer.fd))) No file test.aux. [1] (./test.aux) ) Output written on test.dvi (1 page, 276 bytes). Transcript written on test.log. $ dvips -ta4 -Ppdf test.dvi This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com) ' TeX output 2011.01.24:2040' -> test.ps kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/(2*4000) --dpi 8000 cmr12 mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode. mktexpk: /home/aix-d/.texlive2009/texmf-var/fonts/pk/dpdfezzz/public/cm/cmr12.8000pk already exists. </home/aix-d/.texlive2009/texmf-var/fonts/pk/dpdfezzz/public/cm/cmr12.8000pk> kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/(2*4000) --dpi 8000 cmmi12 mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode. mktexpk: /home/aix-d/.texlive2009/texmf-var/fonts/pk/dpdfezzz/public/cm/cmmi12.8000pk already exists. </home/aix-d/.texlive2009/texmf-var/fonts/pk/dpdfezzz/public/cm/cmmi12.8000pk> </usr/local/share/texmf/dvips/base/tex.pro> </usr/local/share/texmf/dvips/config/alt-rule.pro>. [1] $ ps2pdf -sPAPERSIZE=a4 test.ps It produces PDF with raster fonts :( Best regards, Alexander.