[PATCH v2 app/xrandr] Document that --dpi and --fbmm options set DPI of whole X screen

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Wed Nov 1 20:26:24 UTC 2017


On Wed, Nov 1, 2017 at 9:14 PM, Pali Rohár <pali.rohar at gmail.com> wrote:
> On Wednesday 01 November 2017 21:04:17 Giuseppe Bilotta wrote:
>>
>> Personally, I disagree with the statement that the core DPI value has
>> no useful meaning in multi-monitor configuration.
>
> Hi! I did not write such thing.
>
> The whole documentation is talking about physical size of the X Screen.
>
> There is no "core DPI". There is just resolution of the X Screen and
> physical size (in mm) of the X Screen. And IIRC X Server does not report
> any value "DPI" for X Screen.
>
> And as I added in patch, that physical size in mm of the X Screen does
> not have any coordinate meaning as it does not match any physical
> reality of display.
>
> So... now I'm thinking if documentation update by me is really good if
> there are already people who interpreted it not in way as I thought :-(

Sorry, I should have clarified.

By “core DPI” I mean the DPI computed from the values of Screen
width/height in pixel and mm as reported by the core protocol. But as
I said, this value gets used _at the very least_ as the fallback for
Xft.dpi (per the Xft specification), so it is not without meaning.
However, I do agree with you that it might be useful to point out that
the values do not carry a _physical_ meaning in the case of multiple
monitors.

-- 
Giuseppe "Oblomov" Bilotta


More information about the xorg-devel mailing list