File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
layout/src/main/java/com/itextpdf/layout/font Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,10 +160,10 @@ public int addStandardPdfFonts() {
160
160
addFont (FontConstants .HELVETICA_BOLDOBLIQUE );
161
161
addFont (FontConstants .HELVETICA_OBLIQUE );
162
162
addFont (FontConstants .SYMBOL );
163
- addFont (FontConstants .TIMES_ROMAN );
164
- addFont (FontConstants .TIMES_BOLD );
165
- addFont (FontConstants .TIMES_BOLDITALIC );
166
- addFont (FontConstants .TIMES_ITALIC );
163
+ fontSet . addFont (FontConstants .TIMES_ROMAN , null , "Times" );
164
+ fontSet . addFont (FontConstants .TIMES_BOLD , null , "Times-Roman Bold" );
165
+ fontSet . addFont (FontConstants .TIMES_BOLDITALIC , null , "Times-Roman BoldItalic" );
166
+ fontSet . addFont (FontConstants .TIMES_ITALIC , null , "Times-Roman Italic" );
167
167
addFont (FontConstants .ZAPFDINGBATS );
168
168
return 14 ;
169
169
}
You can’t perform that action at this time.
0 commit comments