Description of problem: fonts path is now changed in rawhide and upstream is still using old fonts path from FC6. Untar openjdk-6-src tarball and look into openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties and openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.properties Version-Release number of selected component (if applicable): java-1.6.0-openjdk-1.6.0.0-0.7.b08.fc9.i386 How reproducible: always Steps to Reproduce: 1.goto http://www.pccl.demon.co.uk/java/unicode.html 2. click on top of applet to browse upwards unicodes characters. 3. can't see CJK fonts characters. Actual results: Can't see characters from Chinese, Japanese, Korean fonts Expected results: It should show characters from Chinese, Japanese, Korean fonts Additional info: If we copy fonts to old fontpath given in linux.fontconfig.Fedora.properties then we can see characters in that applet.
Created attachment 303108 [details] patch to update fonts path for CJK This will update jdk to show CJK characters in Java applications on rawhide
Thank you for the patch. It has been committed to the repository and will be available in the next release.
What about DejaVu fonts? Patch only changes the directory they are situated ("dejavu-lgc" to "dejavu"), but filenames are still invalid ("DejaVuLGCSansMono.ttf" instead of "DejaVuSansMono.ttf" etc.).
1) My rawhide system showed me rpm -qa | grep dejavu => dejavu-fonts-2.24-3.fc9.noarch dejavu-lgc-fonts-2.24-3.fc9.noarch dejavu-fonts-experimental-2.24-3.fc9.noarch 2)rpm -ql dejavu-lgc-fonts | grep ttf /usr/share/fonts/dejavu/DejaVuLGCSans-Bold.ttf /usr/share/fonts/dejavu/DejaVuLGCSans-BoldOblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSans-ExtraLight.ttf /usr/share/fonts/dejavu/DejaVuLGCSans-Oblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSans.ttf /usr/share/fonts/dejavu/DejaVuLGCSansCondensed-Bold.ttf /usr/share/fonts/dejavu/DejaVuLGCSansCondensed-BoldOblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSansCondensed-Oblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSansCondensed.ttf /usr/share/fonts/dejavu/DejaVuLGCSansMono-Bold.ttf /usr/share/fonts/dejavu/DejaVuLGCSansMono-BoldOblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSansMono-Oblique.ttf /usr/share/fonts/dejavu/DejaVuLGCSansMono.ttf /usr/share/fonts/dejavu/DejaVuLGCSerif-Bold.ttf /usr/share/fonts/dejavu/DejaVuLGCSerif-BoldItalic.ttf /usr/share/fonts/dejavu/DejaVuLGCSerif-Italic.ttf /usr/share/fonts/dejavu/DejaVuLGCSerif.ttf /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-Bold.ttf /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-BoldItalic.ttf /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-Italic.ttf /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed.ttf and rpm -ql dejavu-fonts | grep ttf /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf /usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf /usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf /usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf /usr/share/fonts/dejavu/DejaVuSansMono.ttf /usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/fonts/dejavu/DejaVuSerif.ttf So, patch is only correcting fonts filename path only. Original linux.fontconfig.Fedora.properties file contains DejaVu LGC font entries only. For more about DejaVu just check spec of dejavu-fonts at http://cvs.fedoraproject.org/viewcvs/rpms/dejavu-fonts/devel/
Yes, I think patch needs updating to use dejavu-fonts rather than dejavu-lcg-fonts.
[pkraw ~]$ rpm -qa|grep dejavu dejavu-fonts-2.24-3.fc9.noarch dejavu-fonts-experimental-2.24-3.fc9.noarch [pkraw ~]$ And according to F9 beta release notes, "DejaVu full replaces DejaVu LGC as default font set. DejaVu LGC is still available in the repo for users who prefer it.".
Created attachment 303455 [details] Update fonts path both for CJK and DejaVu Same patch as the one above, with DejaVuLGC replaced by DejaVu
Created attachment 303477 [details] Update fonts path both for CJKI and DejaVu This is updated patch to update dejavu fonts path and add Indic scripts fonts path. Tested this patch for Indic languages on my system.
(In reply to comment #2) > Thank you for the patch. It has been committed to the repository and will be > available in the next release. I can't see this patch in fedora package cvs. Did you committed this upstream?
(In reply to comment #9) > I can't see this patch in fedora package cvs. Did you committed this upstream? It has been committed to the repo, and will be available in the next release. Not in cvs or rawhide yet.
(In reply to comment #8) > Created an attachment (id=303477) [edit] > Update fonts path both for CJKI and DejaVu > > This is updated patch to update dejavu fonts path and add Indic scripts fonts > path. Tested this patch for Indic languages on my system. I updated the patch to include these changes. Thanks
Can't we port this to fontconfig? That patch just looks painful to maintain.