![](https://secure.gravatar.com/avatar/b47d036b8f12e712f4960ba78404c3b2.jpg?s=120&d=mm&r=g)
2010/9/23 bulia byak <buliabyak@...400...>:
The reported bug which PARSE_HUGE fixes was not about text node sizes, but about depth of recursion which was limited to 256. Some PDF files produce deeper grouping than that when imported into Inkscape. Which may be caused by a bug in Poppler, but in any case this sounds like an unreasonable limit to me.
OK, sounds good.
Also worth investigating is whether using poppler-glib to draw to a Cairo SVG surface and then postprocessing the output (e.g. remove excess grouping) produces better results than using internal Poppler APIs directly. For me, the poppler-glib + Cairo route works better when importing certain PDFs - I have attached one of them. The current way will not import atom labels, while using pdf2svg (which uses the route mentioned above) works correctly; the result of pdf2svg conversion is attached as hpesw.svg.
Regards, Krzysztof