[Bug 56166] GDI performance regression after switching fonts to syscall interface