diff --git a/arcade/__init__.py b/arcade/__init__.py index 05c4afd90..fb20949f7 100644 --- a/arcade/__init__.py +++ b/arcade/__init__.py @@ -72,6 +72,10 @@ def configure_logging(level: int | None = None): if sys.platform == "darwin" or os.environ.get("ARCADE_HEADLESS") or utils.is_raspberry_pi(): pyglet.options.shadow_window = False # type: ignore # pending https://github.com/pyglet/pyglet/issues/1164 +# Enable HiDPI support on Windows +if sys.platform == "win32": + pyglet.options.scale_with_dpi = True # type: ignore # pending https://github.com/pyglet/pyglet/pull/1202 + # Use the old gdi fonts on windows until directwrite is fast/stable # pyglet.options.win32_gdi_font = True