Skip to content

UB: CTFontGetVerticalTranslationsForGlyphs does not take CTFontOrientation #749

@madsmtm

Description

@madsmtm

Unlike the other CTFontGet*ForGlyphs methods, CTFontGetVerticalTranslationsForGlyphs does not take CTFontOrientation, see Apple's docs.

This means that calling CTFont::get_vertical_translations_for_glyphs is immediate UB (the calling convention is wrong).

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