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

[Mostly Solved] Re: Blurry fonts in printed invoices



[Responding to my own message.  I had neglected to restart X after
installing ttf-liberation.  The problem seems to be fixed after doing
so.]

On Sat, 12 Jul 2008 23:41:48 -0400
Celejar <celejar@gmail.com> wrote:

> On Sat, 12 Jul 2008 16:00:09 +0200
> Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
> 
> ...
> 
> > Here is what I get when I print www.debian.org to a PDF with iceweasel
> > 3.0~rc2-2 (output of pdffonts v3.00 from poppler-utils 0.8.4-1.1):
> > 
> > name                                 type              emb sub uni object ID
> > ------------------------------------ ----------------- --- --- --- ---------
> > CairoFont-0-0                        CID Type 0C       yes no  yes      6  0
> > BitstreamVeraSans                    CID TrueType      yes no  yes      9  0
> > ArialBold                            CID TrueType      yes no  yes     11  0
> > Arial                                CID TrueType      yes no  yes     12  0
> > DejaVuSansBold                       CID TrueType      yes no  yes     17  0
> > BitstreamVeraSansMono                CID TrueType      yes no  yes     18  0
> > CairoFont-6-0                        CID Type 0C       yes no  yes     73  0
> > KochiGothic                          CID TrueType      yes no  yes     74  0
> 
> I get (same IW, pdffonts 3.02 from xpdf-utils 3.02-1.3):
> 
> name                                 type              emb sub uni object ID
> ------------------------------------ ----------------- --- --- --- ---------
> VKJNGT+f-4-0                         TrueType          yes yes yes     88  0
> RRTVUI+f-0-0                         TrueType          yes yes yes      9  0
> PGUGBG+f-1-0                         TrueType          yes yes yes     13  0
> [none]                               Type 3            yes no  yes     20  0
> [none]                               Type 3            yes no  yes     32  0
> GMTXSU+f-7-0                         Type 1C           yes yes yes    103  0
> RXRETH+f-6-0                         Type 1C           yes yes yes    101  0
> MFZMRR+f-5-0                         TrueType          yes yes yes     99  0
> [none]                               Type 3            yes no  yes    108  0
> [none]                               Type 3            yes no  yes    112  0
> [none]                               Type 3            yes no  yes    115  0
> 
> Which is pretty much what I reported in my previous message.

Now, with liberation added and X restarted, I get this:

name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DEDVIP+f-0-0                         TrueType          yes yes yes      9  0
LRSXWR+f-3-0                         TrueType          yes yes yes     17  0
VKJNGT+f-4-0                         TrueType          yes yes yes     20  0
WQHWKD+f-2-0                         TrueType          yes yes yes     15  0
PGUGBG+f-1-0                         TrueType          yes yes yes     13  0
MFZMRR+f-5-0                         TrueType          yes yes yes     31  0
GMTXSU+f-7-0                         Type 1C           yes yes yes     35  0
RXRETH+f-6-0                         Type 1C           yes yes yes     33  0
[none]                               Type 3            yes no  yes     44  0
[none]                               Type 3            yes no  yes     40  0
[none]                               Type 3            yes no  yes     57  0

I have two fewer no-name fonts, but my named ones still have
meaningless names, not the nice ones you get.  I also still have eleven
fonts reported, to your seven.  Do you know what this is all about?  [I
tried replacing xpdf-utils with poppler-utils, to get your pdffonts,
but the output is identical.]

> > The text that looks OK in your PDF has no CSS font specifications
> > associated with it, so iceweasel should render it using your configured
> > default font. The elements with the ugly fonts in the PDF, on the other
> > hand, all have this CSS declaration:
> > 
> > font-family: Arial,Helvetica,sans-serif;
> > 
> > Here is how my system matches these names:
> > 
> > $ for F in Arial Helvetica sans-serif; do fc-match $F; done
> > Arial.ttf: "Arial" "Normal"
> > n019003l.pfb: "Nimbus Sans L" "Regular"
> > Vera.ttf: "Bitstream Vera Sans" "Roman"
> > 
> > These font files come from the packages msttcorefonts, gsfonts-x11, and
> > ttf-bitstream-vera, respectively. Do you have these packages installed?
> > If not, does installing them give you nicer fonts in the PDF? If you do
> > not want to befoul your system with the evil runes of Redmond then you
> > could try installing ttf-liberation instead.

The Debian page, as well as other pages which had not been displaying
properly, now seem to be printing correctly.

Thanks very much for your help.  I am still baffled, though, by several
things:

a)  Should printing really be so crippled on Debian, with its emphasis
on freedom, if the MS fonts, or at least the liberation drop-ins,
aren't installed?  The only package which depends on liberation is the
openoffice meta-package, which I don't have installed, although I do
have writer.  Should I file a bug?  Against what?  And am I really the
first one to be bitten by this?

b)  I don't seem to have seen this problem until fairly recently (I
believe within the last few months).  I don't think I even had the MS
fonts or the liberation drop-ins installed.

c)  Why is my pdffonts output so much uglier and less informative than
yours?

> >           Florian   |

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


Reply to: