Posted 10 July 2024, 7:57 pm EST
What was once working, now throws a “Index was outside the bounds of the array” for certain fonts.
I’m sure these fonts aren’t perfect, because users upload the fonts. But it was working, and now it throws an error.
If I change the font, it appears to work properly, but this is the stack trace when the error is thrown:
at GrapeCity.Documents.Q.amp.y()
at GrapeCity.Documents.Q.amp.i(Int32 a)
at GrapeCity.Documents.Q.amp.e(b a, Int32 b, Boolean c, Boolean d)
at GrapeCity.Documents.Imaging.BitmapRenderer.aw(FontTables a, Int32 b, amp c)
at GrapeCity.Documents.Imaging.BitmapRenderer.an(GlyphRun a, amp b, FontTables c, Single d, Single e, Single f, Int32 g)
at GrapeCity.Documents.Imaging.BitmapRenderer.ai(TextLayout a, Single b, TextLine c, Single d, Single e, RectangleF f, List`1 g, List`1 h)
at GrapeCity.Documents.Imaging.BitmapRenderer.DrawTextLayout(TextLayout layout, Single x, Single y)
at GrapeCity.Documents.Imaging.GcBitmapGraphics.InternalDrawTextLayout(TextLayout layout, PointF location)
at GrapeCity.Documents.Drawing.GcGraphics.DrawTextLayout(TextLayout layout, PointF location)