File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
itext/itext.styledxmlparser/itext/styledxmlparser/resolver/font Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,22 @@ public BasicFontProvider()
71
71
/// <param name="registerSystemFonts">use true if you want to register the system fonts (can require quite some resources)
72
72
/// </param>
73
73
public BasicFontProvider ( bool registerStandardPdfFonts , bool registerSystemFonts )
74
- : base ( DEFAULT_FONT_FAMILY ) {
74
+ : this ( registerStandardPdfFonts , registerSystemFonts , DEFAULT_FONT_FAMILY ) {
75
+ }
76
+
77
+ /// <summary>
78
+ /// Creates a new
79
+ /// <see cref="BasicFontProvider"/>
80
+ /// instance.
81
+ /// </summary>
82
+ /// <param name="registerStandardPdfFonts">use true if you want to register the standard Type 1 fonts (can't be embedded)
83
+ /// </param>
84
+ /// <param name="registerSystemFonts">use true if you want to register the system fonts (can require quite some resources)
85
+ /// </param>
86
+ /// <param name="defaultFontFamily">default font family</param>
87
+ public BasicFontProvider ( bool registerStandardPdfFonts , bool registerSystemFonts , String defaultFontFamily
88
+ )
89
+ : base ( defaultFontFamily ) {
75
90
if ( registerStandardPdfFonts ) {
76
91
AddStandardPdfFonts ( ) ;
77
92
}
Original file line number Diff line number Diff line change 1
- ed6b5b94e505da5cddb462921cf68e366b6ff4f9
1
+ f6cdc58b70f08792365e8c42d30db9b23dbbd0cf
You can’t perform that action at this time.
0 commit comments