Another Font Issue

Posted by: brian on 3 June 2025, 5:59 pm EST

  • Posted 3 June 2025, 5:59 pm EST

    I am having another issue with Fonts. An older version works without an issue, but there is a problem with an update (not sure which one).

    I’m using the current library 8.1.2. I’ve attached the Font.

    Here is the Task Trace:

    [code]at Internal.Runtime.CompilerHelpers.ThrowHelpers.ThrowIndexOutOfRangeException()

    at GrapeCity.Documents.Q.amt.as()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.ht()

    at GrapeCity.Documents.Q.amt.i(Int32 a)

    at GrapeCity.Documents.Q.amt.e(b a, Int32 b, Boolean c, Boolean d)

    at GrapeCity.Documents.Imaging.BitmapRenderer.bb(FontTables a, Int32 b, amt c)

    at GrapeCity.Documents.Imaging.BitmapRenderer.as(GlyphRun a, amt b, FontTables c, Single d, Single e, Single f, Int32 g)

    at GrapeCity.Documents.Imaging.BitmapRenderer.ar(GlyphRun a, Font b, FontTables c, Boolean d, Single e)

    at GrapeCity.Documents.Imaging.BitmapRenderer.ai(TextLayout a, Single b, TextLine c, Single d, Single e, RectangleF f, List1 g, List1 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)

    [/code]10380.zip10380.zip

  • Posted 4 June 2025, 7:06 am EST - Updated 4 June 2025, 7:11 am EST

    Hi,

    We are not able to replicate the issue you mentioned on our end. Please refer to the code snippet and the working screenshot (see below).

    To further investigate the issue, could you please share the following:

    A stripped-down sample replicating the issue. You can also modify the shared sample and share the same.

    System configurations.

    Regards,

    Prabhat Sharma.

    ImagingFontIssue.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels