You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by TestingStartups <my...@gmail.com> on 2012/08/04 06:05:07 UTC

Write strings with text formatting.

I want to be able to write superscripts and do other things like bold and italicization. I know i can some of those things by changing the font and size manually, but is there a simpler way?

basically, is there an easy method where i can format the text and have pdfbox write to it like a string? 




Re: Write strings with text formatting.

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,

Am 04.08.2012 06:05, schrieb TestingStartups:
> I want to be able to write superscripts and do other things like bold
> and italicization. I know i can some of those things by changing the font
 > and size manually, but is there a simpler way?
>
> basically, is there an easy method where i can format the text and have pdfbox
 > write to it like a string?
If you want to use PDFBox, no. Maybe you should have a look at Apache FOP [1]

BR
Andreas Lehmkühler

[1] http://xmlgraphics.apache.org/fop/