This commit is contained in:
parent
f6d32143ec
commit
d6dc48883f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user