[poppler] Splash rendering problems
Albert Astals Cid
aacid at kde.org
Sun Dec 21 12:18:00 PST 2008
A Diumenge 21 Desembre 2008, Тодор Африкански va escriure:
> I have some rendering problems with the splash engine and I need some help.
> I'm writing this application able to display PDF files and I use poppler. I
> am using the D language, so I have wrapped most native poppler C++ classes
> in C functions and put them in a MSVS DLL. Everything works fine, besides
> this. Some elements on some pages in certain files appear completely masked
> with random color, sometimes even gradients. For example the text. The text
> on some pages appear completely filled with random color. Or sometimes the
> text is fine but the images are just color rectangles. Or some part of the
> text is fine and the rest is not. It is very strange. I am looking for
> advice where to look for the problem as I have no idea what could be
> causing this. This behavior is specific for each PDF file. Only that
> everytime I reopen the application with the same file the mask color is
> I'm attaching a screenshot showing the problem. Additionally here is a copy
> of the image: http://paintballforce.com/_tmp/Clipboard01.png . Almost all
> pages in this example are displayed corretly, but few of them look like on
> the screenshot. Notice that it is not the whole page that is misrendered.
> I've tried the problematic documents with old version of SumatraPDF that
> still has poppler engine in it and they look fine. So the problem is not
> that these pdfs are not supported by poppler.
> Thank you,
Well, as you put it, poppler is not at fault, so it would seem your bindings
are at fault, we can't tell you much more, other than you could try to
compile a recent poppler on windows and see if it works or not.
More information about the poppler