Egbert Eich <[email protected]> writes:

> EDID sometimes lies about screen sizes. Since the screen size is used
> by clients to determine the DPI a wrong ration will lead to terrible
> looking fonts.
> Add a sanity check for the h/v ratio cutting off at 2.4. This would
> still accept the cinemascope aspect ratio as valid.
> Also add message suggesting to add a quirk table entry.

Please do this without division so that we don't have to think about
whether the values might be zero or not.

        h / v > 2.4
        h > 2.4 * v

        5 * h > 12 * v

similarly:
        
        5 * v > 12 * h

-- 
[email protected]

Attachment: pgpyglEm1uVwk.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to