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

Re: Blurry fonts in printed invoices



On Fri, 11 Jul 2008 23:06:50 +0200
Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:

> On Thu, Jul 10, 2008 at 23:48:18 -0400, Celejar wrote:
> > On Thu, 10 Jul 2008 21:06:19 +0200 Florian Kulzer wrote:
> > > On Wed, Jul 09, 2008 at 19:59:06 -0500, Mumia W.. wrote:
> > > > On 07/09/2008 07:52 PM, Celejar wrote:
> > > >> Hi,
> > > >>
> > > >> I've recently been having a great deal of trouble getting my browsers
> > > >> to save invoices as PDF's.  The fonts for the personalized part of the
> > > >> page are illegibly blurry, [...]
> > > >>
> > > >
> > > > I haven't seen that. Could you mock-up some samples for others to test with?
> > > 
> > > It might also be helpful to see what "pdffonts" reports for the
> > 
> > Some examples, all from PDFs that exhibit at least some bad fonts:
> > 
> > name                                 type              emb sub uni object ID
> > ------------------------------------ ----------------- --- --- --- ---------
> > WQDACH+f-4-0                         TrueType          yes yes yes    164  0
> > [none]                               Type 3            yes no  yes     94  0
> > [none]                               Type 3            yes no  yes     24  0
> > [none]                               Type 3            yes no  yes     15  0
> > [none]                               Type 3            yes no  yes     54  0
> 
> [...]
> 
> > Unfortunately, I have no idea what any of this means :/
> 
> It would be good to know if you also see the nameless type 3 fonts
> listed for PDFs that you generate from other web pages, e.g. the Debian
> homepage.

I do.  For http://www.debian.org:

A screenshot of my browser's (IW) display of the page, at what is
apparently the maximum zoom (by pressing <CTRL>-++ until no further
change seemed forthcoming):

http://lizzie.freehostia.com/www.debian.org.jpg

A PDF created with CUPS-PDF:

http://lizzie.freehostia.com/www.debian.org.pdf

A screenshot of that PDF viewed in Evince at 400%:

http://lizzie.freehostia.com/www.debian.org.pdf.jpg


The pdffonts output for that PDF:

name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
RRTVUI+f-0-0                         TrueType          yes yes yes      9  0
PGUGBG+f-1-0                         TrueType          yes yes yes     13  0
VKJNGT+f-4-0                         TrueType          yes yes yes     88  0
[none]                               Type 3            yes no  yes     20  0
[none]                               Type 3            yes no  yes     32  0
MFZMRR+f-5-0                         TrueType          yes yes yes     99  0
GMTXSU+f-7-0                         Type 1C           yes yes yes    103  0
RXRETH+f-6-0                         Type 1C           yes yes yes    101  0
[none]                               Type 3            yes no  yes    115  0
[none]                               Type 3            yes no  yes    108  0
[none]                               Type 3            yes no  yes    112  0

> > > problematic PDFs. In addition to that, is there a difference with the
> > > blurred fonts between display on screen and print? If the blurring is
> > 
> > The problem appears even on screen.
> > 
> > > visible on the screen as well, can you provide zoomed-in screenshots of
> > > a good and a bad part? (assuming you can find clippings that illustrate
> > > the problem without revealing any sensitive information)
> > 
> > I have posted some screenshots in another message to the list, although
> > I have the feeling that they may not be very useful.  If you can
> > suggest any improvements on them, I'll be glad to post more.
> 
> Your browser screenshot seems fine to me, aside from the jpeg
> compression artefacts. The PDF (evince?) screenshot confuses me a bit,
> because I see two distinct problems: The personalized part is typeset in
> a font that is too small and has very bad hinting, and the boilerplate
> text seems to exhibit an issue with the kerning (character spacing). Can
> you clarify which problem we are trying to solve right now and provide a
> higher-magnification zoom (at least 400%) of a relevant part?

The primary problem is the horribly blurry, blocky, pixellated font
that much of the newegg page is using, although I'm also concerned
about the tiny font of the personalized part.  [In my original message,
I said I was concerned with the personalized part, but that was really
the case for other pages.  The main problem is what appears in the
non-personalized part of the newegg page.]

On the Debian PDF screenshot, all the fonts are legible, but the ones
on the sidebar and running across the top of the page are really ugly
(blocky and pixellated).

> At the moment I suspect that some bad/unusual CSS font specifications in
> the invoice web page are to blame for triggering the use of the type 3
> fonts in the PDF. You could try to install the iceweasel-webdeveloper
> extension; this will give you an easy way to view the CSS and disable it
> fully or partially.  Maybe this will be enough to make the produced PDFs
> legible again. Increasing the minimum font size in the iceweasel
> preferences is another quick thing to try. If that all does not help
> then I would be interested in seeing the full CSS of the page, including
> the "print" style (if it is defined).

I'm going to hold off on this, since insofar as it seems to occur even
with the Debian page, it seems to be something wrong with my
configuration.

Thanks very much for the help.

>           Florian   |

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: