Bug ID: 369151
           Summary: kde-gtk-config erroneously insert foundry name into
                    font name for GTK 3 config
           Product: kde-gtk-config
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general

When a font, which is selected in kde-gtk-config, is available from two or more
sources, the app saves its name into the configuration file with a suffix, and
this notation seems to be not recognized by GTK resulting in "SansSerif" font
being used instead of the selected one.

gtk-font-name=Cantarell [ABAT] 9

Removing "[ABAT]" satisfies GTK and it uses Cantarell then. 

Reproducible: Always

Steps to Reproduce:
1. Find or install a font, available in two variants with different foundry
names or one with foundry name and the other one without.
2. Select this font in kde-gtk-config and save configuration
3. open ~/.config/gtk-3.0/settings.ini and notice foundry name or '[unknown]'
in the gtk-font-name value.
4. Launch a GTK 3 application.

Actual Results:  
The application uses "SansSerif" font for UI. 

Expected Results:  
The selected font is used for UI.

You are receiving this mail because:
You are watching all bug changes.

Reply via email to