Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 16:44:09 +0100 (BST)
From:      Robert Swindells <rjs@fdy2.demon.co.uk>
To:        mkes@ra.rockwell.com
Cc:        freebsd-java@freebsd.org
Subject:   Re: ugly fonts in java apps
Message-ID:  <200308271544.h7RFi9Yn069026@ren.fdy2.net>
In-Reply-To: <3F4CCC0F.1090707@ra.rockwell.com> (message from Miroslav Kes on Wed, 27 Aug 2003 17:19:43 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308271544.h7RFi9Yn069026>