Skip to content

Commit 3fdb0cf

Browse files
committed
PDFBOX-5905: add DejaVu Sans font as fallback for Zapf Dingbats, as suggested by Robert Amidon
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922574 13f79535-47bb-0310-9956-ffa450edef68
1 parent e8c41e3 commit 3fdb0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FontMapperImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ final class FontMapperImpl implements FontMapper
9999
"NimbusRomNo9L-MediItal")));
100100
addSubstitutes("Symbol", new ArrayList<>(Arrays.asList("Symbol", "SymbolMT", "StandardSymL")));
101101
addSubstitutes("ZapfDingbats", new ArrayList<>(Arrays.asList("ZapfDingbatsITCbyBT-Regular",
102-
"ZapfDingbatsITC", "Dingbats", "MS-Gothic")));
102+
"ZapfDingbatsITC", "Dingbats", "MS-Gothic", "DejaVuSans")));
103103

104104
// Acrobat also uses alternative names for Standard 14 fonts, which we map to those above
105105
// these include names such as "Arial" and "TimesNewRoman"

0 commit comments

Comments
 (0)