I don't know where the fallback font comes from but it doesn't work. If I view the PDF in Abode Reader it has an editable checkbox with a check mark in it. The image rendered by pdfbox is just an empty box. I am using pdfbox 2.0.0 from a trunk. I can upload a small sample PDF that shows this error if it helps. I have a ZapfDingbats.ttf file but I can't see any way to embed that for the editable checkbox. I'm creating the PDF using iText. If I view the PDF in Adobe Reader and check Properties, on the Fonts tab it shows ZapfDingbats Type: Type 1 Encoding: Built-in Actual Font: AdobePiStd Actual Font Type: Type 1 My normal fonts for text that properly embedded which render fine with this trunk show as LucidaSans-Typewriter (Embedded Subset) Type: TrueType Encoding: Custom
On Thu, Mar 26, 2015 at 12:23 PM, Tilman Hausherr <[email protected]> wrote: > Am 26.03.2015 um 14:16 schrieb Eric Douglas: > > When I call the PDFRenderer renderPageToGraphics method I get warnings in >> my log. >> Is there a fix for these? >> >> org.apache.pdfbox.pdmodel.font.PDType1Font <init> >> WARNING: Using fallback font ArialMT for ZapfDingbats >> org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode >> WARNING: No glyph for 52 (.notdef) in font ZapfDingbats >> org.apache.pdfbox.pdmodel.font.PDType1Font <init> >> WARNING: Using fallback font ArialMT for ZapfDingbats >> >> > Yes, buy a ZapfDingbats type 1 font and copy it into your font directory. > Or maybe you already have it, then the file is named "ZD______.PFB". > License restrictions may apply. > > Tilman > > PS: alwyays mention the version (in your case "trunk" or "2.0") > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

