From 9ede7a3f3562f07dcaeddb4b99540551c3ec39ee92da9ff6c7dcb0d0d9053111 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 27 Feb 2014 09:01:22 +0000 Subject: [PATCH] Accepting request 224056 from home:pgajdos - updated to 20140226: * FORCE_{SANS,SERIF,MONO}_PREFERENCE replaced by SEARCH_METRIC_COMPATIBLE - updated to 20140225: * introduced FORCE_{SANS,SERIF,MONO}_PREFERENCE - updated to 20140224: * add example of family preference: CFF fonts - updated to 20140222: * don't use autohinter for CFF files * hinstlight for CFF files - updated to 20140221 * added 31-metric-aliases-bw.conf - updated to 20140219 - revorked package, fontconfig configuration based on infinality one - added patches: * fontconfig-infinality-main.patch (remove parts of original 52-infinality.conf) OBS-URL: https://build.opensuse.org/request/show/224056 OBS-URL: https://build.opensuse.org/package/show/M17N/fonts-config?expand=0&rev=38 --- 10-rendering-options.conf.template | 62 ++ 11-base-rendering.conf | 123 ++++ 12-tt-monospace-rendering.conf | 26 + 13-selective-rendering-ipa.conf | 81 +++ 31-metric-aliases-bw.conf | 46 ++ 49-family-default.conf | 335 +++++++++ 60-family-prefer.conf | 201 ++++++ 70-reject.conf | 58 ++ empty.conf | 5 + fontconfig-infinality-1-20130104_1.tar.bz2 | 3 + ...config-infinality-generate-tt-groups.patch | 42 ++ fonts-config | 669 +++++++++++++----- fonts-config.changes | 43 ++ fonts-config.spec | 76 +- suse-bitmaps.conf.template | 84 --- suse-hinting.conf.template | 156 ---- sysconfig.fonts-config | 166 ++++- 17 files changed, 1716 insertions(+), 460 deletions(-) create mode 100644 10-rendering-options.conf.template create mode 100644 11-base-rendering.conf create mode 100644 12-tt-monospace-rendering.conf create mode 100644 13-selective-rendering-ipa.conf create mode 100644 31-metric-aliases-bw.conf create mode 100644 49-family-default.conf create mode 100644 60-family-prefer.conf create mode 100644 70-reject.conf create mode 100644 empty.conf create mode 100644 fontconfig-infinality-1-20130104_1.tar.bz2 create mode 100644 fontconfig-infinality-generate-tt-groups.patch delete mode 100644 suse-bitmaps.conf.template delete mode 100644 suse-hinting.conf.template diff --git a/10-rendering-options.conf.template b/10-rendering-options.conf.template new file mode 100644 index 0000000..8135f75 --- /dev/null +++ b/10-rendering-options.conf.template @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + _FORCE_HINTSTYLE_PLACEHOLDER_ + + + + + + + + _FORCE_AUTOHINT_PLACEHOLDER_ + + + + + + + _FORCE_BW_PLACEHOLDER_ + + + + + + + _FORCE_BW_MONOSPACE_PLACEHOLDER_ + + + + + + + + + _USE_LCDFILTER_PLACEHOLDER_ + + + + + + + _USE_RGBA_PLACEHOLDER_ + + + + _USE_EMBEDDED_BITMAPS_PLACEHOLDER_ + + + diff --git a/11-base-rendering.conf b/11-base-rendering.conf new file mode 100644 index 0000000..010699f --- /dev/null +++ b/11-base-rendering.conf @@ -0,0 +1,123 @@ + + + + + + + + + true + + + + + + + true + + + + + TT Instructed Font + + + false + + + + + NON TT Instructed Font + + + true + + + + + CFF + + + false + + + + + true + + + true + + + + + + + hintslight + + + + + false + + + CFF + + + hintfull + + + + + hintnone + + + hintnone + + + + + hintslight + + + hintslight + + + + + hintmedium + + + hintmedium + + + + + hintfull + + + hintfull + + + + + + + true + + + + + true + + + false + + + hintfull + + + true + + + + diff --git a/12-tt-monospace-rendering.conf b/12-tt-monospace-rendering.conf new file mode 100644 index 0000000..a4d7c3d --- /dev/null +++ b/12-tt-monospace-rendering.conf @@ -0,0 +1,26 @@ + + + + + + + true + + + 100 + + + false + + + false + + + hintfull + + + true + + + + diff --git a/13-selective-rendering-ipa.conf b/13-selective-rendering-ipa.conf new file mode 100644 index 0000000..058bf22 --- /dev/null +++ b/13-selective-rendering-ipa.conf @@ -0,0 +1,81 @@ + + + + + + + IPAexGothic + hintnone + false + + + IPAexMincho + hintnone + false + + + IPAGothic BoldItalic + hintnone + false + + + IPAGothic Bold + hintnone + false + + + IPAGothic Italic + hintnone + false + + + IPAGothic + hintnone + false + + + IPAMincho + hintnone + false + + + IPAPGothic BoldItalic + hintnone + false + + + IPAPGothic Bold + hintnone + false + + + IPAPGothic Italic + hintnone + false + + + IPAPGothic + hintnone + + + IPAPMincho + hintnone + false + + + IPAUIGothic + hintnone + false + + + diff --git a/31-metric-aliases-bw.conf b/31-metric-aliases-bw.conf new file mode 100644 index 0000000..744a5a4 --- /dev/null +++ b/31-metric-aliases-bw.conf @@ -0,0 +1,46 @@ + + + + + + + true + + + + Helvetica + + + Liberation Sans + + + + + true + + + + Times + + + Liberation Serif + + + + + true + + + + Courier + + + Liberation Mono + + + diff --git a/49-family-default.conf b/49-family-default.conf new file mode 100644 index 0000000..a503ac2 --- /dev/null +++ b/49-family-default.conf @@ -0,0 +1,335 @@ + + + + + + + + + + + + Georgia + serif + + + Bell MT + serif + + + Thorndale AMT + serif + + + SUSE Serif + serif + + + FreeSerif + serif + + + DejaVu Serif + serif + + + Droid Serif + serif + + + Liberation Serif + serif + + + HGMinchoL + serif + + + HGPMinchoL + serif + + + HGPMinchoB + serif + + + HGSMinchoB + serif + + + HGMinchoE + serif + + + HGPMinchoE + serif + + + HGSMinchoE + serif + + + IPAMincho + serif + + + IPAPMincho + serif + + + IPAexMincho + serif + + + Sazanami Mincho + serif + + + STIXGeneral + serif + + + Tinos + serif + + + + Trebuchet + sans-serif + + + Segoe + sans-serif + + + Andale Sans + sans-serif + + + Albany AMT + sans-serif + + + SUSE Sans + sans-serif + + + FreeSans + sans-serif + + + DejaVu Sans + sans-serif + + + Droid Sans + sans-serif + + + Liberation Sans + sans-serif + + + Cantarell + sans-serif + + + HGGothicB + sans-serif + + + HGPGothicB + sans-serif + + + HGGothicE + sans-serif + + + HGPGothicE + sans-serif + + + HGSGothicE + sans-serif + + + HGGothicM + sans-serif + + + HGPGothicM + sans-serif + + + HGSGothicM + sans-serif + + + IPAGothic + sans-serif + + + IPAPGothic + sans-serif + + + IPAexGothic + sans-serif + + + Sazanami Gothic + sans-serif + + + Baekmuk Gulim + sans-serif + + + Arimo + sans-serif + + + + Fixed + monospace + + + Cumberland AMT + monospace + + + SUSE Sans Mono + monospace + + + FreeMono + monospace + + + DejaVu Sans Mono + monospace + + + Droid Sans Mono + monospace + + + Liberation Mono + monospace + + + Cousine + monospace + + + + + + + + + + + symbol + + + OpenSymbol + + + Standard Symbols L + + + + + + + console + + + Misc Console + + + Misc Console Wide + + + + + + + + + + + + + + Hershey-Gothic-English + + + + + Hershey-Plain-Duplex + + + + + Hershey-Plain-Duplex-Italic + + + + + Hershey-Plain-Triplex + + + + + Hershey-Plain-Triplex-Italic + + + + + Hershey-Script-Simplex + + + + + Hershey-Script-Complex + + + + + Hershey-Gothic-German + + + + + Hershey-Gothic-Italian + + + + + + + + diff --git a/60-family-prefer.conf b/60-family-prefer.conf new file mode 100644 index 0000000..48d36e3 --- /dev/null +++ b/60-family-prefer.conf @@ -0,0 +1,201 @@ + + + + + + + + serif + + Times New Roman + Thorndale AMT + Liberation Serif + DejaVu Serif + Droid Serif + Tinos + SUSE Serif + Bitstream Vera Serif + Nimbus Roman No9 L + Luxi Serif + Likhan + KacstBook + Frank Ruehl CLM + Times + Khmer OS System + Lohit Punjabi + Lohit Oriya + Pothana2000 + TSCu_Times + BPG Chveulebrivi + Nazli + FreeSerif + MS PMincho + MS Mincho + HGPMinchoL + HGMinchoL + IPAPMincho + IPAMincho + IPAexMincho + Sazanami Mincho + Kochi Mincho + CMEXSong + FZSongTi + WenQuanYi Micro Hei + WenQuanYi WenQuanYi Bitmap Song + WenQuanYi Zen Hei + AR PL ShanHeiSun Uni + FZMingTiB + AR PL SungtiL GB + AR PL Mingti2L Big5 + NanumMyeongjo + UnBatang + Baekmuk Batang + SimSun + HanyiSong + ZYSong18030 + STIXGeneral + + + + sans-serif + + Arial + Albany AMT + Verdana + + + + + + sans-serif + + + true + + + Liberation Sans + + + DejaVu Sans + + + + + sans-serif + + + false + + + DejaVu Sans + + + Liberation Sans + + + + sans-serif + + Droid Sans + Arimo + Cantarell + SUSE Sans + Bitstream Vera Sans + Nimbus Sans L + Luxi Sans + Mukti Narrow + KacstBook + Nachlieli CLM + Helvetica + Khmer OS System + Lohit Punjabi + Lohit Oriya + Pothana2000 + TSCu_Paranar + BPG Glaho + Terafik + FreeSans + Meiryo + MS PGothic + MS Gothic + HGPGothicB + HGGothicB + IPAPGothic + IPAGothic + IPAexGothic + VL PGothic + VL Gothic + Sazanami Gothic + Kochi Gothic + CMEXSong + FZSongTi + WenQuanYi Micro Hei + WenQuanYi WenQuanYi Bitmap Song + WenQuanYi Zen Hei + AR PL ShanHeiSun Uni + FZMingTiB + AR PL SungtiL GB + AR PL Mingti2L Big5 + NanumGothic + UnDotum + Baekmuk Gulim + Baekmuk Dotum + + + + monospace + + Consolas + Liberation Mono + DejaVu Sans Mono + Droid Sans Mono + Andale Mono + Cousine + SUSE Sans Mono + Bitstream Vera Sans Mono + Courier New + Cumberland AMT + Nimbus Mono L + Luxi Mono + Mukti Narrow + KacstBook + Miriam Mono CLM + Terafik + Khmer OS System + Lohit Punjabi + Lohit Oriya + Pothana2000 + TSCu_Paranar + BPG Courier + FreeMono + MS Gothic + HGGothicB + IPAGothic + VL Gothic + Sazanami Gothic + Kochi Gothic + CMEXSong + FZSongTi + WenQuanYi Micro Hei Mono + WenQuanYi WenQuanYi Bitmap Song + WenQuanYi Zen Hei Mono + AR PL ShanHeiSun Uni + FZMingTiB + AR PL SungtiL GB + AR PL Mingti2L Big5 + NanumGothicCoding + UnDotum + Baekmuk Gulim + Baekmuk Dotum + NSimSun + HanyiSong + ZYSong18030 + + + + + diff --git a/70-reject.conf b/70-reject.conf new file mode 100644 index 0000000..811ca21 --- /dev/null +++ b/70-reject.conf @@ -0,0 +1,58 @@ + + + + + + *.bdf + + + + + + + Hershey-Gothic-English + + + + + Hershey-Plain-Duplex + + + + + Hershey-Plain-Duplex-Italic + + + + + Hershey-Plain-Triplex + + + + + Hershey-Plain-Triplex-Italic + + + + + Hershey-Script-Simplex + + + + + Hershey-Script-Complex + + + + + Hershey-Gothic-German + + + + + Hershey-Gothic-Italian + + + + + diff --git a/empty.conf b/empty.conf new file mode 100644 index 0000000..231d834 --- /dev/null +++ b/empty.conf @@ -0,0 +1,5 @@ + + + + + diff --git a/fontconfig-infinality-1-20130104_1.tar.bz2 b/fontconfig-infinality-1-20130104_1.tar.bz2 new file mode 100644 index 0000000..0998d8c --- /dev/null +++ b/fontconfig-infinality-1-20130104_1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07c79d4383a62f100e4c690c212f575670a9c026b3e782b31c44885e41efa5ba +size 22222 diff --git a/fontconfig-infinality-generate-tt-groups.patch b/fontconfig-infinality-generate-tt-groups.patch new file mode 100644 index 0000000..d9f4064 --- /dev/null +++ b/fontconfig-infinality-generate-tt-groups.patch @@ -0,0 +1,42 @@ +Index: infinality/conf.src/generate60/60-group-non-tt-fonts.conf.awk +=================================================================== +--- infinality/conf.src/generate60/60-group-non-tt-fonts.conf.awk.orig 2013-01-05 02:11:58.000000000 +0100 ++++ infinality/conf.src/generate60/60-group-non-tt-fonts.conf.awk 2014-02-14 09:44:34.518450937 +0100 +@@ -22,23 +22,6 @@ + } + + END { +- printf "\t\n" +- printf "\t\t\n" +- printf "\t\t\tNON TT Instructed Font\n" +- printf "\t\t\n" +- printf "\t\t\n" +- printf "\t\t\ttrue\n" +- printf "\t\t\n" +- printf "\t\t\n" +- printf "\t\t\thintslight\n" +- printf "\t\t\n" +- printf "\t\t\n" +- printf "\t\t\ttrue\n" +- printf "\t\t\n" +- printf "\t\t\n" +- printf "\t\t\ttrue\n" +- printf "\t\t\n" +- printf "\t\n\n" + printf "\n\n" + } + +Index: infinality/conf.src/generate60/60-group-tt-fonts.conf.awk +=================================================================== +--- infinality/conf.src/generate60/60-group-tt-fonts.conf.awk.orig 2013-01-05 02:11:58.000000000 +0100 ++++ infinality/conf.src/generate60/60-group-tt-fonts.conf.awk 2014-02-14 09:45:47.492311657 +0100 +@@ -9,9 +9,6 @@ + + { + printf "\t\n" +- printf "\t\t\n" +- printf "\t\t\tfalse\n" +- printf "\t\t\n" + printf "\t\t\n" + printf "\t\t\t" + printf $0 diff --git a/fonts-config b/fonts-config index c577f42..8c612c4 100644 --- a/fonts-config +++ b/fonts-config @@ -20,6 +20,107 @@ fonts-config [B