Comment

Comment by cantours

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.
parent cantours 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton