This plugin will hook the GetCharABCWidthsI function in gdi32.dll and cache the results. This is because QWindowsFontEngine::getGlyphBearings doesn't cache internally. A post with more details has been posted on the x64dbg blog.
GetCharABCWidthsI
gdi32.dll
QWindowsFontEngine::getGlyphBearings
Before:
After: