Results 1 to 4 of 4

Thread: GTK font settings (text too small) in Kubuntu 14.04 (KDE 4.13)

  1. #1
    Join Date
    Jul 2011
    Location
    /Europe/Netherlands
    Beans
    378
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    GTK font settings (text too small) in Kubuntu 14.04 (KDE 4.13)

    After I recently cleared my KDE settings (changing the name of the .kde folder) to get the defaults back it also seem to have changed the appearance of GTK fonts. As shown in the example below they appear much smaller than the 'normal' fonts. Compare in the screenshot the menu items of Kate and Leafpad. The same small GTK fonts also appear on Eclipse and LibreOffice for example. Certainly doesn't look like the Ubuntu font at 12 points. Yet that is what the settings indicate. Am I overlooking some settings? Are there other config files for GTK fonts in KDE?

    ~/.config/gtk-3.0/settings.ini

    Code:
    [Settings]
    gtk-font-name=Ubuntu Regular 12
    gtk-theme-name=oxygen-gtk
    gtk-icon-theme-name=oxygen
    gtk-fallback-icon-theme=unity-webapps
    gtk-toolbar-style=GTK_TOOLBAR_ICONS
    gtk-menu-images=0
    gtk-button-images=0
    The GTK system settings:

    kde_gtk_settings.png

    Example (Kate vs Leafpad):

    kde_gtk_font_example.png

  2. #2
    Join Date
    Jul 2011
    Location
    /Europe/Netherlands
    Beans
    378
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: GTK font settings (text too small) in Kubuntu 14.04 (KDE 4.13)

    Found another config file ~/.gtkrc-2.0

    Code:
     File created by KDE Gtk Config
    # Configs for GTK2 programs
    
    include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
    style "user-font"
    {
            font_name="Ubuntu Regular"
    }
    widget_class "*" style "user-font"
    gtk-font-name="Ubuntu Regular 12"
    gtk-theme-name="oxygen-gtk"
    gtk-icon-theme-name="oxygen"
    gtk-fallback-icon-theme="unity-webapps"
    gtk-toolbar-style=GTK_TOOLBAR_ICONS
    gtk-menu-images=0
    gtk-button-images=0
    Again with a font size of 12.

  3. #3
    Join Date
    Jul 2011
    Location
    /Europe/Netherlands
    Beans
    378
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: GTK font settings (text too small) in Kubuntu 14.04 (KDE 4.13)

    Regarding GTK 2.0 I noticed that changing the font size does affect the application menu if the theme is set to Raleigh. This is not a solution for me as this theme looks horrible So if this is a bug it seems to be related to the oxygen-gtk theme.

  4. #4
    Join Date
    Jul 2011
    Location
    /Europe/Netherlands
    Beans
    378
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: GTK font settings (text too small) in Kubuntu 14.04 (KDE 4.13)

    Okay... I changed the fonts to Oxygen and after a while (couldn't get used to it) back to the Ubuntu font. Now all fonts look as intended, also in GTK apps... SOLVED but I don't exactly understand why

    Last edited by Erik1984; July 22nd, 2014 at 10:26 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •