[Pkg-fonts-devel] Bug#645354: ttf-nanum: contained fontconfig setting files force to make it default font

Scott Moser smoser at ubuntu.com
Fri Oct 14 19:19:41 UTC 2011


Package: ttf-nanum
Version: 3.010-1
Severity: normal
Tags: patch

This issue was originally reported in Ubuntu bug 835304
(http://pad.lv/835304).

It seems that it would also affect the debian package of the same version,
and an Ubuntu user has submitted a fix.

Jinkyu Yi submitted the following fix to Ubuntu.

diff -Nru ttf-nanum-3.010/debian/90-ttf-nanum.conf ttf-nanum-3.010/debian/90-ttf-nanum.conf
--- ttf-nanum-3.010/debian/90-ttf-nanum.conf	2011-02-02 06:12:33.000000000 +0900
+++ ttf-nanum-3.010/debian/90-ttf-nanum.conf	2011-08-27 17:22:23.000000000 +0900
@@ -14,16 +14,6 @@
       <const>bold</const>
     </edit>
   </match>
-  <!-- fallback of the MS fonts -->
-  <alias>
-    <family>Gulim</family><family>굴림</family>
-    <family>Dotum</family><family>돋움</family>
-    <prefer><family>NanumGothic</family></prefer>
-  </alias>
-  <alias>
-    <family>Batang</family><family>바탕</family>
-    <prefer><family>NanumMyeongjo</family></prefer>
-  </alias>
   <!-- specify fallbacks for the missing glyphs. -->
   <match target="pattern">
     <test name="family" compare="eq">
@@ -43,28 +33,4 @@
       <string>DejaVu Serif</string>
     </edit>
   </match>
-  <!-- default sans and serif
-       TODO: it will be moved to fontconfig default configs -->
-  <match target="pattern">
-    <test qual="any" name="lang" compare="contains">
-      <string>ko</string>
-    </test>
-    <test qual="any" name="family" compare="eq">
-      <string>sans-serif</string>
-    </test>
-    <edit name="family" mode="prepend_first" binding="same">
-      <string>NanumGothic</string>
-    </edit>
-  </match>
-  <match target="pattern">
-    <test qual="any" name="lang" compare="contains">
-      <string>ko</string>
-    </test>
-    <test qual="any" name="family" compare="eq">
-      <string>serif</string>
-    </test>
-    <edit name="family" mode="prepend_first" binding="same">
-      <string>NanumMyeongjo</string>
-    </edit>
-  </match>
 </fontconfig>
diff -Nru ttf-nanum-3.010/debian/changelog ttf-nanum-3.010/debian/changelog
--- ttf-nanum-3.010/debian/changelog	2011-02-02 06:38:52.000000000 +0900
+++ ttf-nanum-3.010/debian/changelog	2011-08-27 17:47:15.000000000 +0900
@@ -1,3 +1,12 @@
+ttf-nanum (3.010-2) unstable; urgency=low
+
+  * LP: #835304
+  * debian/90-ttf-nanum.conf:
+    - Remove MS Korean font aliases
+    - Remove sans-serif and serif settings for language-selector
+
+ -- Jinkyu Yi <jincreator at jincreator.net>  Sat, 27 Aug 2011 17:38:45 +0900
+
 ttf-nanum (3.010-1) unstable; urgency=low
 
   * New upstream release

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-fonts-devel mailing list