[Pkg-chromium-maint] Bug#763421: Bug#763421: fixed in chromium-browser 43.0.2357.65-1
Yves-Alexis Perez
corsac at debian.org
Thu May 21 19:23:40 UTC 2015
On jeu., 2015-05-21 at 18:51 +0200, Vincent Bernat wrote:
> ❦ 21 mai 2015 18:15 +0200, Yves-Alexis Perez <corsac at debian.org> :
>
> >> >> xfconf-query -c xsettings -lv | grep -i Xft.dpi
> >> >>
> >> > xfconf-query -c xsettings -lv | grep -i Xft.dpi
> >> > /Xft/DPI -1
> >> >
> >> > Also:
> >> >
> >> > xdpyinfo|grep resolution
> >> > resolution: 177x176 dots per inch
> >>
> >> I don't know how to configure that in xfce, but if you can arrange to
> >> change the value of /Xft/DPI to 181248 (177*1024), it may help
> >> Chromium.
> >
> > It might help chromium (it doesn't look it it, though), but it'll break
> > everything else. /Xft/DPI is in DPI, not in DPI*1024. See
>
> It's in DPI*1024 but maybe XFCE is presenting a rectified value. See:
> http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/
>
> You can install xsettingsd and use "dump_xsettings" to get the actual
> value.
Ok so you're right, the xfconf property /Xft/DPI is in dpi, but it
correctly sets the xsetting Xft/DPI to 1024*dpi:
corsac at scapa: xfconf-query -c xsettings -p /Xft/DPI
177
corsac at scapa: dump_xsettings |grep Xft/DPI
Xft/DPI 181248
corsac at scapa: xfconf-query -c xsettings -p /Xft/DPI -r
corsac at scapa: xfconf-query -c xsettings -p /Xft/DPI
Property "/Xft/DPI" does not exist on channel "xsettings".
corsac at scapa: dump_xsettings |grep Xft/DPI
Xft/DPI 179200
(so actually it's more like 175 dpi but that doesn't matter much).
> Do you have GDK_SCALE or GDK_DPI_SCALE environment variable? They should
> not be used by Chromium (not using GDK/GTK for rendering) but are used
> by other GTK apps and may explain the difference (they may also be
> present in xsettings, but you would see them with dump_xsettings).
corsac at scapa: printenv |grep -c GDK
0
dump_xsettings|grep -ci GDK
0
So as far as I can tell the Xft/DPI xsettings is correctly set (whether
I'm overriding the DPI in xfconf or not).
Regards,
--
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20150521/35063e4d/attachment.sig>
More information about the Pkg-chromium-maint
mailing list