[
https://issues.apache.org/jira/browse/PDFBOX-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955546#comment-14955546
]
Tilman Hausherr commented on PDFBOX-3014:
-----------------------------------------
Your .ttc file is still not located?! My output looks like this:
{code}
...
13.10.2015 22:01:14.391 DEBUG [main]
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:243 - addTrueTypeFont
C:\Windows\FONTS\msgothic.ttc
13.10.2015 22:01:14.397 DEBUG [main]
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:338 - addTrueTypeFontImpl
C:\Windows\FONTS\msgothic.ttc has MS-Gothic
13.10.2015 22:01:14.400 DEBUG [main]
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:338 - addTrueTypeFontImpl
C:\Windows\FONTS\msgothic.ttc has MS-PGothic
13.10.2015 22:01:14.403 DEBUG [main]
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:338 - addTrueTypeFontImpl
C:\Windows\FONTS\msgothic.ttc has MS-UIGothic
13.10.2015 22:01:14.404 DEBUG [main]
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider:245 - addTrueTypeFont
C:\Windows\FONTS\msgothic.ttc done
...
{code}
and there are many other .ttc files loaded.
Here's another change:
{code}
--- <html>FontFileFinder.java (<b>1650927</b>)</html>
+++ <html><b>Current File</b></html>
@@ -20,6 +20,8 @@
import java.io.File;
import java.net.URI;
import java.util.List;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
/**
* Helps to autodetect/locate available operating system fonts. This class is
based on a class provided by Apache FOP.
@@ -27,6 +29,7 @@
*/
public class FontFileFinder
{
+ private static final Log LOG = LogFactory.getLog(FontFileFinder.class);
private FontDirFinder fontDirFinder = null;
@@ -125,6 +128,7 @@
{
if (checkFontfile(file))
{
+LOG.debug("checkFontfile found " + file);
results.add(file.toURI());
}
}
{code}
This should bring all the font files being found (that are checked later).
> 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]