[linux-libertine-fonts] update fontconfig files according to some information on #843202

Akira TAGOH tagoh at fedoraproject.org
Fri Jul 27 07:09:31 UTC 2012


commit 9a70e158f18f383b074f3b19c0aafdee7ea28cf3
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Jul 27 16:09:16 2012 +0900

    update fontconfig files according to some information on #843202

 linux-libertine-fonts-biolinum-fontconfig.conf  |   41 +++++++++++++
 linux-libertine-fonts-libertine-fontconfig.conf |   74 +++++++++++++++++++++++
 2 files changed, 115 insertions(+), 0 deletions(-)
---
diff --git a/linux-libertine-fonts-biolinum-fontconfig.conf b/linux-libertine-fonts-biolinum-fontconfig.conf
index 8112218..ca99056 100644
--- a/linux-libertine-fonts-biolinum-fontconfig.conf
+++ b/linux-libertine-fonts-biolinum-fontconfig.conf
@@ -1,6 +1,47 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
 <fontconfig>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Biolinum Keyboard O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Biolinum Keyboard</string>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Biolinum O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Biolinum</string>
+    </edit>
+  </match>
+  <!-- Font substitution -->
+  <alias binding="same">
+    <family>Linux Biolinum Keyboard O</family>
+    <accept>
+      <family>Linux Biolinum Keyboard</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Biolinum Keyboard G</family>
+    <accept>
+      <family>Linux Biolinum Keyboard</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Biolinum O</family>
+    <accept>
+      <family>Linux Biolinum</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Biolinum G</family>
+    <accept>
+      <family>Linux Biolinum</family>
+    </accept>
+  </alias>
   <!-- Generic names -->
   <alias>
     <family>Linux Biolinum</family>
diff --git a/linux-libertine-fonts-libertine-fontconfig.conf b/linux-libertine-fonts-libertine-fontconfig.conf
index 9bef8c1..acc3240 100644
--- a/linux-libertine-fonts-libertine-fontconfig.conf
+++ b/linux-libertine-fonts-libertine-fontconfig.conf
@@ -1,6 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
 <fontconfig>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Libertine Display O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Libertine Display</string>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Libertine Initials O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Libertine Initials</string>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Libertine Mono O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Libertine Mono</string>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="family" ignore-blanks="yes">
+      <string>Linux Libertine O</string>
+    </test>
+    <edit name="family" mode="assign">
+      <string>Linux Libertine</string>
+    </edit>
+  </match>
   <!-- Generic names -->
   <alias>
     <family>Linux Libertine</family>
@@ -10,9 +42,51 @@
   </alias>
   <!-- Font substitution -->
   <alias binding="same">
+    <family>Linux Libertine Display O</family>
+    <accept>
+      <family>Linux Libertine Display</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Libertine Display G</family>
+    <accept>
+      <family>Linux Libertine Display</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Libertine Initials O</family>
+    <accept>
+      <family>Linux Libertine Initials</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Libertine Initials G</family>
+    <accept>
+      <family>Linux Libertine Initials</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Libertine Mono O</family>
+    <accept>
+      <family>Linux Libertine Mono</family>
+    </accept>
+  </alias>
+  <alias binding="same">
+    <family>Linux Libertine Mono G</family>
+    <accept>
+      <family>Linux Libertine Mono</family>
+    </accept>
+  </alias>
+  <alias binding="same">
     <family>Linux Libertine O</family>
     <accept>
       <family>Linux Libertine</family>
     </accept>
   </alias>
+  <alias binding="same">
+    <family>Linux Libertine G</family>
+    <accept>
+      <family>Linux Libertine</family>
+    </accept>
+  </alias>
 </fontconfig>


More information about the fonts-bugs mailing list