C2017-036 Call method that finds a proportional font that supports the symbol characters we use.
This commit is contained in:
@@ -848,8 +848,9 @@ namespace Volian.Svg.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
VolianPdf.RegisterFont("Arial Unicode MS");
|
||||
fs.AddFont(FontFactory.GetFont("Arial Unicode MS", BaseFont.IDENTITY_H, BaseFont.EMBEDDED, fontSize, fontStyle, new Color(FillColor)));
|
||||
// C2017-036 get best available proportional font for symbols
|
||||
VolianPdf.RegisterFont(Volian.Base.Library.vlnFont.ProportionalSymbolFont);
|
||||
fs.AddFont(FontFactory.GetFont(Volian.Base.Library.vlnFont.ProportionalSymbolFont, BaseFont.IDENTITY_H, BaseFont.EMBEDDED, fontSize, fontStyle, new Color(FillColor)));
|
||||
}
|
||||
Phrase ph = fs.Process(text);
|
||||
return ph;
|
||||
|
Reference in New Issue
Block a user