Posted 27 November 2020, 4:47 pm EST
I get the following error using the attached font:
“Object reference not set to an instance of an object”
Stack Trace:
cz+a..ctor(Byte* A_0):214
cz..ctor(Byte* A_0):57
GrapeCity.Documents.Text.Font.a(FontTables A_0, TableTag A_1, Byte* A_2, Int32 A_3):840
GrapeCity.Documents.Text.Font.a(FontTables A_0, Byte* A_1, TableTag[] A_2, Int32 A_3):141
GrapeCity.Documents.Text.Font.a(FontTables A_0, Byte* A_1, TableTag[] A_2):312
GrapeCity.Documents.Text.FontTables.LoadTables(TableTag[] tags):24
GrapeCity.Documents.Text.TextLayout.d():2330
GrapeCity.Documents.Text.TextLayout.RecalculateGlyphs():204
GrapeCity.Documents.Drawing.GcGraphics.MeasureString(String text, TextFormat textFormat, Nullable`1 width):53
I believe the text being measured is “Clearly Gothic Bold”ClearlyGothicBold.zip