diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 521296a0..09e6a15b 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -95,7 +95,8 @@ namespace VEPROMS.CSLA.Library if ((Style & E_Style.Underline) != 0) 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; }