File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
styled-xml-parser/src/main/java/com/itextpdf/styledxmlparser/resolver/font Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,18 @@ public BasicFontProvider() {
66
66
* @param registerSystemFonts use true if you want to register the system fonts (can require quite some resources)
67
67
*/
68
68
public BasicFontProvider (boolean registerStandardPdfFonts , boolean registerSystemFonts ) {
69
- super (DEFAULT_FONT_FAMILY );
69
+ this (registerStandardPdfFonts , registerSystemFonts , DEFAULT_FONT_FAMILY );
70
+ }
71
+
72
+ /**
73
+ * Creates a new {@link BasicFontProvider} instance.
74
+ *
75
+ * @param registerStandardPdfFonts use true if you want to register the standard Type 1 fonts (can't be embedded)
76
+ * @param registerSystemFonts use true if you want to register the system fonts (can require quite some resources)
77
+ * @param defaultFontFamily default font family
78
+ */
79
+ public BasicFontProvider (boolean registerStandardPdfFonts , boolean registerSystemFonts , String defaultFontFamily ) {
80
+ super (defaultFontFamily );
70
81
if (registerStandardPdfFonts ) {
71
82
addStandardPdfFonts ();
72
83
}
You can’t perform that action at this time.
0 commit comments