CTFontGetAdvancesForGlyphs returns wrong position for "Te" or "To" letters lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Igor · 2020-12-04 14:40 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. ---------------------------------------------------------------------- Igor · 2020-12-06 14:03 I would grateful for any advice. Probably I missed to initialize some font parameter.