[opensuse-factory] Fontconfig recommendations?
My fonts do not look very good in Tumbleweed. For instance the letter "i" looks like letter "l" in Helvetica. My setup: * Tumbleweed 20160307 * KDE Plasma desktop * font related settings in my $HOME cleared (files removed) * a copy of all Windows 8.1 fonts in /usr/share/fonts/truetype/ * NVidia GTX 750 * Eizo EV2336W monitor The files in /etc/fonts are unmodified with some exceptions: Extra file /etc/fonts/conf.d/00kde.conf with the content: <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/usr/local/share/fonts</dir> </fontconfig> (I installed two extra fonts in /usr/local/share/fonts with the KDE font installer.) I also tried to activate two configurations from the Arch Linux documentation: In /etc/fonts/conf.d: ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf . Both setttings did not solved my font problems. Is there a good guide for openSUSE's fontconfig settings? I tried to follow the documentation for Arch Linux: https://wiki.archlinux.org/index.php/font_configuration I'd like to use system-wide settings, but KDE tips are welcome too. Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi,
ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf .
Unfortunately, sub-pixel rendering of freetype2 from the official repository is disabled due to patents. If you want to use sub-pixel rendering at your own risk, you need to rebuild it. Here is a quick guide to you: 1. First, check what is Helvetica on your system: $ fc-match Helvetica file :file=/path/to/your/helvetica.otf 2. Then, find the best hinting configuration by $ ftview 16 /path/to/your/helvetica.otf 3. Set the hinting configuration to your Helvetica The Arch's documentation will be helpful. If you change hinting configuration for all the fonts on your system, you can use YaST > Fonts. Hope this helps, Fuminobu TAKEYAMA On 2016/03/15 21:14, Bjoern Voigt wrote:
My fonts do not look very good in Tumbleweed. For instance the letter "i" looks like letter "l" in Helvetica.
My setup: * Tumbleweed 20160307 * KDE Plasma desktop * font related settings in my $HOME cleared (files removed) * a copy of all Windows 8.1 fonts in /usr/share/fonts/truetype/ * NVidia GTX 750 * Eizo EV2336W monitor
The files in /etc/fonts are unmodified with some exceptions:
Extra file /etc/fonts/conf.d/00kde.conf with the content: <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/usr/local/share/fonts</dir> </fontconfig> (I installed two extra fonts in /usr/local/share/fonts with the KDE font installer.)
I also tried to activate two configurations from the Arch Linux documentation:
In /etc/fonts/conf.d:
ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf .
Both setttings did not solved my font problems.
Is there a good guide for openSUSE's fontconfig settings? I tried to follow the documentation for Arch Linux: https://wiki.archlinux.org/index.php/font_configuration
I'd like to use system-wide settings, but KDE tips are welcome too.
Greetings, Björn
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Fuminobu TAKEYAMA wrote:
ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf .
Unfortunately, sub-pixel rendering of freetype2 from the official repository is disabled due to patents.
If you want to use sub-pixel rendering at your own risk, you need to rebuild it. How can I check the availability of sub-pixel rendering in libfreetype6 quickly?
Here is a quick guide to you:
1. First, check what is Helvetica on your system: $ fc-match Helvetica file :file=/path/to/your/helvetica.otf Thank you for your hints.
# fc-match Helvetica file :file=/usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf # fc-match Helvetica texgyreheros-regular.otf: "TeX Gyre Heros" "Regular"
2. Then, find the best hinting configuration by $ ftview 16 /path/to/your/helvetica.otf
# ftview 16 /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf This is exactly the font, where letter "i" looks like "l" in my environment. I want to avoid this "TeX Gyre" fonts. First I tried to remove the font file /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf by removing its package (texlive-tex-gyre-fonts-2014.100.2.004svn18651-23.5.noarch). But this breaks my LaTeX installation: # zypper --quiet rm $(rpm -qf /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf) The following 4 packages are going to be REMOVED: dblatex texlive-collection-fontsrecommended texlive-tex-gyre texlive-tex-gyre-fonts 4 packages to remove. After the operation, 29.4 MiB will be freed. Continue? [y/n/? shows all options] (y): Later I tried to link the font name "Helvetica" to something else (e.g. "Bitstream Vera Sans"). This worked with the description here https://wiki.archlinux.org/index.php/font_configuration#Replace_or_set_defau... # cat /etc/fonts/local.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- /etc/fonts/local.conf file for local customizations --> <fontconfig> <match target="pattern"> <test qual="any" name="family"><string>Helvetica</string></test> <edit name="family" mode="assign" binding="same"><string>Bitstream Vera Sans</string></edit> </match> </fontconfig> Helvetica is "Bitstream Vera Sans" now: # fc-match Helvetica file :file=/usr/share/fonts/truetype/Vera.ttf # fc-match Helvetica Vera.ttf: "Bitstream Vera Sans" "Roman"
3. Set the hinting configuration to your Helvetica The Arch's documentation will be helpful.
If you change hinting configuration for all the fonts on your system, you can use YaST > Fonts. Thanks. I will look at this later.
After all the font tests, I have the next problem. Libreoffice 5.1.0.3 (RPM packages from http://www.libreoffice.org/) crashes with an segmentation fault if I select the font chooser. Reverting /etc/fonts/local.conf and calling "fc-cache -fv" again did not help. "strace" shows this: [...] 27733 brk(0x4e58000) = 0x4e58000 27733 open("/usr/share/fonts/truetype/ahronbd.ttf", O_RDONLY) = 45 27733 fstat(45, {st_mode=S_IFREG|0644, st_size=61612, ...}) = 0 27733 mmap(NULL, 61612, PROT_READ, MAP_SHARED, 45, 0) = 0x7f049b3ff000 27733 close(45) = 0 27733 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8c} --- 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de.zip", F_OK) = 0 [...] Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Bjoern Voigt wrote:
After all the font tests, I have the next problem. Libreoffice 5.1.0.3 (RPM packages from http://www.libreoffice.org/) crashes with an segmentation fault if I select the font chooser. Reverting /etc/fonts/local.conf and calling "fc-cache -fv" again did not help.
"strace" shows this:
[...] 27733 brk(0x4e58000) = 0x4e58000 27733 open("/usr/share/fonts/truetype/ahronbd.ttf", O_RDONLY) = 45 27733 fstat(45, {st_mode=S_IFREG|0644, st_size=61612, ...}) = 0 27733 mmap(NULL, 61612, PROT_READ, MAP_SHARED, 45, 0) = 0x7f049b3ff000 27733 close(45) = 0 27733 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8c} --- 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de.zip", F_OK) = 0 [...] Libreoffice5.1 works again after I replaced "freetype2-devel" and "libfreetype6" with the original Tumbleweed binaries ("zypper in --force freetype2-devel libfreetype"). I don't know why my self compiled ("zypper source-install freetype2-devel", "rpmbuild -ba freetype2.spec") and unmodified RPMs break Libreoffice.
Enabling sub-pixel hinting by recompiling the freetype RPM would be difficult if this breaks applications (Libreoffice ...?). I also found an additional way to blacklist the "TeX Gyre*" fonts: # cd /etc/fonts/conf.d # ln -sv /etc/fonts/conf.avail/58-texlive-tex-gyre.conf . # ln -sv /etc/fonts/conf.avail/58-texlive-tex-gyre-math.conf . # fc-cache -fv Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Bjoern Voigt <bjoernv@arcor.de> writes:
This is exactly the font, where letter "i" looks like "l" in my environment. I want to avoid this "TeX Gyre" fonts.
ln -s ../conf.avail/58-texlive-tex-gyre.conf /etc/fonts/conf.d/ Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
How can I check the availability of sub-pixel rendering in libfreetype6 quickly?
No good way, but by looking inside of obs project, you can find a patch like this: https://build.opensuse.org/package/view_file/home:zpintar:subpixel-hinting/f... Fuminobu TAKEYAMA On 2016/03/16 6:11, Bjoern Voigt wrote:
Fuminobu TAKEYAMA wrote:
ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf .
Unfortunately, sub-pixel rendering of freetype2 from the official repository is disabled due to patents.
If you want to use sub-pixel rendering at your own risk, you need to rebuild it. How can I check the availability of sub-pixel rendering in libfreetype6 quickly?
Here is a quick guide to you:
1. First, check what is Helvetica on your system: $ fc-match Helvetica file :file=/path/to/your/helvetica.otf Thank you for your hints.
# fc-match Helvetica file :file=/usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf # fc-match Helvetica texgyreheros-regular.otf: "TeX Gyre Heros" "Regular"
2. Then, find the best hinting configuration by $ ftview 16 /path/to/your/helvetica.otf
# ftview 16 /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf
This is exactly the font, where letter "i" looks like "l" in my environment. I want to avoid this "TeX Gyre" fonts.
First I tried to remove the font file /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf by removing its package (texlive-tex-gyre-fonts-2014.100.2.004svn18651-23.5.noarch). But this breaks my LaTeX installation:
# zypper --quiet rm $(rpm -qf /usr/share/fonts/texlive-tex-gyre/texgyreheros-regular.otf)
The following 4 packages are going to be REMOVED: dblatex texlive-collection-fontsrecommended texlive-tex-gyre texlive-tex-gyre-fonts
4 packages to remove. After the operation, 29.4 MiB will be freed. Continue? [y/n/? shows all options] (y):
Later I tried to link the font name "Helvetica" to something else (e.g. "Bitstream Vera Sans"). This worked with the description here
https://wiki.archlinux.org/index.php/font_configuration#Replace_or_set_defau...
# cat /etc/fonts/local.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- /etc/fonts/local.conf file for local customizations --> <fontconfig> <match target="pattern"> <test qual="any" name="family"><string>Helvetica</string></test> <edit name="family" mode="assign" binding="same"><string>Bitstream Vera Sans</string></edit> </match> </fontconfig>
Helvetica is "Bitstream Vera Sans" now:
# fc-match Helvetica file :file=/usr/share/fonts/truetype/Vera.ttf # fc-match Helvetica Vera.ttf: "Bitstream Vera Sans" "Roman"
3. Set the hinting configuration to your Helvetica The Arch's documentation will be helpful.
If you change hinting configuration for all the fonts on your system, you can use YaST > Fonts. Thanks. I will look at this later.
After all the font tests, I have the next problem. Libreoffice 5.1.0.3 (RPM packages from http://www.libreoffice.org/) crashes with an segmentation fault if I select the font chooser. Reverting /etc/fonts/local.conf and calling "fc-cache -fv" again did not help.
"strace" shows this:
[...] 27733 brk(0x4e58000) = 0x4e58000 27733 open("/usr/share/fonts/truetype/ahronbd.ttf", O_RDONLY) = 45 27733 fstat(45, {st_mode=S_IFREG|0644, st_size=61612, ...}) = 0 27733 mmap(NULL, 61612, PROT_READ, MAP_SHARED, 45, 0) = 0x7f049b3ff000 27733 close(45) = 0 27733 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8c} --- 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de-DE.zip", F_OK) = -1 ENOENT (No such file or directory) 27733 access("/opt/libreoffice5.1/program/../share/config/soffice.cfg/svx/ui/res/de.zip", F_OK) = 0 [...]
Greetings, Björn
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op dinsdag 15 maart 2016 13:14:29 CET schreef Bjoern Voigt:
My fonts do not look very good in Tumbleweed. For instance the letter "i" looks like letter "l" in Helvetica.
My setup: * Tumbleweed 20160307 * KDE Plasma desktop * font related settings in my $HOME cleared (files removed) * a copy of all Windows 8.1 fonts in /usr/share/fonts/truetype/ * NVidia GTX 750 * Eizo EV2336W monitor
The files in /etc/fonts are unmodified with some exceptions:
Extra file /etc/fonts/conf.d/00kde.conf with the content: <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/usr/local/share/fonts</dir> </fontconfig> (I installed two extra fonts in /usr/local/share/fonts with the KDE font installer.)
I also tried to activate two configurations from the Arch Linux documentation:
In /etc/fonts/conf.d:
ln -sv /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf . ln -sv /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf .
Both setttings did not solved my font problems.
Is there a good guide for openSUSE's fontconfig settings? I tried to follow the documentation for Arch Linux: https://wiki.archlinux.org/index.php/font_configuration
I'd like to use system-wide settings, but KDE tips are welcome too.
Greetings, Björn
Use Yast's font module. Set the anti-aliassing to what you like best. In KDE overriding the system's anti-aliassing settings can improve things, it's in systemsettings - fonts. -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 15.03.2016 17:14, Bjoern Voigt wrote:
My fonts do not look very good in Tumbleweed. For instance the letter "i" looks like letter "l" in Helvetica.
...
Greetings, Björn
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.
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. Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
onsdag den 16. marts 2016 12.21.11 CET skrev Bjoern Voigt:
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.
Seems great! Better than the default config. Maybe we could get it pushed default ? The fonts also seems more performance friendly or maybe just me. Bo -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 2016-03-16 19:00, Bo Simonsen wrote:
/etc/sysconfig/fonts-config without comments: VERBOSITY="1"
The normal value seems to be 0. What does the extra verbosity bring?
EMBEDDED_BITMAPS_LANGUAGES="ja:ko:zh-CN:zh-TW:zh-HK:zh-SG" FORCE_AUTOHINT="no" FORCE_BW="no" FORCE_BW_MONOSPACE="no" FORCE_FAMILY_PREFERENCE_LISTS="no" GENERATE_TTCAP_ENTRIES="yes" GENERATE_JAVA_FONT_SETUP="yes" SEARCH_METRIC_COMPATIBLE="yes" USE_EMBEDDED_BITMAPS="yes"
These already seem to be at these values.
FORCE_HINTSTYLE="hintslight" USE_LCDFILTER="lcddefault" USE_RGBA="rgb"
It is a matter of device(s) *and* personal taste, and so whatever you are going for, it will be wrong for someone else, which is why this has not been touched for a very long time, and should stay so.
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"
The project has, somewhat recently, chosen to go with Google Noto/Roboto (or so) as the preferred sans family and displaced Bitstream in the process. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Jan Engelhardt wrote:
On Wednesday 2016-03-16 19:00, Bo Simonsen wrote:
/etc/sysconfig/fonts-config without comments: VERBOSITY="1"
The normal value seems to be 0. What does the extra verbosity bring? The extra verbosity isn't necessary. I set this to "1" during debugging. VERBOSITY="1" messages are not very interesting and can be reset to VERBOSITY="0". VERBOSITY="1" shows
# fonts-config Creating fonts.{scale,dir} files ........................................................... Creating cache files for fontconfig .............................................................................. Creating 32bit cache files for fontconfig .............................................................................. It is not a local display, do not reread X font databases for now generating java font setup ... warning: cannot find a Simplified Chinese sans font, Simplified Chinese might not work in Java warning: cannot find a Simplified Chinese serif font, Simplified Chinese might not work in Java warning: cannot find a Traditional Chinese sans font, Traditional Chinese might not work in Java warning: cannot find a Traditional Chinese serif font, Traditional Chinese might not work in Java
EMBEDDED_BITMAPS_LANGUAGES="ja:ko:zh-CN:zh-TW:zh-HK:zh-SG" FORCE_AUTOHINT="no" FORCE_BW="no" FORCE_BW_MONOSPACE="no" FORCE_FAMILY_PREFERENCE_LISTS="no" GENERATE_TTCAP_ENTRIES="yes" GENERATE_JAVA_FONT_SETUP="yes" SEARCH_METRIC_COMPATIBLE="yes" USE_EMBEDDED_BITMAPS="yes"
These already seem to be at these values.
FORCE_HINTSTYLE="hintslight" USE_LCDFILTER="lcddefault" USE_RGBA="rgb"
It is a matter of device(s) *and* personal taste, and so whatever you are going for, it will be wrong for someone else, which is why this has not been touched for a very long time, and should stay so. Yes, but probably > 90% of openSUSE users use LCD monitors. I am not an LCD expert, but I read somewhere that most LCD monitors can be used best with "rgb" subpixel-hinting. The defaults (no LCD, no subpixel hinting) are probably not good for most users.
Windows 8.1/10 has an assistant for choosing the best Cleartype settings which is a bit easier to use than the YaST font module. Interestingly even Windows does not set the Cleartype settings from monitor settings (INF, EDID etc.) AFAIK. But anyway I doubt that less Windows than Linux users complain about bad font settings.
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"
The project has, somewhat recently, chosen to go with Google Noto/Roboto (or so) as the preferred sans family and displaced Bitstream in the process. Personally I found some problems with the default font settings. At first my default for sans-serif was "TeX Gyre Heros", a very exotic font. This was caused by the fact, that I installed some LaTeX packages and by the fact, that the default "" for the variables PREFER_SANS_FAMILIES, PREFER_SERIF_FAMILIES and PREFER_MONO_FAMILIES means, that every installed font can "win" the selection. I think the default values for the variables should contain a default font set, which should be installed by default.
Second no subpixel hinting is set by default. I am unsure about anti-aliasing because I do not see anti-aliasing variables in /etc/sysconfig/fonts-config. If there is a understanding about default values, I can write a wishlist bug report or a feature request in openFATE (https://features.opensuse.org/) about the topic. Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 15.03.2016 17:14, Bjoern Voigt wrote:
My fonts do not look very good in Tumbleweed. For instance the letter "i" looks like letter "l" in Helvetica.
...
Greetings, Björn
Duh, wrong link in the previous message. >_< That's the real config used from the proper commit: https://github.com/v-fox/live_opensuse_hsf/blob/4a221496b014041abdc2becdbfa9...
On Wed, 16 Mar 2016 03:59:26 +0500 Sergey Kondakov wrote:
Duh, wrong link in the previous message. >_< That's the real config used from the proper commit: https://github.com/v-fox/live_opensuse_hsf/blob/4a221496b014041abdc2becdb fa914b76e00d19e/source/root/etc/sysconfig/fonts-config
Looks badly wrapped. And doesn't work. Sorry.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Seems, needs some tuning. ;) -- WBR Kyrill
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 03:59:26 +0500 Sergey Kondakov wrote:
Duh, wrong link in the previous message. >_< That's the real config used from the proper commit: https://github.com/v-fox/live_opensuse_hsf/blob/4a221496b014041abdc2becdb fa914b76e00d19e/source/root/etc/sysconfig/fonts-config
Looks badly wrapped. And doesn't work. Sorry.
Guess you need to fix your MUA, then. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 16 Mar 2016 09:21:40 +0100 Andreas Schwab wrote:
Looks badly wrapped. And doesn't work. Sorry.
Guess you need to fix your MUA, then.
I don't know. What I see: http://susepaste.org/46391811 Claws Mail. -- WBR Kyrill
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 09:21:40 +0100 Andreas Schwab wrote:
Looks badly wrapped. And doesn't work. Sorry.
Guess you need to fix your MUA, then.
I don't know. What I see: http://susepaste.org/46391811
Which confirms that your MUA is broken. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 16 Mar 2016 11:23:07 +0100 Andreas Schwab wrote:
What I see: http://susepaste.org/46391811
Which confirms that your MUA is broken.
Better say _our_ MUA is broken. -- WBR Kyrill
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 11:23:07 +0100 Andreas Schwab wrote:
What I see: http://susepaste.org/46391811
Which confirms that your MUA is broken.
Better say _our_ MUA is broken.
Mine isn't. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andreas Schwab wrote:
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 11:23:07 +0100 Andreas Schwab wrote:
What I see: http://susepaste.org/46391811 Which confirms that your MUA is broken. Better say _our_ MUA is broken. Mine isn't. Are you sure, that Gnus handles the link correctly in format=flowed mails?
GnusFormatFlowed Gnus supports format=flowed when both sending and receiving messages, but it doesn’t actually flow the text to windows boundaries like other mail clients do. Doing so requires heavy tinkering, as discussed below. https://www.emacswiki.org/emacs/GnusFormatFlowed Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Bjoern Voigt <bjoernv@arcor.de> writes:
Andreas Schwab wrote:
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 11:23:07 +0100 Andreas Schwab wrote:
What I see: http://susepaste.org/46391811 Which confirms that your MUA is broken. Better say _our_ MUA is broken. Mine isn't. Are you sure, that Gnus handles the link correctly in format=flowed mails?
Yes. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andreas Schwab wrote:
Kyrill Detinov <lazy.kent@opensuse.org> writes:
On Wed, 16 Mar 2016 09:21:40 +0100 Andreas Schwab wrote:
Looks badly wrapped. And doesn't work. Sorry. Guess you need to fix your MUA, then. I don't know. What I see: http://susepaste.org/46391811 Which confirms that your MUA is broken. Kyrill uses the format=flowed encoding in this MUA:
Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable format=flowed isn't a broken format, but some MUA do not understand it and some mailing lists do not like it. Are there any format rules for this list? Personally I disabled automatic line wrapping ("Wrap plain text messages at 0 characters" in Seamonkey) to avoid the format=flowed problems but I am not sure, if someone complains about my setting. The link from Kyrill works for me (Seamonkey):
https://github.com/v-fox/live_opensuse_hsf/blob/4a221496b014041abdc2becdbfa9...
But in Andreas's reply it has a link break:
Duh, wrong link in the previous message. >_< That's the real config used from the proper commit: https://github.com/v-fox/live_opensuse_hsf/blob/4a221496b014041abdc2becdb fa914b76e00d19e/source/root/etc/sysconfig/fonts-config Greetings, Björn
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (8)
-
Andreas Schwab
-
Bjoern Voigt
-
Bo Simonsen
-
Fuminobu TAKEYAMA
-
Jan Engelhardt
-
Knurpht - Gertjan Lettink
-
Kyrill Detinov
-
Sergey Kondakov