From a4336875275f6eef46aed91248250e8c4bb307cbd0bc20a553d91635825df2c4 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 27 Jul 2012 10:33:38 +0000 Subject: [PATCH] - added configuration for croscorefonts - hintnone for IPA fonts [bnc#766319] OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=86 --- 11-suse-hinting.conf | 7 ---- 16-suse-hintstyle.conf | 28 ++++++++++++++ fontconfig.changes | 10 +++++ fontconfig.spec | 3 ++ metric-croscore.patch | 81 +++++++++++++++++++++++++++++++++++++++++ suse-generic-names.conf | 3 ++ suse-post-user.conf | 5 ++- 7 files changed, 129 insertions(+), 8 deletions(-) create mode 100644 metric-croscore.patch diff --git a/11-suse-hinting.conf b/11-suse-hinting.conf index 6c24cd5..81dfc4a 100644 --- a/11-suse-hinting.conf +++ b/11-suse-hinting.conf @@ -149,13 +149,6 @@ HGPKyokashotai HGSSoeiKakupoptai HGSeikaishotaiPRO - IPAexMincho - IPAexGothic - IPAMincho - IPAGothic - IPAPMincho - IPAPGothic - IPAUIGothic TLKyokashotai TLMincho TLPMincho diff --git a/16-suse-hintstyle.conf b/16-suse-hintstyle.conf index b94f716..63442d8 100644 --- a/16-suse-hintstyle.conf +++ b/16-suse-hintstyle.conf @@ -119,4 +119,32 @@ exceptions: + + + + + IPAexGothic + IPAexMincho + IPAGothic BoldItalic + IPAGothic Bold + IPAGothic Italic + IPAGothic + IPAMincho + IPAPGothic BoldItalic + IPAPGothic Bold + IPAPGothic Italic + IPAPGothic + IPAPMincho + IPAUIGothic + + + hintnone + + + diff --git a/fontconfig.changes b/fontconfig.changes index 88780fc..dcb8b98 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jul 27 09:52:20 UTC 2012 - pgajdos@suse.com + +- added configuration for croscorefonts + +------------------------------------------------------------------- +Thu Jul 26 12:15:37 UTC 2012 - pgajdos@suse.com + +- hintnone for IPA fonts [bnc#766319] + ------------------------------------------------------------------- Tue Jul 3 11:37:52 UTC 2012 - pgajdos@suse.com diff --git a/fontconfig.spec b/fontconfig.spec index 75a446e..015400b 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -75,6 +75,8 @@ Patch1: make-check.patch Patch2: usr-share-doc-packages.patch # https://www.libreoffice.org/bugzilla/show_bug.cgi?id=47705 Patch3: cloexec.patch +# to be upstreamed +Patch4: metric-croscore.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: ipa-fonts-config = 003.02 Obsoletes: ipa-fonts-config <= 003.02 @@ -121,6 +123,7 @@ accepts font patterns and returns the nearest matching font. %patch1 -p1 %patch2 -p1 %patch3 +%patch4 %build autoreconf -fiv diff --git a/metric-croscore.patch b/metric-croscore.patch new file mode 100644 index 0000000..84405ba --- /dev/null +++ b/metric-croscore.patch @@ -0,0 +1,81 @@ +Index: conf.d/30-metric-aliases.conf +=================================================================== +--- conf.d/30-metric-aliases.conf ++++ conf.d/30-metric-aliases.conf +@@ -21,6 +21,10 @@ + Liberation Sans + Liberation Serif + Liberation Mono ++ Croscore fonts; ++ Tinos ++ Arimo ++ Cousine + StarOffice fonts: + Albany + Thorndale +@@ -82,6 +86,13 @@ + + + ++ Tinos ++ ++ Arial ++ ++ ++ ++ + Albany + + Arial +@@ -103,6 +114,13 @@ + + + ++ Arimo ++ ++ Times New Roman ++ ++ ++ ++ + Thorndale + + Times New Roman +@@ -124,6 +142,13 @@ + + + ++ Cousine ++ ++ Courier New ++ ++ ++ ++ + Cumberland + + Courier New +@@ -219,6 +244,7 @@ + + Arial + ++ Tinos + Liberation Sans + Albany + Albany AMT +@@ -228,6 +254,7 @@ + + Times New Roman + ++ Arimo + Liberation Serif + Thorndale + Thorndale AMT +@@ -237,6 +264,7 @@ + + Courier New + ++ Cousine + Liberation Mono + Cumberland + Cumberland AMT diff --git a/suse-generic-names.conf b/suse-generic-names.conf index a08f0e7..937244a 100644 --- a/suse-generic-names.conf +++ b/suse-generic-names.conf @@ -31,6 +31,7 @@ IPAexMincho Sazanami Mincho STIXGeneral + Arimo serif