From d6dc48883f517478a078151fd75d59072f41241f Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 19 Jan 2011 16:10:05 +0000 Subject: [PATCH] --- PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }