From cbaacc89526db3e1f72b3e8ef3f72a9a7937878a91da59f50ea7fd8cd6cfe1e9 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 24 May 2012 14:25:42 +0000 Subject: [PATCH 01/17] - turn autohinter for Verdana (BCI off) OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=64 --- fontconfig.changes | 5 +++++ suse-hinting.conf | 1 + 2 files changed, 6 insertions(+) diff --git a/fontconfig.changes b/fontconfig.changes index c61cbc7..39877c6 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com + +- turn autohinter for Verdana (BCI off) + ------------------------------------------------------------------- Wed Mar 21 14:59:41 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index 7b0ba99..ffb4e3a 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -106,6 +106,7 @@ TrueType + Verdana Liberation Sans MS Gothic MS PGothic From 11bbb49921f9a7e44415754d42a3383399a80c7e6189d823cdcd68e08cfe24b4 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 May 2012 11:11:25 +0000 Subject: [PATCH 02/17] - Liberation Sans: hintslight appears to be not sufficient for both BCI and autohint, because longest straight lines in some glyphs such as 'g', 'a', 'B', 'f', etc., are rendered too wide (similar to hintnone). On the contrary, using BCI with hintstyle=hintfull (likewise for hintstyle=hintmedium) causes some parts of glyphs fonts to be too thin (see 'R' for example). So, the best combination seems to be autohinter with hintstyle=hintfull. OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=65 --- fontconfig.changes | 10 ++++++++++ suse-hinting.conf | 20 +++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/fontconfig.changes b/fontconfig.changes index 39877c6..968e26b 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 28 11:10:10 UTC 2012 - pgajdos@suse.com + +- Liberation Sans: hintslight appears to be not sufficient for both BCI and + autohint, because longest straight lines in some glyphs such as 'g', 'a', + 'B', 'f', etc., are rendered too wide (similar to hintnone). On the + contrary, using BCI with hintstyle=hintfull (likewise for hintstyle=hintmedium) + causes some parts of glyphs fonts to be too thin (see 'R' for example). + So, the best combination seems to be autohinter with hintstyle=hintfull. + ------------------------------------------------------------------- Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index ffb4e3a..155a727 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -333,6 +333,24 @@ exceptions will follow exceptions: --> - + + + + + Liberation Sans + + + true + + + hintfull + + + From a2c94edca6aba447ba1966c0fc84b592d24260526000d83d7408d8746e3d859d Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 May 2012 11:53:41 +0000 Subject: [PATCH 03/17] OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=66 --- suse-hinting.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/suse-hinting.conf b/suse-hinting.conf index 155a727..e4e08dd 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -85,6 +85,11 @@ even the digits which should be monospaced are not monospaced at all anymore. + For example, for DejaVu Sans: when autohinter used, + there is unnatural big space between 'a' and 'z', + 'd' and 'o' or 'o' and 'g' in string "lazy dog". That + doesn't show with BCI. + Because of this problem, better don't switch on the autohinter for From ca5f69d4eb60cce8038570a1907a072f9fcde7211f118b127e87f1593319f2f3 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 May 2012 11:55:55 +0000 Subject: [PATCH 04/17] - DejaVu Sans: added information why use BCI instead of autohinter OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=67 --- fontconfig.changes | 5 +++++ suse-hinting.conf | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index 968e26b..941a3a0 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com + +- DejaVu Sans: added information why use BCI instead of autohinter + ------------------------------------------------------------------- Mon May 28 11:10:10 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index e4e08dd..067228f 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -87,8 +87,8 @@ For example, for DejaVu Sans: when autohinter used, there is unnatural big space between 'a' and 'z', - 'd' and 'o' or 'o' and 'g' in string "lazy dog". That - doesn't show with BCI. + 'd' and 'o' or 'o' and 'g' in string "lazy dog" + for smaller sizes. That doesn't show with BCI. Because of this problem, better don't switch on the autohinter for From 3d6b0f8749dea4426a22f89e3a8e10255097e07a78f85370c890ec5c475c3178 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 May 2012 13:33:22 +0000 Subject: [PATCH 05/17] - Cantarell: hintslight appears to be not sufficient for both BCI and autohint, and BCI with hintfull seems to better handle distance between e. g. '8' and '6' for same sizes. Also '8' glyph look better with BCI in smaller sizes. Therefore, autohint=false and hintstyle=hintfull seems to be the best. OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=68 --- fontconfig.changes | 8 ++++++++ suse-hinting.conf | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/fontconfig.changes b/fontconfig.changes index 941a3a0..1f44dae 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 28 13:28:21 UTC 2012 - pgajdos@suse.com + +- Cantarell: hintslight appears to be not sufficient for both BCI and autohint, + and BCI with hintfull seems to better handle distance between e. g. '8' and + '6' for same sizes. Also '8' glyph look better with BCI in smaller sizes. + Therefore, autohint=false and hintstyle=hintfull seems to be the best. + ------------------------------------------------------------------- Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index 067228f..f02e1f1 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -357,5 +357,24 @@ exceptions: + + + + Cantarell + + + false + + + hintfull + + From 7e9b969c78449a2904975b5abfdd1e9472c5a1117f7a69fd9615ccf72e5d9bf9 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 May 2012 13:46:03 +0000 Subject: [PATCH 06/17] OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=69 --- suse-hinting.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/suse-hinting.conf b/suse-hinting.conf index f02e1f1..d0ed5c3 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -357,9 +357,12 @@ exceptions: - - + - - Liberation Sans + + Liberation - - true - - hintfull + hintslight - + + + + + DejaVu + + + hintslight + + + + + + + + Droid + + + hintslight + + + + Cantarell @@ -379,7 +386,7 @@ exceptions: false - hintfull + hintslight From f0a8198a164e03a315f6cedfc31c8b099c645b78f7335041b8f29bc2e7647a7e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Wed, 30 May 2012 08:51:16 +0000 Subject: [PATCH 11/17] - DejaVu Sans, Droid Sans, Liberation Sans, Cantarell: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Serif, Droid Serif, Liberation Serif: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep hintfull with BCI OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=74 --- fontconfig.changes | 8 ++++-- suse-hinting.conf | 67 +++++++++++++++++++++++++++++++++++----------- 2 files changed, 57 insertions(+), 18 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index cdd6b5c..9b00c5f 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,8 +1,12 @@ ------------------------------------------------------------------- Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com -- DejaVu, Droid, Liberation, Cantarell: using hintslight with BCI - (instead of hintfull with BCI) +- DejaVu Sans, Droid Sans, Liberation Sans, Cantarell: use + hintslight with BCI (instead of hintfull with BCI) +- DejaVu Serif, Droid Serif, Liberation Serif: use + hintslight with BCI (instead of hintfull with BCI) +- DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep + hintfull with BCI ------------------------------------------------------------------- Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index d1cba2a..6ab8a3d 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -340,44 +340,52 @@ exceptions will follow exceptions: --> - + - - Liberation + + Liberation Sans hintslight - - - - DejaVu + + DejaVu Sans hintslight - - - - Droid + + Droid Sans hintslight - Cantarell @@ -390,4 +398,31 @@ exceptions: + + + Liberation Serif + + + hintslight + + + + + + DejaVu Serif + + + hintslight + + + + + + Droid Serif + + + hintslight + + + From c51856f3f098c86f1076e2cce0e6e939670ce6bc10d5f5edadad71292766f10e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 31 May 2012 08:58:12 +0000 Subject: [PATCH 12/17] - DejaVu Sans, Droid Sans, Liberation Sans: use - Cantarell: use hintfull with BCI OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=75 --- fontconfig.changes | 3 ++- suse-hinting.conf | 32 +++++++++++++++++++------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index 9b00c5f..8dcbe51 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,12 +1,13 @@ ------------------------------------------------------------------- Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com -- DejaVu Sans, Droid Sans, Liberation Sans, Cantarell: use +- DejaVu Sans, Droid Sans, Liberation Sans: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Serif, Droid Serif, Liberation Serif: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep hintfull with BCI +- Cantarell: use hintfull with BCI ------------------------------------------------------------------- Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index 6ab8a3d..7937e69 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -346,7 +346,6 @@ exceptions: Liberation Sans DejaVu Sans Droid Sans - Cantarell Liberation Serif DejaVu Serif Droid Serif @@ -386,18 +385,6 @@ exceptions: - - - Cantarell - - - false - - - hintslight - - - Liberation Serif @@ -425,4 +412,23 @@ exceptions: + + + + + Cantarell + + + false + + + hintfull + + + From fdd6b9eb232bd13b67ae2a8910f99acae0d0423cc5209b8164a47f3fe9eb0845 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 31 May 2012 14:12:56 +0000 Subject: [PATCH 13/17] - Cantarell: use hintfull with autohinter OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=76 --- fontconfig.changes | 2 +- suse-hinting.conf | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index 8dcbe51..9d0b89d 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -7,7 +7,7 @@ Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com hintslight with BCI (instead of hintfull with BCI) - DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep hintfull with BCI -- Cantarell: use hintfull with BCI +- Cantarell: use hintfull with autohinter ------------------------------------------------------------------- Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com diff --git a/suse-hinting.conf b/suse-hinting.conf index 7937e69..de7e53d 100644 --- a/suse-hinting.conf +++ b/suse-hinting.conf @@ -412,19 +412,16 @@ exceptions: - + Cantarell - false + true hintfull From a9c412b5c817a0cd6ad4717408d5586dd0ccc08bb2441e8774b804fb1d92ef9f Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 1 Jun 2012 06:57:53 +0000 Subject: [PATCH 14/17] - don't install 29-liberation-aliases.conf, because 30-metric-aliases.conf already contains these bindings OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=77 --- fontconfig.changes | 6 ++++++ fontconfig.spec | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index 9d0b89d..eb0d0da 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 1 06:54:41 UTC 2012 - pgajdos@suse.com + +- don't install 29-liberation-aliases.conf, because + 30-metric-aliases.conf already contains these bindings + ------------------------------------------------------------------- Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com diff --git a/fontconfig.spec b/fontconfig.spec index d2ad91e..73df86f 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -164,10 +164,8 @@ install -m 644 conf.d/README $RPM_BUILD_ROOT/etc/fonts/conf.d install -m 644 $RPM_SOURCE_DIR/suse*.conf $RPM_BUILD_ROOT/etc/fonts/ install -m 644 $RPM_SOURCE_DIR/local.conf $RPM_BUILD_ROOT/etc/fonts install -m 644 $RPM_SOURCE_DIR/local.conf.instsys $RPM_BUILD_ROOT/etc/fonts/ -install -m 644 $RPM_SOURCE_DIR/29-liberation-aliases.conf $RPM_BUILD_ROOT/etc/fonts/conf.avail # tune links in conf.d: pushd $RPM_BUILD_ROOT/etc/fonts/conf.d - ln -s ../conf.avail/29-liberation-aliases.conf 29-liberation-aliases.conf rm -f 50-user.conf rm -f 51-local.conf ln -s ../suse-pre-user.conf 50-suse-pre-user.conf From 4a0a067bba457eb53c90a229435ee1a05cf219f5b7a580243643c9470f043c8e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 1 Jun 2012 06:59:44 +0000 Subject: [PATCH 15/17] OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=78 --- 29-liberation-aliases.conf | 35 ----------------------------------- fontconfig.spec | 1 - 2 files changed, 36 deletions(-) delete mode 100644 29-liberation-aliases.conf diff --git a/29-liberation-aliases.conf b/29-liberation-aliases.conf deleted file mode 100644 index 2f25a29..0000000 --- a/29-liberation-aliases.conf +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Times New Roman - Liberation Serif - - - Thorndale AMT - Liberation Serif - - - - Arial - Liberation Sans - - - Albany AMT - Liberation Sans - - - - Courier New - Liberation Mono - - - Cumberland AMT - Liberation Mono - - - diff --git a/fontconfig.spec b/fontconfig.spec index 73df86f..4547ebc 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -66,7 +66,6 @@ Source13: suse-hinting.conf Source14: suse-bitmaps.conf Source16: local.conf Source20: local.conf.instsys -Source30: 29-liberation-aliases.conf # fixed in next release https://www.libreoffice.org/bugzilla/show_bug.cgi?id=47703 Patch0: simsun-conf.patch # suse specific because freetype2-bitmap-foundry.patch From 8f9e07faba16849936c0251621d3566316af51769e7157155079e1838e0f232a Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Sat, 2 Jun 2012 12:52:30 +0000 Subject: [PATCH 16/17] Accepting request 123287 from home:hillwood:branches:M17N set WenQuanYi Micro He as default Chinese font. OBS-URL: https://build.opensuse.org/request/show/123287 OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=79 --- fontconfig.changes | 5 +++++ suse-post-user.conf | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/fontconfig.changes b/fontconfig.changes index eb0d0da..655200c 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 2 20:47:53 UTC+8 2012 - hillwood@linuxfans.org + +- set WenQuanYi Micro He as default Chinese font. + ------------------------------------------------------------------- Fri Jun 1 06:54:41 UTC 2012 - pgajdos@suse.com diff --git a/suse-post-user.conf b/suse-post-user.conf index 0fc8db9..0427bcb 100644 --- a/suse-post-user.conf +++ b/suse-post-user.conf @@ -40,13 +40,14 @@ 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 + NanumMyeongjo UnBatang Baekmuk Batang SimSun @@ -93,13 +94,14 @@ 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 + NanumGothic UnDotum Baekmuk Gulim Baekmuk Dotum @@ -137,13 +139,14 @@ Kochi Gothic CMEXSong FZSongTi + WenQuanYi Micro Hei WenQuanYi WenQuanYi Bitmap Song WenQuanYi Zen Hei Mono AR PL ShanHeiSun Uni FZMingTiB AR PL SungtiL GB AR PL Mingti2L Big5 - NanumGothicCoding + NanumGothicCoding UnDotum Baekmuk Gulim Baekmuk Dotum From a278e892d8afc245d1f94a13ae85d297a1a6e6cbf9b5a483f3179f8521e15a07 Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Sun, 3 Jun 2012 14:21:41 +0000 Subject: [PATCH 17/17] Accepting request 123366 from home:hillwood:branches:M17N fix Chinese Mono font OBS-URL: https://build.opensuse.org/request/show/123366 OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=80 --- fontconfig.changes | 5 +++++ suse-post-user.conf | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fontconfig.changes b/fontconfig.changes index 655200c..02f0fcd 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 3 22:18:41 UTC+8 2012 - hillwood@linuxfans.org + +- fix Chinese Mono font. + ------------------------------------------------------------------- Sat Jun 2 20:47:53 UTC+8 2012 - hillwood@linuxfans.org diff --git a/suse-post-user.conf b/suse-post-user.conf index 0427bcb..f336b82 100644 --- a/suse-post-user.conf +++ b/suse-post-user.conf @@ -139,7 +139,7 @@ Kochi Gothic CMEXSong FZSongTi - WenQuanYi Micro Hei + WenQuanYi Micro Hei Mono WenQuanYi WenQuanYi Bitmap Song WenQuanYi Zen Hei Mono AR PL ShanHeiSun Uni