← Back to team overview

openjdk team mailing list archive

Bug#646054: openjdk-6-jre-headless: [i18n] Please update fontconfig.properties and Suggests in debian/control

 

Package: openjdk-6-jre-headless
Version: 6b23~pre11-1
Severity: wishlist
Tags: patch l10n

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

 Japanese font suggestion in /etc/openjdk-6/fontconfig.properties can be 
 improved. Now Kochi is obsolete and IPAfont is installed in default 
 Japanese Desktop Environment in Debian. So update fontconfig.properties
 and debian/control is relevant.

 Could you apply attached patches as I described above to your package,
 please?

- -- 
Regards,

 Hideki Yamane  <henrich@xxxxxxxxxx>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJOoJByAAoJEF0yjQgqqrFACbEP/0g8f7gjRr4JLAcoY+VQhAw/
Apo7rwYsfMePg4+u/ksza0yL2Cg4QCdVp1X6qBDsQsEaE9TuZM1EjYZ9bvcXbZQT
G1GMo5Zl30mjOZOWs7ZbiWkt+Q2ftbVEVIFohy6b55zq1PSZaIg/jARIT8QaCC3I
fJYHoLzc1NnJWbeCcWT+ot7gLA+HVv7jziiy56/jqyVTWgeAfhTNoZM7B2G7r4Cy
UGAraLPVpHPGjyXmqEfVDmzgcnGYGTG0Z/0z9+aIAqeZy/IEKIKorX0t6yLEo8LS
p8lwZpnRnzMK9Xf2ER5cUXIW9cKxOj9bFg8PyhyFJdOIm99ZB0PFGnBAfTiIgmfg
cjE/Oi2H5vtlY206kz9K0KkPcR1w/pqO/WPBVLQlrLO+zput3KPYzHacrt3ig8DA
VgmdcKLB37PB1389DYCXLCZWNYXxKsemLrXK29PeoUolnv6pEHPTRZkeOX1uWe5R
VHdu844+8luFRyqAADY6zPq9ZcyeHmAuJ70u1TwD4DXN+5p1vqgNbrSG8mqz2i+1
V4WRe2+Oc6Eta5YOseNfW5xK+TQck/I5fGwSWllz1PKz3RZJxL7bR2+LncI0cvW2
Gwgg7LKftHDZ26kWATrp7CswFf5RHX1C2ihRuNEe3MD51fyBdHghWMLZUgSpVMjP
xb1ekhYu2SW9Q6USGY+o
=pZZR
-----END PGP SIGNATURE-----
diff -urN openjdk-6-6b23~pre11.orig/debian/control openjdk-6-6b23~pre11/debian/control
--- openjdk-6-6b23~pre11.orig/debian/control	2011-10-21 06:08:01.000000000 +0900
+++ openjdk-6-6b23~pre11/debian/control	2011-10-21 06:11:02.632629577 +0900
@@ -31,7 +31,7 @@
 Pre-Depends: ${dpkg:Depends}, ${multiarch:Depends}
 Depends: openjdk-6-jre-lib (= ${source:Version}), ${jredefault:Depends}, ${cacert:Depends}, ${tzdata:Depends}, ${jcommon:Depends}, ${dlopenhl:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Recommends: ${dlopenjl:Recommends}, ${cacao:Recommends}, ${jamvm:Recommends}
-Suggests: libnss-mdns, sun-java6-fonts, ttf-dejavu-extra, ttf-baekmuk | ttf-unfonts | ttf-unfonts-core, ttf-sazanami-gothic | ttf-kochi-gothic, ttf-sazanami-mincho | ttf-kochi-mincho, ttf-wqy-microhei | ttf-wqy-zenhei, ttf-indic-fonts,
+Suggests: libnss-mdns, sun-java6-fonts, ttf-dejavu-extra, ttf-baekmuk | fonts-unfonts | fonts-unfonts-core, fonts-ipafont-gothic, fonts-ipafont-mincho, ttf-wqy-microhei | ttf-wqy-zenhei, ttf-indic-fonts
 Provides: java-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, ${defaultvm:Provides}, ${jvm:Provides}
 Replaces: openjdk-6-jre-lib (<< 6b23~pre10), openjdk-6-jre (<< 6b23~pre1), openjdk-6-jdk (<< 6b20-1.9.1-0ubuntu2)
 Conflicts: ${multiarch:Conflicts}, openjdk-6-jre-lib (<< 6b17~pre3-1), openjdk-6-jre (<< 6b17~pre3-1), openjdk-6-jdk (<< 6b17~pre3-1), openjdk-6-demo (<< 6b17~pre3-1), openjdk-6-source (<< 6b17~pre3-1), openjdk-6-doc (<< 6b17~pre3-1), openjdk-6-dbg (<< 6b17~pre3-1), openjdk-6-jre-zero (<< 6b17~pre3-1)
--- fontconfig.properties.orig	2011-10-21 05:18:13.044351639 +0900
+++ fontconfig.properties	2011-10-21 05:45:57.258560919 +0900
@@ -57,9 +57,9 @@
 
 serif.plain.latin-1=DejaVu Serif
 #serif.plain.latin-1.motif=LuxiSerif-Regular
-serif.plain.japanese-kochi=Kochi Mincho
 serif.plain.japanese-sazanami=Sazanami Mincho
 serif.plain.japanese-vlgothic=Sazanami Mincho
+serif.plain.japanese-ipafont-mincho=IPAMincho
 serif.plain.korean-baekmuk=Baekmuk Batang
 #serif.plain.korean-baekmuk.motif=Baekmuk Batang
 serif.plain.korean-un=UnBatang
@@ -67,9 +67,9 @@
 
 serif.bold.latin-1=DejaVu Serif Bold
 #serif.bold.latin-1.motif=LuxiSerif-Bold
-serif.bold.japanese-kochi=Kochi Mincho
 serif.bold.japanese-sazanami=Sazanami Mincho
 serif.bold.japanese-vlgothic=Sazanami Mincho
+serif.bold.japanese-ipafont-mincho=IPAMincho
 serif.bold.korean-baekmuk=Baekmuk Batang
 #serif.bold.korean-baekmuk.motif=Baekmuk Batang
 serif.bold.korean-un=UnBatang Bold
@@ -77,9 +77,9 @@
 
 serif.italic.latin-1=DejaVu Serif Oblique
 #serif.italic.latin-1.motif=LuxiSerif-Oblique
-serif.italic.japanese-kochi=Kochi Mincho
 serif.italic.japanese-sazanami=Sazanami Mincho
 serif.italic.japanese-vlgothic=Sazanami Mincho
+serif.italic.japanese-ipafont-mincho=IPAMincho
 serif.italic.korean-baekmuk=Baekmuk Batang
 #serif.italic.korean-baekmuk.motif=Baekmuk Batang
 serif.italic.korean-un=UnBatang
@@ -87,9 +87,9 @@
 
 serif.bolditalic.latin-1=DejaVu Serif Bold Oblique
 #serif.bolditalic.latin-1.motif=LuxiSerif-BoldOblique
-serif.bolditalic.japanese-kochi=Kochi Mincho
 serif.bolditalic.japanese-sazanami=Sazanami Mincho
 serif.bolditalic.japanese-vlgothic=Sazanami Mincho
+serif.bolditalic.japanese-ipafont-mincho=IPAMincho
 serif.bolditalic.korean-baekmuk=Baekmuk Batang
 #serif.bolditalic.korean-baekmuk.motif=Baekmuk Batang
 serif.bolditalic.korean-un=UnBatang Bold
@@ -97,9 +97,9 @@
 
 sansserif.plain.latin-1=DejaVu Sans
 #sansserif.plain.latin-1.motif=LuxiSans-Regular
-sansserif.plain.japanese-kochi=Kochi Gothic
 sansserif.plain.japanese-sazanami=Sazanami Gothic
 sansserif.plain.japanese-vlgothic=VL PGothic
+sansserif.plain.japanese-ipafont-gothic=IPAPGothic
 sansserif.plain.korean-baekmuk=Baekmuk Gulim
 #sansserif.plain.korean-baekmuk.motif=Baekmuk Gulim
 sansserif.plain.korean-un=UnDotum
@@ -107,9 +107,9 @@
 
 sansserif.bold.latin-1=DejaVu Sans Bold
 #sansserif.bold.latin-1.motif=LuxiSans-Bold
-sansserif.bold.japanese-kochi=Kochi Gothic
 sansserif.bold.japanese-sazanami=Sazanami Gothic
 sansserif.bold.japanese-vlgothic=VL PGothic
+sansserif.bold.japanese-ipafont-gothic=IPAPGothic
 sansserif.bold.korean-baekmuk=Baekmuk Gulim
 #sansserif.bold.korean-baekmuk.motif=Baekmuk Gulim
 sansserif.bold.korean-un=UnDotum Bold
@@ -117,9 +117,9 @@
 
 sansserif.italic.latin-1=DejaVu Sans Oblique
 #sansserif.italic.latin-1.motif=LuxiSans-Oblique
-sansserif.italic.japanese-kochi=Kochi Gothic
 sansserif.italic.japanese-sazanami=Sazanami Gothic
 sansserif.italic.japanese-vlgothic=VL PGothic
+sansserif.italic.japanese-ipafont-gothic=IPAPGothic
 sansserif.italic.korean-baekmuk=Baekmuk Gulim
 #sansserif.italic.korean-baekmuk.motif=Baekmuk Gulim
 sansserif.italic.korean-un=UnDotum
@@ -127,9 +127,9 @@
 
 sansserif.bolditalic.latin-1=DejaVu Sans Bold Oblique
 #sansserif.bolditalic.latin-1.motif=LuxiSans-BoldOblique
-sansserif.bolditalic.japanese-kochi=Kochi Gothic
 sansserif.bolditalic.japanese-sazanami=Sazanami Gothic
 sansserif.bolditalic.japanese-vlgothic=VL PGothic
+sansserif.bolditalic.japanese-ipafont-gothic=IPAPGothic
 sansserif.bolditalic.korean-baekmuk=Baekmuk Gulim
 #sansserif.bolditalic.korean-baekmuk.motif=Baekmuk Gulim
 sansserif.bolditalic.korean-un=UnDotum Bold
@@ -137,9 +137,9 @@
 
 monospaced.plain.latin-1=DejaVu Sans Mono
 #monospaced.plain.latin-1.motif=LuxiMono-Regular
-monospaced.plain.japanese-kochi=Kochi Gothic
 monospaced.plain.japanese-sazanami=Sazanami Gothic
 monospaced.plain.japanese-vlgothic=VL Gothic
+monospaced.plain.japanese-ipafont-gothic=IPAGothic
 monospaced.plain.korean-baekmuk=Baekmuk Gulim
 #monospaced.plain.korean-baekmuk.motif=Baekmuk Gulim
 monospaced.plain.korean-un=UnDotum
@@ -147,9 +147,9 @@
 
 monospaced.bold.latin-1=DejaVu Sans Mono Bold
 #monospaced.bold.latin-1.motif=LuxiMono-Bold
-monospaced.bold.japanese-kochi=Kochi Gothic
 monospaced.bold.japanese-sazanami=Sazanami Gothic
 monospaced.bold.japanese-vlgothic=VL Gothic
+monospaced.bold.japanese-ipafont-gothic=IPAGothic
 monospaced.bold.korean-baekmuk=Baekmuk Gulim
 #monospaced.bold.korean-baekmuk.motif=Baekmuk Gulim
 monospaced.bold.korean-un=UnDotum Bold
@@ -157,9 +157,9 @@
 
 monospaced.italic.latin-1=DejaVu Sans Mono Oblique
 #monospaced.italic.latin-1.motif=LuxiMono-Oblique
-monospaced.italic.japanese-kochi=Kochi Gothic
 monospaced.italic.japanese-sazanami=Sazanami Gothic
 monospaced.italic.japanese-vlgothic=VL Gothic
+monospaced.italic.japanese-ipafont-gothic=IPAGothic
 monospaced.italic.korean-baekmuk=Baekmuk Gulim
 #monospaced.italic.korean-baekmuk.motif=Baekmuk Gulim
 monospaced.italic.korean-un=UnDotum
@@ -167,9 +167,9 @@
 
 monospaced.bolditalic.latin-1=DejaVu Sans Mono Bold Oblique
 #monospaced.bolditalic.latin-1.motif=LuxiMono-BoldOblique
-monospaced.bolditalic.japanese-kochi=Kochi Gothic
 monospaced.bolditalic.japanese-sazanami=Sazanami Gothic
 monospaced.bolditalic.japanese-vlgothic=VL Gothic
+monospaced.bolditalic.japanese-ipafont-gothic=IPAGothic
 monospaced.bolditalic.korean-baekmuk=Baekmuk Gulim
 #monospaced.bolditalic.korean-baekmuk.motif=Baekmuk Gulim
 monospaced.bolditalic.korean-un=UnDotum Bold
@@ -177,9 +177,9 @@
 
 dialog.plain.latin-1=DejaVu Sans
 #dialog.plain.latin-1.motif=LuxiSans-Regular
-dialog.plain.japanese-kochi=Kochi Gothic
 dialog.plain.japanese-sazanami=Sazanami Gothic
 dialog.plain.japanese-vlgothic=VL PGothic
+dialog.plain.japanese-ipafont-gothic=IPAPGothic
 dialog.plain.korean-baekmuk=Baekmuk Gulim
 #dialog.plain.korean-baekmuk.motif=Baekmuk Gulim
 dialog.plain.korean-un=UnDotum
@@ -187,9 +187,9 @@
 
 dialog.bold.latin-1=DejaVu Sans Bold
 #dialog.bold.latin-1.motif=LuxiSans-Bold
-dialog.bold.japanese-kochi=Kochi Gothic
 dialog.bold.japanese-sazanami=Sazanami Gothic
 dialog.bold.japanese-vlgothic=VL PGothic
+dialog.bold.japanese-ipafont-gothic=IPAPGothic
 dialog.bold.korean-baekmuk=Baekmuk Gulim
 #dialog.bold.korean-baekmuk.motif=Baekmuk Gulim
 dialog.bold.korean-un=UnDotum Bold
@@ -197,9 +197,9 @@
 
 dialog.italic.latin-1=DejaVu Sans Oblique
 #dialog.italic.latin-1.motif=LuxiSans-Oblique
-dialog.italic.japanese-kochi=Kochi Gothic
 dialog.italic.japanese-sazanami=Sazanami Gothic
 dialog.italic.japanese-vlgothic=VL PGothic
+dialog.italic.japanese-ipafont-gothic=IPAPGothic
 dialog.italic.korean-baekmuk=Baekmuk Gulim
 #dialog.italic.korean-baekmuk.motif=Baekmuk Gulim
 dialog.italic.korean-un=UnDotum
@@ -207,9 +207,9 @@
 
 dialog.bolditalic.latin-1=DejaVu Sans Bold Oblique
 #dialog.bolditalic.latin-1.motif=LuxiSans-BoldOblique
-dialog.bolditalic.japanese-kochi=Kochi Gothic
 dialog.bolditalic.japanese-sazanami=Sazanami Gothic
 dialog.bolditalic.japanese-vlgothic=VL PGothic
+dialog.bolditalic.japanese-ipafont-gothic=IPAPGothic
 dialog.bolditalic.korean-baekmuk=Baekmuk Gulim
 #dialog.bolditalic.korean-baekmuk.motif=Baekmuk Gulim
 dialog.bolditalic.korean-un=UnDotum Bold
@@ -217,9 +217,9 @@
 
 dialoginput.plain.latin-1=DejaVu Sans Mono
 #dialoginput.plain.latin-1.motif=LuxiMono-Regular
-dialoginput.plain.japanese-kochi=Kochi Gothic
 dialoginput.plain.japanese-sazanami=Sazanami Gothic
 dialoginput.plain.japanese-vlgothic=VL Gothic
+dialoginput.plain.japanese-ipafont-gothic=IPAGothic
 dialoginput.plain.korean-baekmuk=Baekmuk Gulim
 #dialoginput.plain.korean-baekmuk.motif=Baekmuk Gulim
 dialoginput.plain.korean-un=UnDotum
@@ -227,9 +227,9 @@
 
 dialoginput.bold.latin-1=DejaVu Sans Mono Bold
 #dialoginput.bold.latin-1.motif=LuxiMono-Bold
-dialoginput.bold.japanese-kochi=Kochi Gothic
 dialoginput.bold.japanese-sazanami=Sazanami Gothic
 dialoginput.bold.japanese-vlgothic=VL Gothic
+dialoginput.bold.japanese-ipafont-gothic=IPAGothic
 dialoginput.bold.korean-baekmuk=Baekmuk Gulim
 #dialoginput.bold.korean-baekmuk.motif=Baekmuk Gulim
 dialoginput.bold.korean-un=UnDotum Bold
@@ -237,9 +237,9 @@
 
 dialoginput.italic.latin-1=DejaVu Sans Mono Oblique
 #dialoginput.italic.latin-1.motif=LuxiMono-Oblique
-dialoginput.italic.japanese-kochi=Kochi Gothic
 dialoginput.italic.japanese-sazanami=Sazanami Gothic
 dialoginput.italic.japanese-vlgothic=VL Gothic
+dialoginput.italic.japanese-ipafont-gothic=IPAGothic
 dialoginput.italic.korean-baekmuk=Baekmuk Gulim
 #dialoginput.italic.korean-baekmuk.motif=Baekmuk Gulim
 dialoginput.italic.korean-un=UnDotum
@@ -247,9 +247,9 @@
 
 dialoginput.bolditalic.latin-1=DejaVu Sans Mono Bold Oblique
 #dialoginput.bolditalic.latin-1.motif=LuxiMono-BoldOblique
-dialoginput.bolditalic.japanese-kochi=Kochi Gothic
 dialoginput.bolditalic.japanese-sazanami=Sazanami Gothic
 dialoginput.bolditalic.japanese-vlgothic=VL Gothic
+dialoginput.bolditalic.japanese-ipafont-gothic=IPAGothic
 dialoginput.bolditalic.korean-baekmuk=Baekmuk Gulim
 #dialoginput.bolditalic.korean-baekmuk.motif=Baekmuk Gulim
 dialoginput.bolditalic.korean-un=UnDotum Bold
@@ -261,18 +261,19 @@
 sequence.allfonts.GB18030=latin-1,wqy-microhei,umingcn,shanheisun,wqy-zenhei
 sequence.allfonts.GB2312=latin-1,wqy-microhei,umingcn,shanheisun,wqy-zenhei
 sequence.allfonts.GBK=latin-1,wqy-microhei,umingcn,shanheisun,wqy-zenhei
-sequence.allfonts.x-euc-jp-linux=latin-1,japanese-vlgothic,japanese-sazanami,japanese-kochi
+sequence.allfonts.x-euc-jp-linux=latin-1,japanese-ipafont-gothic,japanese-ipafont-mincho,japanese-vlgothic,japanese-sazanami
 sequence.allfonts.EUC-KR=latin-1,korean-un,korean-baekmuk
 sequence.allfonts.Big5=latin-1,umingtw,shanheisun,wqy-microhei,wqy-zenhei
 sequence.allfonts.Big5-HKSCS=latin-1,uminghk,shanheisun,wqy-microhei,wqy-zenhei
 #sequence.fallback=uminghk,shanheisun,wqy-zenhei,japanese-vlgothic,japanese-kochi,japanese-sazanami,korean-un,korean-baekmuk,bengali,gujarati,hindi,oriya,punjabi,malayalam,tamil,telugu,sinhala
-sequence.fallback=wqy-microhei,uminghk,shanheisun,wqy-zenhei,japanese-vlgothic,japanese-sazanami,japanese-kochi,korean-un,korean-baekmuk,bengali,gujarati,hindi,oriya,punjabi,tamil,telugu
+sequence.fallback=wqy-microhei,uminghk,shanheisun,wqy-zenhei,japanese-ipafont-gothic,japanese-ipafont-mincho,japanese-vlgothic,japanese-sazanami,korean-un,korean-baekmuk,bengali,gujarati,hindi,oriya,punjabi,tamil,telugu
 
 # Exclusion Ranges
 
-exclusion.japanese-kochi=0390-03d6,2200-22ef,2701-27be
 exclusion.japanese-sazanami=0390-03d6,2200-22ef,2701-27be
 exclusion.japanese-vlgothic=0390-03d6,2200-22ef,2701-27be
+exclusion.japanese-ipafont-gothic=0390-03d6,2200-22ef,2701-27be
+exclusion.japanese-ipafont-mincho=0390-03d6,2200-22ef,2701-27be
 
 # Font File Names
 
@@ -304,12 +305,15 @@
 filename.Baekmuk_Gulim=/usr/share/fonts/truetype/baekmuk/gulim.ttf
 filename.UnDotum=/usr/share/fonts/truetype/unfonts/UnDotum.ttf
 filename.UnDotum_Bold=/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf
-filename.Kochi_Gothic=/usr/share/fonts/truetype/kochi/kochi-gothic.ttf
+#Japanese font
 filename.Sazanami_Gothic=/usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf
-filename.Kochi_Mincho=/usr/share/fonts/truetype/kochi/kochi-mincho.ttf
 filename.Sazanami_Mincho=/usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf
 filename.VL_Gothic=/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
 filename.VL_PGothic=/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf
+filename.IPAGothic=/usr/share/fonts/opentype/ipafont-gothic/ipag.ttf
+filename.IPAPGothic=/usr/share/fonts/opentype/ipafont-gothic/ipagp.ttf
+filename.IPAMincho=/usr/share/fonts/opentype/ipafont-mincho/ipam.ttf
+filename.IPAPMincho=/usr/share/fonts/opentype/ipafont-mincho/ipamp.ttf
 
 filename.Lohit_Bengali=/usr/share/fonts/truetype/ttf-bengali-fonts/lohit_bn.ttf
 filename.Lohit_Gujarati=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_gu.ttf
@@ -343,8 +347,9 @@
 awtfontpath.shanheisun=/usr/share/fonts/truetype/arphic
 awtfontpath.wqy-microhei=/usr/share/fonts/truetype/wqy
 awtfontpath.wqy-zenhei=/usr/share/fonts/truetype/wqy
-awtfontpath.japanese-kochi=/usr/share/fonts/truetype/kochi
 awtfontpath.japanese-sazanami=/usr/share/fonts/truetype/sazanami
 awtfontpath.japanese-vlgothic=/usr/share/fonts/truetype/vlgothic
+awtfontpath.japanese-ipafont-gothic=/usr/share/fonts/opentype/ipafont-gothic
+awtfontpath.japanese-ipafont-mincho=/usr/share/fonts/opentype/ipafont-mincho
 awtfontpath.korean-baekmuk=/usr/share/fonts/truetype/baekmuk
 awtfontpath.korean-un=/usr/share/fonts/truetype/unfonts