Fix possible symbol font discrepancy in tables

Allow options for handling foldout page if first page.
This commit is contained in:
2013-09-10 12:46:23 +00:00
parent e47df68f83
commit 89965f1278
5 changed files with 78 additions and 19 deletions

View File

@@ -212,7 +212,7 @@ namespace Volian.Controls.Library
public static FontFamily MyFontFamily
{
get { return StepRTB._MyFontFamily; }
set
set
{
_MyFontFamily = value;
if (value != null)
@@ -226,12 +226,16 @@ namespace Volian.Controls.Library
font = new Font(value, 10, FontStyle.Italic);
using (StepRTB srtb = new StepRTB())
{
if (srtb.FontIsFixed(font)) _MySymbolFontName = "VESymbFix";
else _MySymbolFontName = "Arial Unicode MS";
if (srtb.FontIsFixed(font)) MySymbolFontName = "VESymbFix";
else MySymbolFontName = "Arial Unicode MS";
}
}
else
{
MySymbolFontName = null;
}
}
}
}
// use newer rich text box....
//[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
//static extern IntPtr LoadLibrary(string lpFileName);