Set PDF fonts to be embedded.

This commit is contained in:
Rich 2013-10-07 13:13:11 +00:00
parent 48960152ac
commit 69a8470a47

View File

@ -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()
// {