Re: How to render fonts as shape in Apache FOP 2.3

Matt Kynaston <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <CAKBO4j9uZQ=zybddb5TH4aWs9OyJJfqDz+k8szWQTQDB0KU38g@mail.gmail.com>
Apparently not:
https://cwiki.apache.org/confluence/display/XMLGRAPHICSBATIK/PdfTranscoder



On Tuesday, 3 September 2019, Schlatow, Sebastian <
[email protected]> wrote:

> Hello, I also have asked this question on stackoverflow:
>
> https://stackoverflow.com/questions/57656624/how-to-
> render-fonts-as-shape-in-apache-fop-2-3
>
> But even there I have not yet received an answer. Is it not possible to
> render fonts as curves / shapes anymore?
>
>
>
> Am Dienstag, den 27.08.2019, 07:55 +0000 schrieb Schlatow, Sebastian:
> > Hello,
> >
> > I want to update an old FOP 0.94 to the new FOP 2.3. In the old FOP
> > fonts are rendered as shapes. I would like to preserve this behavior,
> > so I tried to set the following to the PDFTranscoder.:
> >
> >    PDFTranscoder pdfTranscoder = new PDFTranscoder();
> >    pdfTranscoder.addTranscodingHint(PDFTranscoder.KEY_STROKE_TEXT,
> > Boolean.TRUE);
> >
> > but if do that, no fonts are rendered in the outcoming PDF.
> >
> > If I remove:
> >
> >    pdfTranscoder.addTranscodingHint(PDFTranscoder.KEY_STROKE_TEXT,
> > Boolean.TRUE);
> >
> > then the text is in outcoming PDF, but not rendered as shape.
> >
> > How can I tell FOP to render fonts as shapes?
> >
> >
> >
> > Best regards
> >
> > Sebastian Schlatow
> >
> >
> > CEWE Stiftung & Co. KGaA mit Sitz in Oldenburg; Registergericht
> > Oldenburg HR B 208214; Persönlich haftende geschäftsführende und
> > vertretungsberechtigte Gesellschafterin:
> > Neumüller CEWE COLOR Stiftung, Sitz: Oldenburg;
> > Stiftungsverzeichnis der rechtsfähigen Stiftungen des bürgerlichen
> > Rechts im Bezirk der Regierungsvertretung Oldenburg Nummer 15(034).
> > Stiftungsvorstand:
> > Dr. Christian Friege (Vorsitzender), Patrick Berkhouwer, Dr. Reiner
> > Fageth, Carsten Heitkamp, Dr. Olaf Holzkämper, Thomas Mehls, Frank
> > Zweigle
> > Aufsichtsrat:
> > Otto Korte (Vorsitzender)
> > UST ID-Nr. DE815453806; St.-Nr. 64/200/38999; GLN 40 04468 00000 4
>
>
> CEWE Stiftung & Co. KGaA mit Sitz in Oldenburg; Registergericht Oldenburg
> HR B 208214; Persönlich haftende geschäftsführende und
> vertretungsberechtigte Gesellschafterin:
> Neumüller CEWE COLOR Stiftung, Sitz: Oldenburg;
> Stiftungsverzeichnis der rechtsfähigen Stiftungen des bürgerlichen Rechts
> im Bezirk der Regierungsvertretung Oldenburg Nummer 15(034).
> Stiftungsvorstand:
> Dr. Christian Friege (Vorsitzender), Patrick Berkhouwer, Dr. Reiner
> Fageth, Carsten Heitkamp, Dr. Olaf Holzkämper, Thomas Mehls, Frank Zweigle
> Aufsichtsrat:
> Otto Korte (Vorsitzender)
> UST ID-Nr. DE815453806; St.-Nr. 64/200/38999; GLN 40 04468 00000 4
>


-- 


Matt Kynaston
Lead Developer
Tel: +441225851666
www.claritum.com

Claritum Limited. Registered Office: Minerva House, Lower Bristol Road, Bath,
BA2 9ER. Registered in England and Wales 3878694
PastedGraphic-4.tiff (image/tiff, 8.8 KB) - not displayed
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.