! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
GTK3 apps use DejaVu Sans Book instead of Condensed
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description ale.carrazzoni 2012-06-15 05:22:40 CEST
Created attachment 4504 
DejaVu Sans Condensed

For some reason, the GTK3 apps I use are shown with DejaVu Sans Book
instead of
DejaVu Sans Condensed, which is the one I set for the GTK2 apps. At first I
thought this was just a settings issue, but then I switched to another font
and
both the GTK2 apps and the GTK3 apps used the same font. But when I set
DejaVu
Sans Condensed, the GTK3 apps use DejaVu Sans Book instead.

The first attachment has a picture of the settings screen and Gedit. Notice
how
Gedit uses DejaVu Sans Book while the settings screen uses DejaVu Sans
Condensed.

The second attachment shows what happens when I change the font to DejaVu
Sans
Oblique. Both apps use the same font. This happens with most fonts, except
DejaVu Sans Condensed.
Comment 1 ale.carrazzoni 2012-06-15 05:23:31 CEST
Created attachment 4505 
DejaVu Sans Oblique
Comment 2 ale.carrazzoni 2012-06-15 05:24:14 CEST
Here's the output of fc-match 'DejaVu Sans':

DejaVuSans.ttf: "DejaVu Sans" "Book"


I've checked the settings in xfconf and the /Gtk/FontName propiety appears as
"DejaVu Sans Semi-Condensed 10". If I run fc-match 'DejaVu Sans Semi-Condensed'
the output is:

Vera.ttf: "Bitstream Vera Sans" "Roman"

However, if I change the /Gtk/FontName propiety inside xfconf to "DejaVu Sans
Condensed 10" all Gtk apps use Bitstream Vera Sans instead. It seems that while
Gtk2 follow Xfconf, Gtk3 apps don't seem to follow it well.
Comment 3 Nick Schermer editbugs 2013-03-20 21:26:35 CET
My best guess is that this is set by the gtk-theme.
Comment 4 ale.carrazzoni 2013-03-20 23:56:00 CET
I have tried all GTK themes (even those that don't have a GTK3 version!), the bug still occurs (using GTK 3.4 right now, the bug started occurring on GTK 3.2). Maybe it's a GTK+ 3 issue, but for some reason nobody has the same issue.
Comment 5 Skunnyk editbugs 2020-05-28 22:22:07 CEST
Closing old bugs

Bug #9027

Reported by:
ale.carrazzoni
Reported on: 2012-06-15
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Attachments

DejaVu Sans Condensed (463.38 KB, image/png)
2012-06-15 05:22 CEST , ale.carrazzoni
no flags
DejaVu Sans Oblique (451.10 KB, image/png)
2012-06-15 05:23 CEST , ale.carrazzoni
no flags

Additional information