- added mapping Arial Narrow <-> Liberation Sans Narrow into

metric-aliases.conf
  * metric-arial-narrow.patch

OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=94
This commit is contained in:
Petr Gajdos 2013-02-13 10:09:18 +00:00 committed by Git OBS Bridge
parent 8e12a55195
commit b79610c006
3 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 13 10:08:11 UTC 2013 - pgajdos@suse.com
- added mapping Arial Narrow <-> Liberation Sans Narrow into
metric-aliases.conf
* metric-arial-narrow.patch
-------------------------------------------------------------------
Tue Nov 27 09:17:26 UTC 2012 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package fontconfig
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -78,6 +78,8 @@ Patch1: usr-share-doc-packages.patch
Patch2: cloexec.patch
# to be upstreamed
Patch3: metric-croscore.patch
# to be upstreamed
Patch4: metric-arial-narrow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: ipa-fonts-config = 003.02
Obsoletes: ipa-fonts-config <= 003.02
@ -124,6 +126,7 @@ accepts font patterns and returns the nearest matching font.
%patch1 -p1
%patch2
%patch3
%patch4
%build
autoreconf -fiv

20
metric-arial-narrow.patch Normal file
View File

@ -0,0 +1,20 @@
Index: conf.d/30-metric-aliases.conf
===================================================================
--- conf.d/30-metric-aliases.conf
+++ conf.d/30-metric-aliases.conf
@@ -296,5 +296,15 @@
</accept>
</alias>
+ <!-- Map Arial Narrow <-> Liberation Sans Narrow -->
+ <alias binding="same">
+ <family>Arial Narrow</family>
+ <accept><family>Liberation Sans Narrow</family></accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Liberation Sans Narrow</family>
+ <accept><family>Arial Narrow</family></accept>
+ </alias>
</fontconfig>