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

Bug#762338: Generated PDF has tiny font size



On Mon 13 Oct 2014 at 14:48:06 +0200, martin f krafft wrote:

> also sprach Jonas Smedegaard <dr@jones.dk> [2014-10-11 00:05 +0200]:
> > No clue, just an idea: I suspect those two applications each compose 
> > Postscript/PDF on their own - i.e. same symptoms but independent bugs.
> 
> This is highly unlikely, isn't it?
> 
> I will write to the list…

There are two observations made in the initial mail. The first involves
the command

   echo bla | lpd -d PDF

The PDF produced by cups-pdf using ghostscript was attached to the mail.
In terms of font type (freemono) and font size it is exactly what I get
too. I'd venture to say it is what everyone should expect to get.

Before proceeding with a reason I'd like to point out there is a mismatch
between the PDF and the error_log in that the log does not correspond to
the print job above. Firstly, there is no texttopdf filter invoked.
Secondly, the submitted document is a PDF:

 D [21/Sep/2014:12:17:22 +0200] [Job ???] Auto-typing file...
 I [21/Sep/2014:12:17:22 +0200] [Job ???] Request file type is application/pdf.

Thirdly, the document has a title but was submitted on stdin:

 D [21/Sep/2014:12:17:22 +0200] [Job 25] argv[3]="django-gitcms/load.py at master · luispedro/django-gitcms"

It turns out not to be important but it took a little time for me to
cotton on. :)

The so-called small fonts? They were chosen to produce a good output on
paper (which we why we use cups). Any larger and the text lines would be
broken or overflow the margins. That is also why a monospaced font is
used; I think it goes back to the typewriter days. I do not think there
is a bug here.

The second observation concerns iceweasel. Please would you try

 Edit -> Preferences -> Content -> Advanced

and try altering "Size" for "Monospace". That should do it.

Note that iceweasel submits a PDF to cups, not text.


Regards,

Brian.


Reply to: