Summary: | x11alpha target has trouble with many PDF documents | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | D. Wagner <daw-misc> |
Component: | X Display Driver | Assignee: | Michael Vrhel <michael.vrhel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christinedelight.top85, henry.stiles |
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
D. Wagner
2011-01-04 02:06:39 UTC
Re-assigning x11alpha/transparency-related bugs to Michael, which owns most(all?) such issues. There are maybe 30+ such open x11alpha bugs the last time I checked, and probably should resolve as a duplicate of one of those. -dNOTRANSPARENCY sometimes helps, as is -dMaxBitmap=0 . These are somewhat long-standing and reasonably well-known workarounds. Please feel free to look into it and submit a patch if the reporter can fix it. Quite a few of those 30+ bugs are bountiable, and a fix would qualify for a bounty, if that's an incentive. BTW, "7% of PDF files found in the wild" is a bit misleading - it probably means "7% on a particular linux system". There are also a few cairo-related problems which Ken/Alex owns; unfortunately cairo is being used by quite a few popular open-source software like google chrome, inkscape, etc. X11 alpha wouldn't be acceptable as a viewer application even if it did print these file correctly, it is more a developer/debugging tool, it doesn't do anything other than display files. There are other programs that are ghostscript based viewers with usual viewer features, for example http://www.ghostscript.com/GSview.html. That said, we would like x11alpha to work better than it does but would much rather have an outside consultant with X11 expertise do the work. If you know somebody who knows X11 graphics programming we'd be happy to give them a consulting contract. Without that I'm not sure when x11alpha issues will bubble to the top of the priority list. We have considered disabling the device until the situation improves. It is probably appropriate to try to separate files for which -dNOTRANSPARENCY or -dMaxBitmap=0 works, and those which don't work with either. Also, please attach the failed files (or a subset of it), and also indicate whether they can be used publicly as test files. (instead of/in addition of being private/public bug attachments). As for the last point - I believe some of the files in http://svn.ghostscript.com/ghostscript/tests/pdf/ , http://svn.ghostscript.com/ghostscript/tests/ps/ does not work with x11alpha - and been waiting for some person to work on them in this respect among other purposes, but I could be wrong. This is probably related to bug 690487. Till tested -dMaxBitmap=0 and determined that it does work, but VERY slowly. The speed issue of not using an internal buffer is expected. issues with -dTextAlphaBits=4 -dGraphicsAlphaBits=4 have been addressed as of rev 12341. Please attach the problem files. If they are not attached I will close this bug. Many of these should be fixed with rev 12380. Since there are no files associated with this bug and I have asked for them I am closing it now as fixed. |