[Pkg-xfce-devel] Bug#580595: Bug#580595: xfdesktop4: Selection of default font not always honored

Dave Witbrodt dawitbro at sbcglobal.net
Sat May 8 21:50:13 UTC 2010


On 05/07/2010 05:48 PM, Yves-Alexis Perez wrote:
> On ven., 2010-05-07 at 17:22 -0400, Dave Witbrodt wrote:
>> Next time the bug occurs, I will try to find out -- but right now I'm
>> not sure how to get the info without causing Xfce to notice... and fix
>> itself.
>
> Yeah, if you take some time to try reproduce it, you may want to try
> using a GTK+ font which is easily recognizable.

OK, I was rebuilding some packages just now and wanted to install them 
without X running, and when I logged back in ... there was the bug! 
(Does the BTS allow attachments?  Hopefully, because I'm attaching 
screenshots -- PNGs compressed to JPG to shrink file size by 3MB each -- 
for "before", "checked", and "after" cases.)


>> I am quite comfortable with the command line.  I never thought of it
>> before, but I should be able to copy directories from $HOME to /tmp when
>> I notice the bug; then apply the workaround, copy the same directories,
>> and diff the two versions.  Sorry this didn't occur to me before.
>
> Yeah, that could be helpful. If it's just a matter of font size (and not
> font type too), it might be another issue, DPI related. Try to check in
> settings/appearance/fonts what are the settings for DPI. Maybe in some
> cases (when playing with Xorg, especially), DPI is not the same as
> previously, or not the same as the default, something like that, and
> xfdesktop doesn't apply correctly the new one. I'm not exactly sure how
> that could be possible, but that may be a lead.

It cannot be DPI changes.  Running 'xdpyinfo | grep resolution' always 
gives the same results (before and after fixing this font bug):

     resolution:    82x82 dots per inch

(Besides, wouldn't there be other visible changes besides font size?)

I carried out the scheme I mentioned above -- copying several hidden 
$HOME directories before and after applying my workaround -- and met 
with disappointing results.  The only file with relevant changes was 
'xfce4-desktop.xml' (in ~/.config/xfce4/xfconf/xfce-perchannel-xml), and 
that was only recording the changes in the Desktop Settings ->
Icons tab -> "Use custom font size" checkbox.  I am attaching a file 
(useful-diffs.txt) which displays the one-line changes between the 
"before", "checked", and "after" cases.  I also ran 'grep' looking for 
"Liberation", which shows that the font setting remained at "Liberation 
Sans 11" in each case (files 'xsettings.xml' and 'xfce4-panel.xml' are 
the only ones affected).

In short, the configs aren't showing any changes at all to my customized 
"default font" setting, while (obviously) clicking that checkbox 
temporarily forces the font size to 12pt.  I have no idea what font face 
(or font size) is being used in the first screen shot; the second and 
third screen shots are clearly correct, with Liberation Sans 12 and 
Liberation Sans 11 being used respectively.


HTH,
Dave W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-before.jpg
Type: image/jpeg
Size: 174891 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100508/be70f75c/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-checked.jpg
Type: image/jpeg
Size: 188950 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100508/be70f75c/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3-after.jpg
Type: image/jpeg
Size: 190296 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100508/be70f75c/attachment-0005.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: useful-diffs.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100508/be70f75c/attachment-0001.txt>


More information about the Pkg-xfce-devel mailing list