Summary: | Anti-aliasing does not work when reading a PDF | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Arthur <amp> |
Component: | Color | Assignee: | Michael Vrhel <michael.vrhel> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | CC: | bdecherf, cgilling, jesmith, manuelmorales |
Priority: | P2 | ||
Version: | 8.71 | ||
Hardware: | All | ||
OS: | All | ||
Customer: | 580 | Word Size: | --- |
Attachments: | The PDF that I am trying to convert |
Description
Arthur
2007-01-15 15:57:50 UTC
Created attachment 2681 [details]
The PDF that I am trying to convert
This is the PDF I had trouble with. It is an odd size (2.47in x 3.47in) and was
created by OpenOffice.org 2.
I have investigated more. I was using ESP GS 8.15 (not GPL GS). And on it the anti-aliasing works as long as no images with alpha are used on the OpenOffice document. I was using a PNG with an alpha channel. On GPL GS 8.54 the same PDFs cause problems, but they cause a segfault instead of incorrect rendering. This is a known issue that a PDF with transparency turns off anti-alias. This is probably a duplicate. Customer reports the same thing. I do get anti-alias effects on the black text using -dGraphicsAlphaBits=4 (text is filled areas, not real text), but only if I set -dNOTRANSPARENCY, and then the "logo" is seriously wrong. Attaching customer file. *** Bug 691821 has been marked as a duplicate of this bug. *** I'm also suffering from this one. Text not antialiased if a transparent object is behind. Using -dNOTRANSPARENCY makes text antialiased, but not useful as it disables transparency. Happens the same on Linux and Windows. This is the command I'm using: $ gs -q -dNOTRANSPARENCY -dDOINTERPOLATE -dNOPAUSE -dBATCH -r193 -dGraphicsAlphaBits=4 -sDEVICE=png16m -dTextAlphaBits=4 -dEPSCrop -dFirstPage=1 -dLastPage=1 -sOutputFile="slide-1.png" my_file.pdf Any progress on this? How can I help? It's very important for us to fix it. Email me for anything you could need. Hi Ray, I saw that in bug 691821 (the one marked as a duplicate of this bug) you had output that looked like this: Page 1 MediaBox: [ 612 792 ] Page 2 MediaBox: [ 612 792 ] Page uses transparency features I tried looking around the ghostscript checkout for something that would produce this output. The closest I would find was pdf_info.ps, but this doesn't print out transparency info. I was wondering if you could point me to what you used to produce this output (or perhaps modifications you make to the pdf_info.ps file if thats what you did), as I am trying to determine how big a problem this issue is for a project that I am working on. Thanks Fixed with rev 12341 |