Need help working from home with your Bentley software? We're here to help - click here

System.ArgumentException: Font '<Font Name>' does not support style 'Regular'

Product(s): WaterGEMS, WaterCAD, HAMMER, StormCAD, SewerCAD, SewerGEMS, CivilStorm, StormCAD
Version(s): 10.xx.xx.xx, 08.11.xx.xx
Area: Modeling

Problem

When trying to open a WaterCAD model, the following error message (or similar) occurs:

System.ArgumentException: Font '<Font Name>' does not support style 'Regular'.

"Tahoma" in the error wording above could also be the name of another font, such as Arial or Segoe

Problem ID#: 79815

Solution

The likely cause of this error is that the font style (Tahoma, Arial, Segoe, etc) is corrupted. To resolve this, try reinstalling the font file from the Windows CD or copying a the TTF file (such as Tahoma.TTF) from a known working computer and paste into the fonts folder (C:\Windows\Fonts\). This should cause Windows to install the font if it is corrupt. If it already exists, you may need to delete it first.

Make sure the OpenFlows product is closed before doing this. It would be a good idea to reboot the computer before trying to open a project as well. 

Recommended
Related