Re: Ugly java applet fonts
On Wed, Aug 20, 2008 at 21:06:32 +0200, Rob Gom wrote:
> Hello dear list users,
> as the problem with nvidia is gone, it's time to fight another issue.
> >From time to time I play java games on various sites, mainly
> http://www.kurnik.pl. For a long time there was no 64 bit java plugin,
> so I used chrooted sun java plugin. But now I don't have to use it
> anymore:
> ii icedtea-gcjwebplugin 1.0-2
> Java plugin based on IcedTea and gcjwebplugin
> ii openjdk-6-jre 6b11-6
> OpenJDK Java runtime, using Hotspot JIT
> ii openjdk-6-jre-headless 6b11-6
> OpenJDK Java runtime, using Hotspot JIT (headless)
> ii openjdk-6-jre-lib 6b11-6
> OpenJDK Java runtime (architecture independent libraries)
>
> And it basically works. Basically, with one exception - fonts in java
> applets look ugly. They don't seem to be antialiased, their shapes are
> distorted. Readable, though, but very ugly.
>
> What can I do to improve their look? Should I install anything?
Did you try sun-java6-fonts already?
> What should I do to debug the reason?
You might have bitmap fonts enabled, which can cause the kind of problem
you describe, at least with certain applications. I don't know if this
configuration is relevant for java, though. If you want to check this,
run:
debconf-get-selections | grep fontconfig/enable_bitmaps
(The debconf-get-selections utility is in package debconf-utils.)
If you see that bitmap fonts are enabled then you can use
dpkg-reconfigure fontconfig-config
to turn them off, restart Xorg and hope that java will choose nicer
fonts after that.
> In my KDE Debian GNU/Linux system all other fonts look fine.
KDE does not use bitmap fonts by default.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: