[ 
https://issues.apache.org/jira/browse/PDFBOX-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957335#comment-14957335
 ] 

Tilman Hausherr commented on PDFBOX-3014:
-----------------------------------------

Please try this, to verify my theory: change saveCache() like this:
{code}
            for (FSFontInfo fontInfo : fontInfoList)
            {
                if (fontInfo.file.getAbsolutePath().endsWith(".ttc"))
                {
                    // remove .ttc files from older versions
                    prefs.remove(fontInfo.file.getAbsolutePath());
                    continue;
                }
 {code}
If my theory is correct, it should work properly after the second run.

> ZapfDingbats not finding a substitute in Windows 8.1 Pro
> --------------------------------------------------------
>
>                 Key: PDFBOX-3014
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3014
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>         Environment: Windows 8.1 Pro
>            Reporter: Jason Mackin
>              Labels: easyfix
>         Attachments: az101-1.15.0.pdf
>
>
> When running PDFBox on Windows 8.1 Pro, it can't find a proper substitute for 
> ZapfDingbats.
> This email chain from the mailing list talks about this problem but the fix 
> doesn't work for me:
> http://mail-archives.apache.org/mod_mbox/pdfbox-users/201504.mbox/%[email protected]%3E
> I was able to fix this problem by adding "MS-PGothic" to the substitutes 
> Array for ZapfDingbats (FontMapperImpl.java).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to