vendor: import KillerPDF 1.7.5 source (GPL-3.0) as the base for MMD PDF
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
using PdfSharpCore.Drawing;
|
||||
|
||||
namespace PdfSharpCore.Internal
|
||||
{
|
||||
public class FontFamilyModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public Dictionary<XFontStyle, string> FontFiles = new Dictionary<XFontStyle, string>();
|
||||
|
||||
public bool IsStyleAvailable(XFontStyle fontStyle)
|
||||
{
|
||||
return FontFiles.ContainsKey(fontStyle);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user