Can you help - CTFontGetAdvancesForGlyphs returns incorrect array of glyphs for a text string. It returns wrong positions of letters when "To" or "Te" letters appears.
I attach a screenshot and test project. Compile the project, run it, then find a BMP file in the same folder.
Switching from CTFontGetAdvancesForGlyphs to CTFontGetOpticalBoundsForGlyphs gives the same problem.