Bjoern Voigt wrote:
Sergey Kondakov wrote:
I use this setup for my TW spin: https://github.com/v-fox/live_opensuse_hsf/blob/5b191045ca9fe7a7bc2697df4473... It's made by Yast's Fonts module, basically it's: this font family priority -> 0) "Hack" for monospace. 1) Noto 2) Source 3) DejaVu 4) FreeSans settings are -> hintslight, rgb, lcddefault For terminal I use "Terminus", both bitmap and TTF for both console and X, but Hack for text editing and DejaVu for documents. There are fonts installed to cover pretty much entirety of UTF-8, at least for all languages on Wikipedia and special symbols on the Internet, when those above are missing something.
Looks very well for me. I hope to make the 0.9 release of that based on fresh TW soon, testing it now. Thanks for the example.
Most of the fonts look good with these settings.
Later I started fonts-settings from scratch:
# cp /var/adm/fillup-templates/sysconfig.fonts-config /etc/sysconfig/fonts-config
and manually adjusted some settings.
Original (/var/adm/fillup-templates/sysconfig.fonts-config):
VERBOSITY="0" FORCE_HINTSTYLE="none" FORCE_AUTOHINT="no" FORCE_BW="no" FORCE_BW_MONOSPACE="no" USE_LCDFILTER="lcdnone" USE_RGBA="none" USE_EMBEDDED_BITMAPS="yes" EMBEDDED_BITMAPS_LANGUAGES="ja:ko:zh-CN:zh-TW:zh-HK:zh-SG" PREFER_SANS_FAMILIES="" PREFER_SERIF_FAMILIES="" PREFER_MONO_FAMILIES="" SEARCH_METRIC_COMPATIBLE="yes" FORCE_FAMILY_PREFERENCE_LISTS="no" GENERATE_TTCAP_ENTRIES="yes" GENERATE_JAVA_FONT_SETUP="yes"
My version (/etc/sysconfig/fonts-config):
VERBOSITY="1" FORCE_HINTSTYLE="hintslight" FORCE_AUTOHINT="no" FORCE_BW="no" FORCE_BW_MONOSPACE="no" USE_LCDFILTER="lcddefault" USE_RGBA="rgb" USE_EMBEDDED_BITMAPS="yes" EMBEDDED_BITMAPS_LANGUAGES="ja:ko:zh-CN:zh-TW:zh-HK:zh-SG" PREFER_SANS_FAMILIES="Adobe Helvetica:Arial:B&H Lucida:Efont Biwidth:Efont Fixed:Efont Fixed Wide:Arabic Newspaper:Gnu Unifont" PREFER_SERIF_FAMILIES="Adobe Times:Times New Roman:Adobe New Century Schoolbook:Adobe Utopia:B&H LucidaBright:MUTT ClearlyU Wide:MUTT ClearlyU PUA:MUTT ClearlyU Alternate Glyphs Wide" PREFER_MONO_FAMILIES="Adobe Courier:Courier New:B&H LucidaTypewriter:Efont Fixed:Efont Fixed Wide:Misc Fixed:Misc Fixed Wide:Schumacher Clean" SEARCH_METRIC_COMPATIBLE="yes" FORCE_FAMILY_PREFERENCE_LISTS="no" GENERATE_TTCAP_ENTRIES="yes" GENERATE_JAVA_FONT_SETUP="yes"
Fonts of KDE applications look fine now. GTK+ applications like Seamonkey look fine in GNOME desktop too.
But GTK+ application fonts in KDE look ugly. For instance Gedit uses Black/White fonts in the text windows. Seamonkey uses mostly Black/White fonts (e.g. in menus and dialogs, but not in web views).
How can I fix this correctly?
Starting the gnome-settings-daemon (/usr/lib/gnome-settings-daemon-3.0/gnome-settings-daemon-localeexec) seems to configure most GTK+ fonts correctly. But still the pseudo fonts "variable width" and "fixed width" show up as Black/White fonts. The Gnome Settings Daemon is not started automatically, because of the option "OnlyShowIn=GNOME;" in /etc/xdg/autostart/gnome-settings-daemon.desktop. Ok, it was my fault. I did not read the comments in /etc/sysconfig/fonts-config carefully and used the wrong example font families.
Fonts like "Adobe Time" have a euphonious name, but in fact they are old X11 fixed-size bitmap fonts in PCF format: # fc-match "Adobe Times" timR12-ISO8859-1.pcf.gz: "Adobe Times" "Regular" # fc-match "Adobe Times" file :file=/usr/share/fonts/75dpi/timR12-ISO8859-1.pcf.gz Probably nobody wants to use such fonts today. And it's probably a good idea to change the bitmap font comments in /var/adm/fillup-templates/sysconfig.fonts-config into a warning: # Colon-separated list of prefered sans families. Most prefered family first. # # Empty string means 'system default'. Following example will convince your # system to use CFF fonts (if at least one of them installed). See # http://fontinfo.opensuse.org/fontformats.html for details. # # PREFER_SANS_FAMILIES="Source Sans Pro:CMU Sans Serif:CMU Bright:Linux Biolinum O:Latin Modern Sans" # # Other example gives the preference to bitmap fonts for various scripts. <<< insert a warning here # # PREFER_SANS_FAMILIES="Adobe Helvetica:B&H Lucida:Efont Biwidth:Efont Fixed:Efont Fixed Wide:Arabic Newspaper:Gnu Unifont:WenQuanYi WenQuanYi Bitmap Song" # PREFER_SANS_FAMILIES="" In YaST I deleted the missing fonts and preferred the "Bitstream Vera" font family for sans-serif and serif fonts. Now I have a working and good look font configuration. Gnome Settings Daemon is not needed anymore: /etc/sysconfig/fonts-config without comments: VERBOSITY="1" FORCE_HINTSTYLE="hintslight" FORCE_AUTOHINT="no" FORCE_BW="no" FORCE_BW_MONOSPACE="no" USE_LCDFILTER="lcddefault" USE_RGBA="rgb" USE_EMBEDDED_BITMAPS="yes" EMBEDDED_BITMAPS_LANGUAGES="ja:ko:zh-CN:zh-TW:zh-HK:zh-SG" PREFER_SANS_FAMILIES="Bitstream Vera Sans:Source Sans Pro:Linux Biolinum O:Latin Modern Sans" PREFER_SERIF_FAMILIES="Bitstream Vera Serif:Source Serif Pro:Linux Libertine O:Latin Modern Roman" PREFER_MONO_FAMILIES="Source Code Pro:Bitstream Vera Sans Mono:Linux Libertine Mono O:Latin Modern Mono:Latin Modern Mono Light" SEARCH_METRIC_COMPATIBLE="yes" FORCE_FAMILY_PREFERENCE_LISTS="no" GENERATE_TTCAP_ENTRIES="yes" GENERATE_JAVA_FONT_SETUP="yes" Thanks everyone for the good hints. Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org