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