This commit is contained in:
Kathy Ruffing 2011-01-19 16:10:05 +00:00
parent f6d32143ec
commit d6dc48883f

View File

@ -95,7 +95,8 @@ namespace VEPROMS.CSLA.Library
if ((Style & E_Style.Underline) != 0) if ((Style & E_Style.Underline) != 0)
style |= FontStyle.Underline; style |= FontStyle.Underline;
} }
_WindowsFont = new Font(Family, (float)Size, style); // for now - check size to be 0 and set to 10 if so, error in fmtxml?
_WindowsFont = new Font(Family, Size==0?10:(float)Size, style);
} }
return _WindowsFont; return _WindowsFont;
} }