Function

HarfBuzz-0.0HarfBuzzot_math_get_glyph_top_accent_attachmentSince 1.3.3

  • Fetches a top-accent-attachment value (if one exists) for the specified glyph index.

    For any glyph that does not have a top-accent-attachment value - that is, a glyph not covered by the MathTopAccentAttachment table (or, when font has no MathTopAccentAttachment table or no MATH table, any glyph) - the function synthesizes a value, returning the position at one-half the glyph's advance width.

    Parameters

    Returns number

    the top accent attachment of the glyph or 0.5 * the advance width of glyph

    1.3.3