Thanks! I was able to get text working using this example from FOP: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleSVG2PDF.java?view=markup
-- John On 24 Jun 2014, at 15:57, Luis Bernardo <[email protected]> wrote: > > Can you check whether the resulting PDF just includes an image of the SVG (or > maybe an image per text segment). I would expect the rasterizer to do that. > > You can achieve what you want using FOP. Then you will get text. There are > some samples in examples/fo/svg of the FOP source. With the current FOP trunk > you can even configure the fonts used in the SVG text so that they are used > instead of letting AWT map them to some system font. > > On 6/24/14, 11:16 PM, John Hewson wrote: >> Hi All, >> >> I’m using the SVG Rasterizer to produce PDF files, from SVG files which >> contain <text> elements. However, the transcoded PDFs do not contain >> embedded text, so they’re not searchable. I can see the outlines of the >> text, but I can’t select it or copy and paste it in Acrobat. >> >> How can I produce a PDF with proper text in it? >> >> The input I’m using is just a test file from: >> http://xmlgraphics.apache.org/fop/dev/svg/text.svg >> >> I’m using the latest Batik 1.8pre from the trunk and Oracle JVM 24.51-b03 on >> OS X 10.9.3 >> >> Thanks >> >> -- John >> >
