When bug 40665 lands, offsetForPositionForComplexText() no longer takes an 'int' parameter for the position, but a float. This is only relevant for SVG text, which supports subpixel positioning, and only for complex text. Qt and Mac handle the float parameter properly, Win/Gtk etc not. That should be fixed, but has low importance.
Nikolas, I'll close this as duplicate. For GTK & EFL this is fixed in bug 92376, landed as r124111. HarfBuzzShaper::offsetForPosition now takes a float argument and does the computation with this value without breaking it down or rounding it. Please reopen if you think this is not completely fixed. *** This bug has been marked as a duplicate of bug 92376 ***
(In reply to comment #1) > For GTK & EFL... What i meant: For Harfbuzz-NG ports.