Set PDF fonts to be embedded.
This commit is contained in:
@@ -132,7 +132,7 @@ namespace VG
|
||||
public static iTextSharp.text.Font GetFont(string fontName)
|
||||
{
|
||||
RegisterFont(fontName);
|
||||
return iTextSharp.text.FontFactory.GetFont(fontName);
|
||||
return iTextSharp.text.FontFactory.GetFont(fontName, BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
|
||||
}
|
||||
//private void RegisterFonts()
|
||||
// {
|
||||
|
Reference in New Issue
Block a user