Fix possible symbol font discrepancy in tables
Allow options for handling foldout page if first page.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user