Thanks Ulf & Adib for your replies,
I installed Cairo 1.2 on my Ubuntu Dapper workstation, applied the Cairo
patch to Inkscape svn sources and recompiled - it went well and
'ldd /usr/local/bin/inkscape' shows all dependencies met. But alas,
still no bitmaps in files saved as PDF...
So I implemented a solution that DOES work (in deed not in code) and
with this method I can successfully export a PDF with bitmaps, text and
vectors that look exactly like what I see onscreen on my inkscape
1. downgrade inkscape back to 0.43 (bitmaps recognised by PDF export)
2. open your SVG and remove all text and vectors from the canvas
3. export remaining bitmaps as a single high resolution bitmap
(this step avoids those black rectangles that result from PDF
export process mangling transparent bitmaps)
4. revert to the original SVG (containing ALL elements)
5. import the bitmap generated in step 3, resize & position it
6. remove the individual bitmap images that are now redundant
7. select all text elements and select: PATH > OBJECT TO PATH
this ensures that the PDF conversion process does not mess with
your font appearance
8. SAVE as PDF and view with acroread
A long work-around , I know, but I am intent on using open source -
eventho' my CEO has been waiting for her PDFs for over 3 weeks now and
she has threatened to outlaw Linux from the organisation... Until such
time as Cairo pdf-export delivers, the above workaround has saved me
from having to listen to the 'microsoft sound' before begrudgingly
starting up Freehand or some such beourgois 'design solution'.
Any request or suggestions are welcome.
May the FOSS be with you!
On Tue, 2006-07-11 at 11:35 +0200, Ulf Erikson wrote:
Adib Taraben wrote:
> Werner van Staden schrieb:
> > I upgraded to 0.44 (using svn) for the enhanced transparency handling
> > but - altho' I do get vector graphics retaining their transparency when
> > saving to PDF - I am now losing all .png .jpg and bitmaps. They don't
> > show up at all.
The new PDF exporter writes PDF directly while the earlier PDF
exporter actually wrote postscript files that where converted to PDF
files. This limited the resulting PDF to features available in PS (no
transparency, for instance), but being new and immature the new PDF
exporter miss several features the old PS->PDF conversion had; such as
text objects and embedded bitmaps.
The plan with including the new PDF exporter in 0.44 was/is to have a
Google student extend/rewrite it (or maybe just use it as a study
object and later abandon it) and finally make Inkscape export PDF
files by use of Cairo.
Bugs filed today on dash-patterns, miter-limits and transparency will
directly help the next PDF exporter.
> This is a known limitation :-(
Maybe these are a more accurate links:
You can always use the old route and go SVG->PS->PDF if you need
images. Simply re-activate the old ps2pdf.inx extension you are back
with the same PDF exporter is 0.43.
> There is a patch available that does pdf export via cairo library.
Err.. bug-fixes to the current PDF exporter are not picked-up?
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Inkscape-user mailing list