You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Uwe Möser <uw...@gmail.com> on 2017/06/08 14:13:21 UTC
embedded fonts in several documents
Hi,
I use the pdfbox to produce some documents with emmbedded true type fonts.
There for I take the function PDType0Font.load(PDDocument doc, TrueTypeFont
ttf, boolean embedSubset). Compare to iText this function is very slow. Do
you see any chance to optimize it?
Thanks,
Uwe.
Re: embedded fonts in several documents
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 08.06.2017 um 16:13 schrieb Uwe Möser:
> Hi,
>
> I use the pdfbox to produce some documents with emmbedded true type fonts.
> There for I take the function PDType0Font.load(PDDocument doc, TrueTypeFont
> ttf, boolean embedSubset). Compare to iText this function is very slow. Do
> you see any chance to optimize it?
Assuming that you're using 2.0.6 and are reusing the TrueTypeFont
object, no... we did optimize it last year. I could have another look
with the profiler, but for that I'd need a small project.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org