Accepting request 209634 from M17N

- Add
  0001-Fix-inversion-between-Tinos-and-Cousine-in-the-comme.patch:
  fix error in 30-metric-aliases.conf comments (fdo#72395).
- Add
  0002-Add-metric-aliases-for-additional-Google-ChromeOS-fo.patch:
  add compat fonts for Cambria, Caladea and Symbol (fdo#72395). (forwarded request 209633 from MargueriteSu)

OBS-URL: https://build.opensuse.org/request/show/209634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontconfig?expand=0&rev=74
This commit is contained in:
Stephan Kulow 2013-12-08 18:26:36 +00:00 committed by Git OBS Bridge
commit b49d01cdf0
4 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From 88c90a10646f27f597c2cb91c6a8df71bbf4669f Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Fri, 6 Dec 2013 14:08:08 +0100
Subject: [PATCH 1/2] Fix inversion between Tinos and Cousine in the comment
---
conf.d/30-metric-aliases.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases.conf
index d0d9ea2..c9ee79f 100644
--- a/conf.d/30-metric-aliases.conf
+++ b/conf.d/30-metric-aliases.conf
@@ -22,8 +22,8 @@ Microsoft fonts: Liberation fonts: Google CrOS core fonts: StarOffice fo
================ ====================== ======================= ================= ==============
Arial Liberation Sans Arimo Albany Albany AMT
Arial Narrow Liberation Sans Narrow
-Times New Roman Liberation Serif Cousine Thorndale Thorndale AMT
-Courier New Liberation Mono Tinos Cumberland Cumberland AMT
+Times New Roman Liberation Serif Tinos Thorndale Thorndale AMT
+Courier New Liberation Mono Cousine Cumberland Cumberland AMT
Microsoft fonts: Other fonts:
================ ============
--
1.8.4

View File

@ -0,0 +1,81 @@
From 74b9be6b4030ac1bfd4c20b52bbcdeb66373eaba Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Fri, 6 Dec 2013 14:23:52 +0100
Subject: [PATCH 2/2] Add metric aliases for additional Google ChromeOS fonts
MS fonts Cambria, Symbol and Calibri have compat metrics fonts
from ChromeOS.
---
conf.d/30-metric-aliases.conf | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases.conf
index c9ee79f..49a9602 100644
--- a/conf.d/30-metric-aliases.conf
+++ b/conf.d/30-metric-aliases.conf
@@ -24,6 +24,9 @@ Arial Liberation Sans Arimo Albany
Arial Narrow Liberation Sans Narrow
Times New Roman Liberation Serif Tinos Thorndale Thorndale AMT
Courier New Liberation Mono Cousine Cumberland Cumberland AMT
+Cambria Caladea
+Calibri Carlito
+Symbol SymbolNeu
Microsoft fonts: Other fonts:
================ ============
@@ -307,7 +310,26 @@ but in an order preferring similar designs first. We do this in three steps:
</default>
</alias>
+ <alias binding="same">
+ <family>Caladea</family>
+ <default>
+ <family>Cambria</family>
+ </default>
+ </alias>
+ <alias binding="same">
+ <family>Carlito</family>
+ <default>
+ <family>Calibri</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>SymbolNeu</family>
+ <default>
+ <family>Symbol</family>
+ </default>
+ </alias>
<!-- Accept the other group as fallback -->
@@ -494,4 +516,25 @@ but in an order preferring similar designs first. We do this in three steps:
</accept>
</alias>
+ <alias binding="same">
+ <family>Cambria</family>
+ <accept>
+ <family>Caladea</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Calibri</family>
+ <accept>
+ <family>Carlito</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Symbol</family>
+ <accept>
+ <family>SymbolNeu</family>
+ </accept>
+ </alias>
+
</fontconfig>
--
1.8.4

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 6 13:33:14 UTC 2013 - fcrozat@suse.com
- Add
0001-Fix-inversion-between-Tinos-and-Cousine-in-the-comme.patch:
fix error in 30-metric-aliases.conf comments (fdo#72395).
- Add
0002-Add-metric-aliases-for-additional-Google-ChromeOS-fo.patch:
add compat fonts for Cambria, Caladea and Symbol (fdo#72395).
-------------------------------------------------------------------
Fri Oct 11 14:27:15 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -74,6 +74,9 @@ Source58: 58-suse-post-user.conf
Patch0: make-check.patch
# suse specific
Patch1: usr-share-doc-packages.patch
# fix submitted upstream
Patch2: 0001-Fix-inversion-between-Tinos-and-Cousine-in-the-comme.patch
Patch3: 0002-Add-metric-aliases-for-additional-Google-ChromeOS-fo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: ipa-fonts-config = 003.02
Obsoletes: ipa-fonts-config <= 003.02
@ -118,6 +121,8 @@ accepts font patterns and returns the nearest matching font.
%endif
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
# ----- build with automake 1.13