Accepting request 155318 from M17N

- added mapping Arial Narrow <-> Liberation Sans Narrow into
  metric-aliases.conf [bnc#762695]
  * metric-arial-narrow.patch

OBS-URL: https://build.opensuse.org/request/show/155318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontconfig?expand=0&rev=63
This commit is contained in:
Stephan Kulow 2013-02-13 13:37:05 +00:00 committed by Git OBS Bridge
commit 6138b43fb1
3 changed files with 32 additions and 2 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 [bnc#762695]
* 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
@ -76,8 +76,10 @@ Patch0: make-check.patch
Patch1: usr-share-doc-packages.patch
# https://www.libreoffice.org/bugzilla/show_bug.cgi?id=47705
Patch2: cloexec.patch
# to be upstreamed
# to be upstreamed https://bugs.freedesktop.org/show_bug.cgi?id=47721
Patch3: metric-croscore.patch
# to be upstreamed https://bugs.freedesktop.org/show_bug.cgi?id=60783
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>