pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Kuhnert <jesse.kuhn...@everyonecounts.com>
Subject Re: pdfrenderer unicode characters in latest 2.1.0-SNAPSHOT ?
Date Thu, 17 Mar 2016 16:41:04 GMT
I already un-subscribed so not sure this will get through but I resolved my
problem finally by first calling PDDocument.save() and then
PDDocument.load() on the saved pdf before attempting to render images.

Previously as last step before saving pdf we would render the images out.
I'm not sure if the image render would work if I just called .save() first
or not but I'm just happy it's working again.

On Wed, Mar 16, 2016 at 2:29 PM, Tilman Hausherr <THausherr@t-online.de>

> Am 16.03.2016 um 22:23 schrieb Jesse Kuhnert:
>> It appears as if the java2d font rendering logic in new 2.x versions
>> missed
>> something with unicode support. I have pdfs being output wonderfully with
>> my sample unicode text (bengali in this case) but when we try to produce
>> images any glyphs we have which aren't english appear to just be rendered
>> as "blank" somehow. (meaning the spacing and line heights look like there
>> is ghost text taking up space there but maybe that's just our logic for
>> laying out pdf)
>> Has anyone else tried to produce unicode based pdf images yet ?
> I just tried to render the file created with the EmbeddedFonts example and
> it works fine.
> Tilman
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message