2012/5/8 Jasper van de Gronde <th.v.d.gronde@...528...>:
On 07-05-12 07:20, Solor Vox wrote:
Hello,
I've been trying to solve a 2+ year issue with inkscape and my printing device (laser cutter) not accepting paths as vectors. All I can seem to get out of inkscape is rastered images. Yes, exporting to PDF works, but it's not a fix and not a great solution either.
As such, I've been digging in the code to inkscape versions 0.46 to 0.48.2 on a win32 platform.
Why was a call to cairo PS level 3 commented out on line 101? And can you tell me if the call to renderItem() is sending bitmap or vector data to the surface? Where in the code chain might the vector paths be rastered?
My guess is that there were so many issues with trying to print vector images that someone just figured it would be easier to print a bitmap. Inkscape's rasterization is in general done in the src\display directory.
Probably that's true, or the incorrect rasterizer was used.
There are actually *two* renderers in Inkscape: one is used for interactive display and PNG export and produces bitmaps exclusively, the other is used for e.g. PDF export, is noninteractive and can also produce vector images. It should be fairly simple to handle printing through a slightly modified form of the PDF exporter.
Regards, Krzysztof