C2017-036 Call method that finds a proportional font that supports the symbol characters we use.
This commit is contained in:
@@ -264,10 +264,12 @@ namespace Volian.Print.Library
|
||||
levels.Add(4, "Outside From Transitions");
|
||||
levels.Add(5, "Outside To Transitions");
|
||||
Dictionary<int, iTextSharp.text.Font> fonts = new Dictionary<int, Font>();
|
||||
fonts.Add(1, pdf.GetFont("Arial Unicode MS", 12, 0, Color.BLACK));
|
||||
fonts.Add(2, pdf.GetFont("Arial Unicode MS", 10, 0, Color.BLACK));
|
||||
fonts.Add(3, pdf.GetFont("Arial Unicode MS", 8, 0, Color.BLACK));
|
||||
fonts.Add(4, pdf.GetFont("Arial Unicode MS", 8, 0, Color.BLACK));
|
||||
// C2017-036 get best available proportional font for symbols that looks close to Arial
|
||||
// Note that Microsoft no longer supplies Arial Unicode MS as of Word16
|
||||
fonts.Add(1, pdf.GetFont(Volian.Base.Library.vlnFont.ReportsFont, 12, 0, Color.BLACK));
|
||||
fonts.Add(2, pdf.GetFont(Volian.Base.Library.vlnFont.ReportsFont, 10, 0, Color.BLACK));
|
||||
fonts.Add(3, pdf.GetFont(Volian.Base.Library.vlnFont.ReportsFont, 8, 0, Color.BLACK));
|
||||
fonts.Add(4, pdf.GetFont(Volian.Base.Library.vlnFont.ReportsFont, 8, 0, Color.BLACK));
|
||||
int lastLevel = transitionInfoList.Count > 0 ? transitionInfoList[0].Level : 0; //set level to first transition level
|
||||
#region buildtable
|
||||
int cols = 3;
|
||||
|
Reference in New Issue
Block a user