ugly fonts in java apps
Robert Swindells
rjs at fdy2.demon.co.uk
Wed Aug 27 08:46:11 PDT 2003
Miroslav Kes wrote:
>I'm running FreeBSD native JDK 1.4.1 on 5.1R and I have question
>concerning fonts. Fonts that are displayed in Java applications (Eclipse
>for example) on my machine look too ugly (unsharp, rough - my eyes get
>tired quite soon reading it) comparing to fonts of native apps. (KDE).
>The corresponding section of my XF86Config looks like:
>Section "Files"
> RgbPath "/usr/X11R6/lib/X11/rgb"
> ModulePath "/usr/X11R6/lib/modules"
> FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath "/usr/X11R6/lib/X11/fonts/URW/"
> FontPath "/usr/X11R6/lib/X11/fonts/local/"
> FontPath "/usr/X11R6/lib/X11/fonts/mozilla/"
>EndSection
>Can anybody tell me what's the problem?
My guess would be that the X server is trying to scale the fonts from
the 75dpi directory instead of using the URW or Type 1 ones.
I use the following in my XF86Config:
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
Robert Swindells
More information about the freebsd-java
mailing list