pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hewson <j...@jahewson.com>
Subject Re: pdfbox warnings
Date Mon, 06 Apr 2015 06:25:53 GMT
I think the problem is that we don’t have have built-in Zapf Dingbats substitution on Windows,
try running the following line before anything else:

ExternalFonts.addSubstitute("ZapfDingbats", "WingdingsRegular");

That will map Zapf Dingbats to Webdings. If it works then we can include that substitution
by default in PDFBox.

— John

> On 31 Mar 2015, at 14:20, Tilman Hausherr <THausherr@t-online.de> wrote:
> 
> Am 31.03.2015 um 21:27 schrieb Eric Douglas:
>> OK how about my Google Drive?
>> 
>> https://drive.google.com/file/d/0B2v-yhJD9tS7WE9NemlRZHd6NlE/view?usp=sharing
> 
> It displays fine if I have the file ZD______.PFB in my c:\windows\fonts directory. If
I remove it, I get these messages:
> 
> Mrz 31, 2015 11:16:48 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font ArialMT for base font ZapfDingbats
> Mrz 31, 2015 11:16:48 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font ArialMT for ZapfDingbats
> Mrz 31, 2015 11:16:48 PM org.apache.pdfbox.rendering.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 52 (.notdef) in font ZapfDingbats
> Mrz 31, 2015 11:16:48 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font ArialMT for ZapfDingbats
> Mrz 31, 2015 11:16:49 PM org.apache.pdfbox.rendering.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 52 (.notdef) in font ZapfDingbats
> Mrz 31, 2015 11:16:49 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font ArialMT for ZapfDingbats
> Mrz 31, 2015 11:16:49 PM org.apache.pdfbox.rendering.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 52 (.notdef) in font ZapfDingbats
> 
> 
> Tilman
> 
> 
>> 
>> On Tue, Mar 31, 2015 at 1:42 PM, John Hewson <john@jahewson.com> wrote:
>> 
>>>> On 26 Mar 2015, at 10:41, Eric Douglas <edouglas@blockhouse.com> wrote:
>>>> 
>>>> I can upload a small sample PDF that shows this error if it helps.
>>> 
>>> Yes, please do.
>>> 
>>> — John
>>> 
>>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
> 


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