Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22795 - wrong path to korean baekmuk fonts in openjdk

Attached to Project: Arch Linux
Opened by Mamy Ratsimbazafy (ChoK) - Monday, 07 February 2011, 02:47 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 07 February 2011, 08:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

ttf baekmuk are the only ttf korean fonts in Arch official repository.
The font files are (ttf-baekmuk-2.2-5) :
/usr/share/fonts/TTF/baekmuk-batang.ttf
/usr/share/fonts/TTF/baekmuk-dotum.ttf
/usr/share/fonts/TTF/baekmuk-gulim.ttf
/usr/share/fonts/TTF/baekmuk-hline.ttf

According to /usr/lib/jvm/java-6-openjdk/jre/lib/fontconfig.properties.src
java looks for the baekmuk font in :
filename.Baekmuk_Batang=/usr/share/fonts/TTF/batang.ttf
filename.Baekmuk_Gulim=/usr/share/fonts/TTF/gulim.ttf

This causes java to display boxes instead of korean characters

Changing those lines to point to baekmuk-batang.ttf and baekmuk-gulim.ttf and saving this under a new file fontconfig.properties solves this bug.

openjdk6 version 6.b20_1.9.5-1
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 07 February 2011, 08:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  ttf-baekmuk-2.2-6 in [extra]

Loading...