Hacker News new | ask | show | jobs
by cantours 957 days ago
GDI works fine for dpi scaling.

  handle WM_DPICHANGED
  recreate fonts with actual_dpi/reference_dpi scale factor and send WM_SETFONT
  and apply scale factor to all DeferWindowPos() operations.