Firefox does not use GDI, it used DirectWrite which is GPU accelerated.
The pref name is 'gfx.font_rendering.cleartype_params.force_gdi_classic_for_families'. I believe it may have just enabled a GDI compatibility mode for DirectWrite, but I'm not sure if that uses the GDI rasterizer under the hood or not.
Also this is not important. What's important is that DirectWrite does not render this font correctly, if you compare it with LibreOffice or Word.
[1] https://learn.microsoft.com/en-us/windows/win32/api/dcommon/...
[2] https://learn.microsoft.com/en-us/windows/win32/api/dwrite/n...