[opensuse-factory] new font{,s-}config
Hi list, please take a look on these two packages located in home:pgajdos. (Non)changes ============ 1. SUSE specific configuration is there exclusively provided by fonts-config package. 2. Default configuration and configuration options is somewhat based on infinality-fontconfig ideas (some points are not though): a. Families with good instructions (based on infinality database) are grouped together in 10-group-tt-hinted-fonts.conf. b. For this group, autohinter defaults to off, for other families is autohinter on. This is most significant change to previous default configuration, where autohinter was turned on only for enumerated families. c. Hinting default remains same, hintfull (=on) for BCI, hintslight for autohinter. d. Antialias remains of course on by default. e. lcdfilter is set to lcdnone, rgba is set to none. This is subject to change if we will find an agreement, but keep in mind that this configuration depends for example on display rotation and, to my knowledge, can't be changed in majority of running applications. f. When ms fonts are not installed, default families are DejaVu Sans, Liberation Serif and Liberation Mono, which is recommended by infinality. g. 10-rendering-options.conf contains possible modifications of the above default, for example (i) force autohinter for all fonts (to my testing only, can produce more thick glyphs, but some glyphs can be more blurred) (ii) force nonsmoothed black and white rendering (without antialias). Default sans font then changes to Liberation Sans, which gives quite readable results for latin, cyrillic and greek. I have not elaborated for other scripts so far, help is appreciated. (iii) infinality-like option to force black and white rendering for good hinted monospaced fonts (e. g. Liberation Mono) (iv) more, like embedded bitmap, lcdfilter, rgba, hinstyle setup. 3. 10-rendering-options.conf is generated from template though; it is created depending on new sysconfig variables in /etc/sysconfig/fonts-conf. In this sysconfig, you can even choose prefered sans, serif and monospaced families. (All is prepared to create a yast module :).) Statistics ========== See the attachment created as diff of fontinfo output. There are many changes with signature '-bci -3 +autohint +1' which basically means 'use autohinter with hintslight(1) instead of native hinter with hintful(3)'. This is related to 2.b. and expected. When you grep out these lines, you get AnonymousProBold -autohint -1 +bci +3 AnonymousProBoldItalic -autohint -1 +bci +3 AnonymousProItalic -autohint -1 +bci +3 AnonymousProRegular -autohint -1 +bci +3 CantarellBold -3 +1 CantarellRegular -3 +1 ElhamRegular -3 +1 HomaRegular -3 +1 IPAGothicBoldBold -bci +autohint IPAGothicBoldItalicBoldItalic -bci +autohint IPAGothicItalicItalic -bci +autohint IPAGothicRegular -bci +autohint IPAMinchoRegular -bci +autohint IPAPGothicBoldBold -bci +autohint IPAPGothicBoldItalicBoldItalic -bci +autohint IPAPGothicItalicItalic -bci +autohint IPAPGothicRegular -bci +autohint IPAPMinchoRegular -bci +autohint IPAUIGothicRegular -bci +autohint IPAexGothicRegular -bci +autohint IPAexMinchoRegular -bci +autohint KoodakRegular -3 +1 Migu1MBold -bci +autohint Migu1MRegular -bci +autohint NazliBold -3 +1 NazliRegular -3 +1 RoyaBold -3 +1 RoyaRegular -3 +1 TerafikBold -3 +1 TerafikRegular -3 +1 TitrBold -3 +1 WenQuanYiMicroHeiRegular -bci +autohint IPA* families changes can be ignored because they are rendered with hintstyle=hintnone by special fontconfig anyway. But otherwise, if you see something odd, please let me know. Please dispute, comment and TEST! Thanks, Petr
Dnia czwartek, 20 lutego 2014 10:53:02 Petr Gajdos pisze:
Hi list,
please take a look on these two packages located in home:pgajdos.
(Non)changes ============ 1. SUSE specific configuration is there exclusively provided by fonts-config package. 2. Default configuration and configuration options is somewhat based on infinality-fontconfig ideas (some points are not though): a. Families with good instructions (based on infinality database) are grouped together in 10-group-tt-hinted-fonts.conf. b. For this group, autohinter defaults to off, for other families is autohinter on. This is most significant change to previous default configuration, where autohinter was turned on only for enumerated families. c. Hinting default remains same, hintfull (=on) for BCI, hintslight for autohinter. d. Antialias remains of course on by default. e. lcdfilter is set to lcdnone, rgba is set to none. This is subject to change if we will find an agreement, but keep in mind that this configuration depends for example on display rotation and, to my knowledge, can't be changed in majority of running applications.
Does enabling lcdfilter and rgba systemwide still need symlinks in /etc/fonts/conf.d?
f. When ms fonts are not installed, default families are DejaVu Sans, Liberation Serif and Liberation Mono, which is recommended by infinality. g. 10-rendering-options.conf contains possible modifications of the above default, for example (i) force autohinter for all fonts (to my testing only, can produce more thick glyphs, but some glyphs can be more blurred) (ii) force nonsmoothed black and white rendering (without antialias). Default sans font then changes to Liberation Sans, which gives quite readable results for latin, cyrillic and greek. I have not elaborated for other scripts so far, help is appreciated. (iii) infinality-like option to force black and white rendering for good hinted monospaced fonts (e. g. Liberation Mono) (iv) more, like embedded bitmap, lcdfilter, rgba, hinstyle setup. 3. 10-rendering-options.conf is generated from template though; it is created depending on new sysconfig variables in /etc/sysconfig/fonts-conf. In this sysconfig, you can even choose prefered sans, serif and monospaced families. (All is prepared to create a yast module :).)
Some GUI tool would be great. Playing with fontconfig settings directly in .conf files under /etc/fonts/conf.d/ is not so easy task, especially for less experienced users.
Statistics ========== See the attachment created as diff of fontinfo output. There are many changes with signature '-bci -3 +autohint +1' which basically means 'use autohinter with hintslight(1) instead of native hinter with hintful(3)'. This is related to 2.b. and expected. When you grep out these lines, you get
AnonymousProBold -autohint -1 +bci +3 AnonymousProBoldItalic -autohint -1 +bci +3 AnonymousProItalic -autohint -1 +bci +3 AnonymousProRegular -autohint -1 +bci +3 CantarellBold -3 +1 CantarellRegular -3 +1 ElhamRegular -3 +1 HomaRegular -3 +1 IPAGothicBoldBold -bci +autohint IPAGothicBoldItalicBoldItalic -bci +autohint IPAGothicItalicItalic -bci +autohint IPAGothicRegular -bci +autohint IPAMinchoRegular -bci +autohint IPAPGothicBoldBold -bci +autohint IPAPGothicBoldItalicBoldItalic -bci +autohint IPAPGothicItalicItalic -bci +autohint IPAPGothicRegular -bci +autohint IPAPMinchoRegular -bci +autohint IPAUIGothicRegular -bci +autohint IPAexGothicRegular -bci +autohint IPAexMinchoRegular -bci +autohint KoodakRegular -3 +1 Migu1MBold -bci +autohint Migu1MRegular -bci +autohint NazliBold -3 +1 NazliRegular -3 +1 RoyaBold -3 +1 RoyaRegular -3 +1 TerafikBold -3 +1 TerafikRegular -3 +1 TitrBold -3 +1 WenQuanYiMicroHeiRegular -bci +autohint
IPA* families changes can be ignored because they are rendered with hintstyle=hintnone by special fontconfig anyway. But otherwise, if you see something odd, please let me know.
Please dispute, comment and TEST!
Thanks, Petr
-- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
On Thu, Feb 20, 2014 at 02:26:23PM +0100, Mariusz Fik wrote:
e. lcdfilter is set to lcdnone, rgba is set to none. This is subject to change if we will find an agreement, but keep in mind that this configuration depends for example on display rotation and, to my knowledge, can't be changed in majority of running applications.
Does enabling lcdfilter and rgba systemwide still need symlinks in /etc/fonts/conf.d?
You mean 10-sub-pixel-*.conf, 11-lcdfilter-*.conf. They will no longer be needed. All user will have to do to change the default configuration is to alter sysconfig attributes and run /usr/sbin/fonts-config manually after that (until yast module is created). Petr
On Thu, Feb 20, 2014 at 10:53:02AM +0100, Petr Gajdos wrote:
See the attachment created as diff of fontinfo output. There are many changes with signature '-bci -3 +autohint +1' which basically means 'use autohinter with hintslight(1) instead of native hinter with hintful(3)'. This is related to 2.b. and expected. When you grep out these lines, you get
This is wrong for CFF fonts. I have corrected it yet to autohint=false and hinstyle=hintslight for these. Petr
participants (2)
-
Mariusz Fik
-
Petr Gajdos