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

Bug#337084: tetex-base: latex/dvips/ps2pdf produces buggy pdf files



Hi there.

On Nov 02 2005, Frank Küster wrote:
> When a pdf file is produced via latex/dvips/ps2pdf from the following
> document:
> 
> \documentclass[12pt,twoside]{scrbook}
> \usepackage[latin1]{inputenc}
> \usepackage[T1]{fontenc}
> \begin{document}
> Das ist ein Test.
> \end{document}

As someone who has suffered a lot about this, please let me give my 2
cents worth of comments on the matter.

I don't use srcbook (which, AFAIK, is from KOMA-Script), but I use
regular LaTeX styles and the problem that I see with this is, indeed,
the use of Type 3 fonts when generating the final PDF.

> it is not possible to search for anything (e.g. the letter a) in Acrobat
> Reader.  Don't yet know why...

If Acrobat Reader can't search for keywords in files generated via
latex/dvips/ps2pdf, I'd be slightly surprised, since in latter versions
they seem to have taken the approach of including even anti-aliasing for
Type 3 fonts in version 7.0 (I don't have it here installed---I'm trying
to keep my system with Free Software only as an exercise).

To circumvent this problem, there are some possibilities:

* use of lmodern;
* use of cm-super (my preferred solution);
* use of ae (which is a big-no-no if you have accented characters like
  in German or in Portuguese, since the ability to copy & paste such
  characters will be terrible, to say the least);
* use of packages like pxfonts, txfonts, mathpazo or mathptmx.

The good thing of using txfonts is that Base 14 fonts aren't usually
included in the final file and, thus, the PDF ends up having a much
smaller size, but this may present some problems for some people.

Well, I hope that this is at least a bit informative, if you didn't know
all this already (which I think you did).


Thanks, Rogério Brito.

-- 
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/



Reply to: