Skip to content

Commit 19b6c95

Browse files
authored
Merge pull request #219 from IgorTimofeev/patch-2
Make FontResolver.GetFont() method available to be overriden
2 parents 051c73f + d1d4a86 commit 19b6c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PdfSharpCore/Utils/FontResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private static FontFamilyModel DeserializeFontFamily(string fontFamilyName, IEnu
153153
return font;
154154
}
155155

156-
public byte[] GetFont(string faceFileName)
156+
public virtual byte[] GetFont(string faceFileName)
157157
{
158158
using (System.IO.MemoryStream ms = new System.IO.MemoryStream())
159159
{

0 commit comments

Comments
 (0)