Skip to content

USHORT.cmp(hb_codepoint_t) can fail #571

@behdad

Description

@behdad

Currently the IntType::cmp() casts down, implicitly, the width of the parameter. This can produce wrong results when comparing hb_codepoint_t to GlyphID in Coverage table for example, other places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions