|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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, although the boilerplate comes out okay. I didn't used to see this problem, but I can't say when it started. It occurs in IW and Epiphany, using cups-pdf as well as IW's native print to pdf or ps functionality. I don't see the problem with ordinary webpages, just invoices, and even the latter render fine in the browser, I just can't save them (for later printing / viewing) properly as PDF's. The problem occurs with any invoice type page I try. Saving the file and running html2ps seems to work. Anyone seeing this, or know what could be wrong Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 ful to see what "pdffonts" reports for the problematic PDFs. In addition to that, is there a difference with the blurred fonts between display on screen and print? If the blurring is 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) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Wed, 09 Jul 2008 19:59:06 -0500
"Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> 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? I'll try. All the ones that are readily available contain personal information; I'll have to either sanitize one, or find an example without such information. Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Wed, 09 Jul 2008 19:59:06 -0500
"Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> 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? Ok, here are two cropped, sanitized versions of a Newegg invoice. This is a screenshot of the IW display of the webpage: http://lizzie.freehostia.com/newegg-web.jpg and this is a screenshot of a version printed with CUPS-PDF: http://lizzie.freehostia.com/newegg-pdf.jpg I see the same problem when printing to an actual printer, to a CUPS-PDF virtual printer, and when using IW's native print-to-file functionality. Is there any other information I can provide? Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Thu, 10 Jul 2008 21:06:19 +0200
Florian Kulzer <florian.kulzer+debian@icfo.es> 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 ful 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 name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- WQDACH+f-3-0 TrueType yes yes yes 142 0 [none] Type 3 yes no yes 36 0 [none] Type 3 yes no yes 21 0 [none] Type 3 yes no yes 47 0 RABYKY+f-4-0 TrueType yes yes yes 183 0 UFQSLH+f-5-0 TrueType yes yes yes 185 0 [none] Type 3 yes no yes 193 0 name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- NJCWTD+f-1-0 TrueType yes yes yes 10 0 RABYKY+f-0-0 TrueType yes yes yes 8 0 KPSHBO+f-4-0 TrueType yes yes yes 75 0 RDZRPI+f-5-0 TrueType yes yes yes 77 0 [none] Type 3 yes no yes 47 0 [none] Type 3 yes no yes 31 0 KPSHBO+f-6-0 TrueType yes yes yes 84 0 JBEEIF+f-7-0 TrueType yes yes yes 88 0 Unfortunately, I have no idea what any of this means :/ > 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. Thanks for your . > Florian | Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On 07/10/2008 10:37 PM, Celejar wrote:
> [...] > http://lizzie.freehostia.com/newegg-pdf.jpg > That is a mess. > I see the same problem when printing to an actual printer, to a > CUPS-PDF virtual printer, and when using IW's native print-to-file > functionality. > > Is there any other information I can provide? > Let's hope the PDFfonts avenue s. It seems that some bad font calculations occurred, and it may be due to bad font substitutions. Install the fonts required by the application that produces the invoice. If that's not possible, get very close substitutions. Also try inkscape 0.46, which can read, convert and fix some kinds of PDF files. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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 ful 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. > > 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? 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 then I would be interested in seeing the full CSS of the page, including the "print" style (if it is defined). -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On Fri, 11 Jul 2008 01:00:13 -0500
"Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> wrote: > On 07/10/2008 10:37 PM, Celejar wrote: > > [...] > > http://lizzie.freehostia.com/newegg-pdf.jpg > > > > That is a mess. > > > I see the same problem when printing to an actual printer, to a > > CUPS-PDF virtual printer, and when using IW's native print-to-file > > functionality. > > > > Is there any other information I can provide? > > > > Let's hope the PDFfonts avenue s. It seems that some bad font > calculations occurred, and it may be due to bad font substitutions. I posted some pdffonts output in another message in this thread, but as I said there, I have no idea what any of it means. > Install the fonts required by the application that produces the invoice. > If that's not possible, get very close substitutions. The pages I'm printing are from websites; they aren't produced by any application I'm running. What font packages should I have installed? I think I have a pretty standard set, but it's possible I'm missing something important. > Also try inkscape 0.46, which can read, convert and fix some kinds of > PDF files. Thanks, I'll look into that. Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
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 ful 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 > 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 . > Florian | Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
On Fri, Jul 11, 2008 at 18:42:51 -0400, Celejar wrote:
> On Fri, 11 Jul 2008 23:06:50 +0200 Florian Kulzer 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, [...] [...] > > 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: [...] > 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 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 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. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
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. > 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. I had the latter two installed, but not the MS fonts. I had actually tried earlier to install them to see if it would ; it didn't, so I removed them. I installed liberation, and my above pdffonts output is with gsfonts-x11, ttf-bitstream-vera and ttf-liberation all installed. What could be wrong? > Florian | Thanks, Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
[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 . 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
On Sun, Jul 13, 2008 at 09:30:05 -0400, Celejar wrote:
> [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 wrote: [...] > 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 Debian page, as well as other pages which had not been displaying > properly, now seem to be printing correctly. I am happy to hear that. > Thanks very much for your . Don't mention it; this is a nice opportunity to learn more about font management. > 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? You seem to be very selective when installing packages. There is nothing wrong with that, of course, but I would suspect that many users of "desktop" (as opposed to "server") machines just go for the metapackages and they are maybe also more liberal in installing "recommends" and "suggests". That could explain why the majority of users is less likely to run into this kind of problem. I now found a related bug (#489165) filed as "wishlist" against fontconfig-config. I think it would be good if you added a brief description of your problem to that bug report to give it more weight. > 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. Many packages could be relevant for this problem (ghostscript, cairo, freetype, poppler, gtk, ...), so it will probably be difficult to find out which specific upgrade broke your configuration. > c) Why is my pdffonts output so much uglier and less informative than > yours? I have the impression that the "nice" names show up for fonts that are widely used and whose names are accepted as standard. For other PDFs I see font names that are similar to your "ulgy" ones, e.g. LNFWNR+CMR10 (a "Computer Modern" font of Latex), CESJKL+FreeSans, or something like FCGNJC+AdvP4C4E74. If you want to run pdffonts yourself on the PDF that I printed from www.debian.org then you can download it here: http://users.icfo.es/Florian.Kulzer/...debian-org.pdf However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names before. Maybe you are still missing some other relatively important font-related package. Here is list of the ones that I have installed: http://users.icfo.es/Florian.Kulzer/...d-packages.txt -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
On Sun, 13 Jul 2008 19:09:09 +0200
Florian Kulzer <florian.kulzer+debian@icfo.es> wrote: > On Sun, Jul 13, 2008 at 09:30:05 -0400, Celejar wrote: .... > > 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? > > You seem to be very selective when installing packages. There is nothing > wrong with that, of course, but I would suspect that many users of > "desktop" (as opposed to "server") machines just go for the metapackages > and they are maybe also more liberal in installing "recommends" and > "suggests". That could explain why the majority of users is less likely > to run into this kind of problem. I do indeed disable automatic installation of recommends, and I periodically mark packages as automatically installed, and aggressively remove things. I'm not a script guru or linux expert, and much of my learning about system maintenance is through playing with things like package selection and kernel configuration options, to understand what things are, why they are or are not necessary, and what happens if they are removed or disabled. Sometimes (often) I find out the hard way ... > I now found a related bug (#489165) filed as "wishlist" against > fontconfig-config. I think it would be good if you added a brief > description of your problem to that bug report to give it more weight. Done. .... > > c) Why is my pdffonts output so much uglier and less informative than > > yours? > > I have the impression that the "nice" names show up for fonts that are > widely used and whose names are accepted as standard. For other PDFs I > see font names that are similar to your "ulgy" ones, e.g. LNFWNR+CMR10 > (a "Computer Modern" font of Latex), CESJKL+FreeSans, or something like > FCGNJC+AdvP4C4E74. If you want to run pdffonts yourself on the PDF that > I printed from www.debian.org then you can download it here: > http://users.icfo.es/Florian.Kulzer/...debian-org.pdf Running pdffonts on your PDF gives me the same list that you gave in your previous message. > However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names > before. Maybe you are still missing some other relatively important > font-related package. Here is list of the ones that I have installed: > http://users.icfo.es/Florian.Kulzer/...d-packages.txt You do have many installed that I don't have. If I get a chance, perhaps I'll try and see if installing everything you have accomplishes anything, and if so, I suppose the next step will be a bisection, to see which package(s) is / are the crucial one(s). In the meantime, here's my list (generated from the same command in your file): http://lizzie.freehostia.com/font-related-packages.txt > Florian | Thanks, Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#16 |
|
Messages: n/a
Hébergeur: |
On Sun, Jul 13, 2008 at 17:46:23 -0400, Celejar wrote:
> On Sun, 13 Jul 2008 19:09:09 +0200 Florian Kulzer wrote: [...] > > However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names > > before. Maybe you are still missing some other relatively important > > font-related package. Here is list of the ones that I have installed: > > http://users.icfo.es/Florian.Kulzer/...d-packages.txt > > You do have many installed that I don't have. If I get a chance, > perhaps I'll try and see if installing everything you have accomplishes > anything, and if so, I suppose the next step will be a bisection, to > see which package(s) is / are the crucial one(s). > In the meantime, here's my list (generated from the same command in your > file): > > http://lizzie.freehostia.com/font-related-packages.txt I would say that you have all the really important packages, as far as I can judge that. I realized that the Debian homepage is maybe not the best test case, due to the many non-latin characters that are required by the language names at the bottom of the page. Maybe the font names will be more conclusive if we confine our tests to latin character sets. I have now set up a simple font sample page here: http://users.icfo.es/Florian.Kulzer/...t-samples.html If you still want to experiment with this a bit more then you can print this page to a PDF and compare font names once again. I see these names listed in the output of pdffonts: BitstreamVeraSansBold BitstreamVeraSans BitstreamVeraSerif URWBookmanL Courier NimbusSansL URWPalladioL NimbusRomanNo9L AndaleMono Arial ArialBlack ComicSansMS CourierNew Georgia Impact TimesNewRoman Verdana Webdings I think you should get the same output for all the postscript fonts (URWBookmanL, NimbusSansL = Helvetica, Courier, URWPalladioL = Palatino, NimbusRomanNo9L = Times). It will be interesting to see which fonts are used for the MS font names on your system; the ttf-liberation fonts should at least take care of Arial, TimesNewRoman and CourierNew. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#17 |
|
Messages: n/a
Hébergeur: |
On Mon, 14 Jul 2008 21:39:43 +0200
Florian Kulzer <florian.kulzer+debian@icfo.es> wrote: > On Sun, Jul 13, 2008 at 17:46:23 -0400, Celejar wrote: > > On Sun, 13 Jul 2008 19:09:09 +0200 Florian Kulzer wrote: > > [...] > > > > However, I don't recall ever seeing these "DEDVIP+f-0-0" kinds of names > > > before. Maybe you are still missing some other relatively important > > > font-related package. Here is list of the ones that I have installed: > > > http://users.icfo.es/Florian.Kulzer/...d-packages.txt .... > I realized that the Debian homepage is maybe not the best test case, due > to the many non-latin characters that are required by the language names > at the bottom of the page. Maybe the font names will be more conclusive > if we confine our tests to latin character sets. I have now set up a > simple font sample page here: > > http://users.icfo.es/Florian.Kulzer/...t-samples.html > > If you still want to experiment with this a bit more then you can print > this page to a PDF and compare font names once again. I see these names > listed in the output of pdffonts: > > BitstreamVeraSansBold > BitstreamVeraSans > BitstreamVeraSerif > URWBookmanL > Courier > NimbusSansL > URWPalladioL > NimbusRomanNo9L > AndaleMono > Arial > ArialBlack > ComicSansMS > CourierNew > Georgia > Impact > TimesNewRoman > Verdana > Webdings > > I think you should get the same output for all the postscript fonts > (URWBookmanL, NimbusSansL = Helvetica, Courier, URWPalladioL = Palatino, > NimbusRomanNo9L = Times). It will be interesting to see which fonts are > used for the MS font names on your system; the ttf-liberation fonts > should at least take care of Arial, TimesNewRoman and CourierNew. Hmm, I still get unful output: $ pdffonts PDF/A_simple_test_page_for_common_fonts.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- XXCIFJ+f-1-0 TrueType yes yes yes 10 0 QEHNHK+f-8-0 TrueType yes yes yes 40 0 UFQSLH+f-3-0 Type 1C yes yes no 14 0 ITPEVV+f-0-0 TrueType yes yes yes 8 0 PGUGBG+f-10-0 TrueType yes yes yes 44 0 VRBBWM+f-9-0 TrueType yes yes yes 42 0 HSAEUE+f-6-0 Type 1C yes yes no 32 0 VNZQXL+f-2-0 TrueType yes yes yes 12 0 [none] Type 3 yes no yes 22 0 [none] Type 3 yes no yes 39 0 [none] Type 3 yes no yes 31 0 > Florian | Most of the fonts look quite good. The exceptions are Courier, Helvetica and Times, which are once again blocky and pixellated. Here's the PDF I created: http://lizzie.freehostia.com/A_simpl...mmon_fonts.pdf And here's a detail, viewed in Evince at 400%: http://lizzie.freehostia.com/font-page-400.jpg Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#18 |
|
Messages: n/a
Hébergeur: |
On Mon, Jul 14, 2008 at 20:30:05 -0400, Celejar wrote: > On Mon, 14 Jul 2008 21:39:43 +0200 Florian Kulzer wrote: [...] > > If you still want to experiment with this a bit more then you can print > > this page to a PDF and compare font names once again. I see these names > > listed in the output of pdffonts: [...] > Hmm, I still get unful output: > > $ pdffonts PDF/A_simple_test_page_for_common_fonts.pdf > name type emb sub uni object ID > ------------------------------------ ----------------- --- --- --- --------- > XXCIFJ+f-1-0 TrueType yes yes yes 10 0 > QEHNHK+f-8-0 TrueType yes yes yes 40 0 > UFQSLH+f-3-0 Type 1C yes yes no 14 0 [...] < |