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).
Unlike the other
CTFontGet*ForGlyphsmethods,CTFontGetVerticalTranslationsForGlyphsdoes not takeCTFontOrientation, see Apple's docs.This means that calling
CTFont::get_vertical_translations_for_glyphsis immediate UB (the calling convention is wrong).