[liberation-fonts/f18] removed autohint rules written for mono

Pravin Satpute pravins at fedoraproject.org
Wed Sep 12 14:59:43 UTC 2012


commit 8f972ffc589cd801258ed95c7017dac76765dcfa
Author: प्रविण सातपुते <psatpute at redhat.com>
Date:   Wed Sep 12 20:28:52 2012 +0530

    removed autohint rules written for mono

 30-0-liberation-mono.conf  |   18 +++++++++++++++++
 30-0-liberation-sans.conf  |   18 +++++++++++++++++
 30-0-liberation-serif.conf |   18 +++++++++++++++++
 59-liberation-mono.conf    |   46 --------------------------------------------
 59-liberation-sans.conf    |   16 ---------------
 59-liberation-serif.conf   |   16 ---------------
 liberation-fonts.spec      |   25 +++++++++++++----------
 7 files changed, 68 insertions(+), 89 deletions(-)
---
diff --git a/30-0-liberation-mono.conf b/30-0-liberation-mono.conf
new file mode 100644
index 0000000..91b2f57
--- /dev/null
+++ b/30-0-liberation-mono.conf
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+	 <!-- Microsoft -->
+	<alias binding="same">
+          <family>Courier New</family>
+            <accept>
+              <family>Liberation Mono</family>
+            </accept>
+        </alias>
+        <alias binding="same">
+          <family>Liberation Mono</family>
+            <default>
+               <family>Courier New</family>
+            </default>
+        </alias>
+</fontconfig>
+
diff --git a/30-0-liberation-sans.conf b/30-0-liberation-sans.conf
new file mode 100644
index 0000000..ab592b7
--- /dev/null
+++ b/30-0-liberation-sans.conf
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+         <!-- Microsoft -->
+        <alias binding="same">
+          <family>Arial</family>
+            <accept>
+              <family>Liberation Sans</family>
+            </accept>
+        </alias>
+        <alias binding="same">
+          <family>Liberation Sans</family>
+            <default>
+              <family>Arial</family>
+            </default>
+        </alias>
+</fontconfig>
+
diff --git a/30-0-liberation-serif.conf b/30-0-liberation-serif.conf
new file mode 100644
index 0000000..4aafd48
--- /dev/null
+++ b/30-0-liberation-serif.conf
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+	 <!-- Microsoft -->
+        <alias binding="same">
+          <family>Times New Roman</family>
+            <accept>
+               <family>Liberation Serif</family>
+            </accept>
+        </alias>
+        <alias binding="same">
+          <family>Liberation Serif</family>
+	    <default>
+              <family>Times New Roman</family>
+	    </default>
+        </alias>
+</fontconfig>
+
diff --git a/liberation-fonts.spec b/liberation-fonts.spec
index 2af905a..0ef2066 100644
--- a/liberation-fonts.spec
+++ b/liberation-fonts.spec
@@ -1,5 +1,5 @@
 %global fontname liberation
-%global fontconf59 59-%{fontname}
+%global fontconf30 30-0-%{fontname}
 %global archivename %{name}-%{version}
 %define common_desc \
 The Liberation Fonts are intended to be replacements for the three most \
@@ -11,15 +11,15 @@ New.
 Name:             %{fontname}-fonts
 Summary:          Fonts to replace commonly used Microsoft Windows fonts
 Version:          2.00.0
-Release:          1%{?dist}
+Release:          2%{?dist}
 License:          OFL
 Group:            User Interface/X
 URL:              http://fedorahosted.org/liberation-fonts/
 Source0:          https://fedorahosted.org/releases/l/i/liberation-fonts/%{archivename}.tar.gz
 Source1:          generate.pe
-Source2:          59-liberation-mono.conf
-Source3:          59-liberation-sans.conf
-Source4:          59-liberation-serif.conf
+Source2:          30-0-liberation-mono.conf
+Source3:          30-0-liberation-sans.conf
+Source4:          30-0-liberation-serif.conf
 BuildArch:        noarch
 BuildRequires:    fontpackages-devel >= 1.13, xorg-x11-font-utils
 BuildRequires:    fontforge
@@ -116,15 +116,15 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
 
 # Repeat for every font family
 install -m 0644 -p %{SOURCE2} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-mono.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-mono.conf
 install -m 0644 -p %{SOURCE3} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-sans.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-sans.conf
 install -m 0644 -p %{SOURCE4} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-serif.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-serif.conf
 
-for fconf in %{fontconf59}-mono.conf \
-             %{fontconf59}-sans.conf \
-             %{fontconf59}-serif.conf; do
+for fconf in %{fontconf30}-mono.conf \
+             %{fontconf30}-sans.conf \
+             %{fontconf30}-serif.conf; do
   ln -s %{_fontconfig_templatedir}/$fconf \
         %{buildroot}%{_fontconfig_confdir}/$fconf
 done
@@ -134,6 +134,9 @@ mkfontdir %{buildroot}%{_fontdir}
 mkfontscale %{buildroot}%{_fontdir}
 
 %changelog
+* Wed Sep 12 2012 Pravin Satpute <psatpute at redhat.com> - 2.00.0-2
+- Removed fontconf files of 59 priority, now only has 30-0 alias file
+
 * Thu Jul 26 2012 Pravin Satpute <psatpute at redhat.com> - 2.00.0-1
 - First upstream release with OFL license
 - Added conf files with 59 priority


More information about the fonts-bugs mailing list