A "System.ArgumentException: Font 'Arial' does not support style 'Regular'." Error Occurs When Opening Laserfiche Scanning 8.

November 21, 2011 | KB: 1012866
Laserfiche 8, Laserfiche 9

Summary

When you attempt to open Laserfiche Scanning, nothing appears to occur. The error log file in "C:\ProgramData\Laserfiche\Laserfiche Scanning\Errors" will contain an error similar to the following message:

    System.ArgumentException: Font 'Arial' does not support style 'Regular'.
    at System.Drawing.Font.CreateNativeFont()
    at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
    at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
    at System.Drawing.Font..ctor(String familyName, Single emSize)
    at Laserfiche.BatchProcessor.Scanning.Settings.TextFontSetting..ctor()
    at Laserfiche.BatchProcessor.Scanning.ScanSettings..ctor(CommandLineArgs args)
    at Laserfiche.BatchProcessor.Scanning.Program.CreateApplication(CommandLineArgs commandLine)
    at Laserfiche.BatchProcessor.Scanning.Program.Main()

Resolution

The computer has a corrupted version of the Arial font.

Browse to "C:\Windows\Fonts" and replace the font with a valid copy from another computer.