pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torgeir.ve...@gmail.com>
Subject PDFont.getStringWidth() throws IllegalArgumentException
Date Wed, 17 Jun 2015 04:17:08 GMT
Am trying out PDFBox 2.0.0-SNAPSHOT to get PDF embedding working, but
am getting exceptions with normal font routines.

On the string
"fagområder som: • skatterådgivning • regnskapsrådgivning •
generasjonsskifte • selskapsstiftelse og omdanning • verdivurdering •
opplegg av bedriftens interne organisasjon • undervisning •"

I'm getting java.lang.IllegalArgumentException: No glyph for U+2028 in
font Lato-MediumItalic.

Wouldn't it be more appropriate to assume missing glyphs have zero
width? Is there a way to prevent this from happening?


To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message