From 2f466751ca15ee334bc8fbb694dacc2ed33e9bd2 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 3 Oct 2017 18:21:19 +0100 Subject: [PATCH] Ensure X DPI set correctly --- frontends/amiga/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/amiga/font.c b/frontends/amiga/font.c index 63172623f..e69ff55f0 100644 --- a/frontends/amiga/font.c +++ b/frontends/amiga/font.c @@ -37,7 +37,7 @@ static ULONG ami_xdpi = 72; ULONG ami_font_dpi_get_devicedpi(void) { - return ami_devicedpi; + return (ami_xdpi << 16) | ami_devicedpi; } ULONG ami_font_dpi_get_xdpi(void)