Knowledge Base

When you open label in NiceLabel Designer or NiceLabel Automation the message about problem with fonts displays

Problem

When you open label template or solution in NiceLabel Designer, you will receive the following error:

The type initializer for 'System.Windows.Media.Fonts' threw an exception

When NiceLabel Automation opens the label file, you will see the following error in Automation Manager:

No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1.

The error message appears for the very first label that you open in NiceLabel software. You can open all subsequent labels in the same NiceLabel session without errors.

You are affected if:

  • You have installed Microsoft .NET Framework 4.7.1 and security updates from January 2018 (KB4055002 or KB4055532).
  • You use Windows 7 SP1 or Windows Server 2008 R2.

Solution

Microsoft has confirmed that this is a problem and is working on a solution. See this document.

WORKAROUND

We recommend that you uninstall the January .NET Framework Security and Quality Rollup (KB 4055002 and KB4055532), and then install the January .NET Framework Security-Only Update (KB 4054183). 

Follow the instructions in this Microsoft article (see Method 1).

Print document   Email document

Feedback

Did this article help you? *