G
George Weinberg
I don't know if this is a java problem or an X problem or
a RedHat problem or what but...
when I install new fonts on a RedHat 7.3 system they seem to
automatically be available to java apps. However, this doesn't seem to
work on a RedHat Fedora Core 4 System or RedHat enterprise 4.
Further, on the RedHat E4 system GraphicsEnvironment.getAllFonts()
lists a bunch of fonts I've never heard of before (they don't show up
using xlsfonts, at least not under the same name). I've never fiddled
with any of the fontconfig files, but the impression I get from
the documentation
http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html
is that you can use "appendedfontpath" to add fonts that aren't
normally available to X, but your normal X fonts should always be
available.
I think I have a workaround in that if I add fonts to the
[JAVA_HOME]/jre/lib/fonts directory and remake fonts.dir there
things seem to work, but I'd really like to know what's going on.
Anyone jknow why the fonts aren't showing up?
Thanks,
George
a RedHat problem or what but...
when I install new fonts on a RedHat 7.3 system they seem to
automatically be available to java apps. However, this doesn't seem to
work on a RedHat Fedora Core 4 System or RedHat enterprise 4.
Further, on the RedHat E4 system GraphicsEnvironment.getAllFonts()
lists a bunch of fonts I've never heard of before (they don't show up
using xlsfonts, at least not under the same name). I've never fiddled
with any of the fontconfig files, but the impression I get from
the documentation
http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html
is that you can use "appendedfontpath" to add fonts that aren't
normally available to X, but your normal X fonts should always be
available.
I think I have a workaround in that if I add fonts to the
[JAVA_HOME]/jre/lib/fonts directory and remake fonts.dir there
things seem to work, but I'd really like to know what's going on.
Anyone jknow why the fonts aren't showing up?
Thanks,
George