Trouble displaying japanese characters in java apps

Hamish Morrison hamishm53 at gmail.com
Wed May 27 14:12:17 UTC 2015


Hi Dario,

On 27/05/2015 01:28, Dario de la Cruz wrote:
> I tried to edit some configuration files to change the default font, but that files appears to be in the "read only" directories from Haiku.

Ideally AWT would get the default font settings from the operating
system, but Haiku doesn't provide an easy way to get the paths of the
default fonts.

In the meantime you can set the sun.awt.fontconfig property to point to
a custom fontconfig.properties file, like this:

java -Dsun.awt.fontconfig=/path/to/fontconfig.properties <rest of args>


Cheers
Hamish


More information about the haiku-port-dev mailing list