[Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

Lubos Lunak l.lunak at suse.cz
Thu Jan 6 04:11:19 PST 2011


On Wednesday 05 of January 2011, Robert Nagy wrote:
> Oh well then Linux is broken, again. :)
>
> In gedit the icons are bigger than the small ones but not as huge
> as in LibreOffice.
> Here you can see (LO with small icons):
> http://blade2k.humppa.hu/2011-01-05-182917_1920x1080_scrot.png
>
> (ws robert 22435)$ xdpyinfo | egrep "(dimensions|dots per inch)"
>   dimensions:    1920x1080 pixels (518x291 millimeters)
>   resolution:    94x94 dots per inch
>
> It is strange for me tho that linux *hardcodes* 75. Where is taht
> hardcoded?

 I think that is the default value for X.Org if it can't find out the real 
value from the hardware or configuration options. Normally X should find out 
the real DPI, although desktops also have options for various misguided 
attempts at forcing a specific DPI.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list