[
https://issues.apache.org/jira/browse/PDFBOX-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955429#comment-14955429
]
Tilman Hausherr commented on PDFBOX-3014:
-----------------------------------------
I realize I missed that the ttc file is possibly never loaded. Please do these
changes in FileSystemFontProvider:
{code}
--- <html>FileSystemFontProvider.java (<b>1691110</b>)</html>
+++ <html><b>Current File</b></html>
@@ -240,7 +240,9 @@
else if (file.getPath().toLowerCase().endsWith(".ttc") ||
file.getPath().toLowerCase().endsWith(".otc"))
{
+LOG.debug("addTrueTypeFont " + file);
addTrueTypeCollection(file);
+LOG.debug("addTrueTypeFont " + file + " done");
}
else if (file.getPath().toLowerCase().endsWith(".pfb"))
{
@@ -333,6 +335,7 @@
ttc = new TrueTypeCollection(ttcFile);
for (TrueTypeFont ttf : ttc.getFonts())
{
+LOG.debug("addTrueTypeFontImpl " + ttcFile + " has " + ttf.getName());
addTrueTypeFontImpl(ttf, ttcFile);
}
}
@@ -538,6 +541,7 @@
{
if (file.getName().toLowerCase().endsWith(".ttc"))
{
+LOG.debug("readTrueTypeFont " + file + " for " + postScriptName);
TrueTypeCollection ttc = new TrueTypeCollection(file);
for (TrueTypeFont ttf : ttc.getFonts())
{
{code}
> 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
>
> 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]