--- debian/90-fonts-nanum-extra.conf	2011-10-13 00:22:03 +0000
+++ debian/90-fonts-nanum-extra.conf	2012-09-04 23:43:33 +0000
@@ -5,10 +5,60 @@
   <match target="scan">
     <test name="fullname" qual="any" compare="eq">
       <string>NanumMyeongjo ExtraBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>ExtraBold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>extrabold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
       <string>NanumMyeongjoExtraBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>ExtraBold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>extrabold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
       <string>나눔명조 ExtraBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>ExtraBold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>extrabold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
       <string>NanumGothic ExtraBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>ExtraBold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>extrabold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
       <string>NanumGothicExtraBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>ExtraBold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>extrabold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
       <string>나눔고딕 ExtraBold</string>
     </test>
     <edit name="style" mode="assign">
--- debian/90-fonts-nanum.conf	2011-10-13 00:22:03 +0000
+++ debian/90-fonts-nanum.conf	2012-09-05 00:03:37 +0000
@@ -4,8 +4,40 @@
   <!-- workaround for wrong style and weight -->
   <match target="scan">
     <test name="fullname" qual="any" compare="eq">
-      <string>NanumMyeongjoBold</string><string>나눔명조 Bold</string>
-      <string>NanumGothicBold</string><string>나눔고딕 Bold</string>
+      <string>NanumMyeongjoBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>Bold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>bold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
+      <string>나눔명조 Bold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>Bold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>bold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
+      <string>NanumGothicBold</string>
+    </test>
+    <edit name="style" mode="assign">
+      <string>Bold</string>
+    </edit>
+    <edit name="weight" mode="assign">
+      <const>bold</const>
+    </edit>
+  </match>
+  <match target="scan">
+    <test name="fullname" qual="any" compare="eq">
+      <string>나눔고딕 Bold</string>
     </test>
     <edit name="style" mode="assign">
       <string>Bold</string>
@@ -16,27 +48,60 @@
   </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>
+    <family>Gulim</family>
+    <prefer><family>NanumGothic</family></prefer>
+  </alias>
+  <alias>
+    <family>굴림</family>
+    <prefer><family>NanumGothic</family></prefer>
+  </alias>
+  <alias>
+    <family>Dotum</family>
+    <prefer><family>NanumGothic</family></prefer>
+  </alias>
+  <alias>
+    <family>돋움</family>
+    <prefer><family>NanumGothic</family></prefer>
+  </alias>
+  <alias>
+    <family>Batang</family>
+    <prefer><family>NanumMyeongjo</family></prefer>
+  </alias>
+  <alias>
+    <family>바탕</family>
     <prefer><family>NanumMyeongjo</family></prefer>
   </alias>
   <!-- specify fallbacks for the missing glyphs. -->
   <match target="pattern">
     <test name="family" compare="eq">
-      <string>나눔고딕</string><string>NanumGothic</string>
-    </test>
-    <edit name="family" mode="append">
-      <string>UnDotum</string>
-      <string>DejaVu Sans</string>
-    </edit>
-  </match>
-  <match target="pattern">
-    <test name="family" compare="eq">
-      <string>나눔명조</string><string>NanumMyeongjo</string>
+      <string>나눔고딕</string>
+    </test>
+    <edit name="family" mode="append">
+      <string>UnDotum</string>
+      <string>DejaVu Sans</string>
+    </edit>
+  </match>
+  <match target="pattern">
+    <test name="family" compare="eq">
+      <string>NanumGothic</string>
+    </test>
+    <edit name="family" mode="append">
+      <string>UnDotum</string>
+      <string>DejaVu Sans</string>
+    </edit>
+  </match>
+  <match target="pattern">
+    <test name="family" compare="eq">
+      <string>나눔명조</string>
+    </test>
+    <edit name="family" mode="append">
+      <string>UnBatang</string>
+      <string>DejaVu Serif</string>
+    </edit>
+  </match>
+  <match target="pattern">
+    <test name="family" compare="eq">
+      <string>NanumMyeongjo</string>
     </test>
     <edit name="family" mode="append">
       <string>UnBatang</string>
