Re: Placing SVG Text into PDF

Jeremias Maerki <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
Peppo,
I assume you're using the current Batik release. I recommend you
download Apache FOP 1.0 [1] and switch Batik's pdf-transcoder.jar with
FOP's build/fop-transcoder-allinone.jar. There have been some
improvements since the last Batik release and since the FOP 0.95 release.
By default, the PDFTranscoder should be enabling the "auto-fonts"
feature and therefore make available all operating system fonts for use
in PDF output. [2] might also help.

[1] http://xmlgraphics.apache.org/fop/download.html
[2] http://wiki.apache.org/xmlgraphics-fop/SvgNotes/PdfTranscoderTrueTypeEmbedding

On 30.08.2011 09:30:50 Peppo Herney wrote:
> Hello,
> 
> I use batik to convert svg files to pdf files. It would be very helpful to
> have the text in the pdf version still as searchable text and not drawn as
> shapes by Batik, using the stroking text painter.
> In the manual [1] it says "Batik will use normal PDF text [...], if the text
> can be drawn normally and the font is supported". I tried with a few svg
> files, but the text was always rendered.
> Can anybody please give me a hint under which circumstances or font batik
> produces regular text in the pdf file?
> 
> Cheers
> 
> [1] http://xmlgraphics.apache.org/fop/0.95/graphics.html#svg-pdf-text
> 
> Peppo Herney
> Geoinformatiker
> 
> EBERHARD & Partner AG
> General Guisan-Strasse 2
> 5000 Aarau
> Telefon +41 (0) 62 834 40 60
> Direkt  +41 (0) 62 834 40 63
> Fax     +41 (0) 62 834 40 61
> 
> [email protected]
> 
> www.eberhard-partner.ch - Ihr Partner für geothermische Anlagen
> www.heizanlagenvergleich.ch - Was kostet Ihre neue Heizung?
> www.info-geothermie.ch - Informationsstelle Geothermie
> www.vgka.ch - Strom aus Aargauer Erdwärme
> 


Gruess vo Lozärn
Jeremias Maerki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.