You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HGDIOBJ WINAPI MyGetStockObject(int i)
{
switch (i)
{
case OEM_FIXED_FONT:
case ANSI_FIXED_FONT:
case ANSI_VAR_FONT:
case SYSTEM_FONT:
case DEVICE_DEFAULT_FONT:
case SYSTEM_FIXED_FONT:
return newGSOFont;
}
return addrGetStockObject(i);
}
The text was updated successfully, but these errors were encountered:
jdk 的 jawt.dll 中使用 DEFAULT_GUI_FONT 检索默认字体,源码(awt_DesktopProperties.cpp)参考 :
而 FontMod.cpp MyGetStockObject 方法中遗漏了此项,导致jdk中使用 FontMod 时开启 fixGSOFont 选项也没有效果。
The text was updated successfully, but these errors were encountered: