diff --git a/src/UglyToad.PdfPig.Fonts/TrueType/Tables/PostScriptTable.cs b/src/UglyToad.PdfPig.Fonts/TrueType/Tables/PostScriptTable.cs
index 758692dc..134f0d56 100644
--- a/src/UglyToad.PdfPig.Fonts/TrueType/Tables/PostScriptTable.cs
+++ b/src/UglyToad.PdfPig.Fonts/TrueType/Tables/PostScriptTable.cs
@@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using System.Text;
+ using Core;
///
///
@@ -159,11 +160,11 @@
}
else if (Math.Abs(formatType - 3) < float.Epsilon)
{
- glyphNames = new string[0];
+ glyphNames = EmptyArray.Instance;
}
else
{
- throw new InvalidOperationException($"Format type {formatType} is not supported for the PostScript table.");
+ glyphNames = EmptyArray.Instance;
}
return glyphNames;