Ensure X DPI set correctly

This commit is contained in:
Chris Young 2017-10-03 18:21:19 +01:00
parent 7ca3308bd1
commit 2f466751ca

View File

@ -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)