Index: Core/Common/src/Core.Common.Util/Drawing/FontHelper.cs =================================================================== diff -u -r626b89ba0455fbe4d83bd42cfbcdbf5b1a60d902 -r9fff4df794c7a477ef037ff87b7520bd0cf360a6 --- Core/Common/src/Core.Common.Util/Drawing/FontHelper.cs (.../FontHelper.cs) (revision 626b89ba0455fbe4d83bd42cfbcdbf5b1a60d902) +++ Core/Common/src/Core.Common.Util/Drawing/FontHelper.cs (.../FontHelper.cs) (revision 9fff4df794c7a477ef037ff87b7520bd0cf360a6) @@ -22,6 +22,7 @@ using System; using System.Drawing; using System.Drawing.Text; +using System.Linq; using System.Runtime.InteropServices; namespace Core.Common.Util.Drawing @@ -55,7 +56,7 @@ AddFontMemResourceEx(fontPtr, (uint) fontData.Length, IntPtr.Zero, ref dummy); Marshal.FreeCoTaskMem(fontPtr); - if (fonts.Families.Length == 0) + if (fonts.Families.ToArray().Length == 0) { throw new ArgumentException("Font data could not be loaded."); }