Re: [dev] [surf] Patch for high dpi screens

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Sat, 20 Jul 2013 08:53:23 +0200

On 16 July 2013 10:42, Nick <suckless-dev_AT_njw.me.uk> wrote:
> The attached patch ensures surf adheres more closely to the CSS spec
> in making one px equal to 1/96 inch, regardless of the actual screen
> pixel density. This is a typical web-style cop-out for the fact that
> many stupid web designers only write things in terms of ~96dpi
> desktop monitors. It sucks, but hey, it's the web.
>
> One issue with this is that with a high DPI monitor, input fields
> are zoomed too much, but that's presumably a bug in webkit (at least
> the version I'm using, 1.8.1).
>
> I'm not sure whether the default in config.def.h should be false. It
> depends on what proportion of monitors badly misrepresent their
> dimensions, I suppose.
>
> But anyway, this should probably be applied, as it's needed for
> websites to be viewable with devices with a DPI different from that
> of a traditional desktop.

Thanks, applied.

Best regards,
Anselm
Received on Sat Jul 20 2013 - 08:53:23 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 20 2013 - 09:00:09 CEST