From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 08:46:10 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0F4116A4BF for ; Wed, 27 Aug 2003 08:46:10 -0700 (PDT) Received: from ren.fdy2.net (fdy2.demon.co.uk [80.177.11.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF3A43FAF for ; Wed, 27 Aug 2003 08:46:09 -0700 (PDT) (envelope-from rjs@ren.fdy2.net) Received: from ren.fdy2.net (localhost [127.0.0.1]) by ren.fdy2.net (8.12.9/8.11.3) with ESMTP id h7RFi9D0069029; Wed, 27 Aug 2003 16:44:09 +0100 (BST) (envelope-from rjs@ren.fdy2.net) Received: (from rjs@localhost) by ren.fdy2.net (8.12.9/8.12.9/Submit) id h7RFi9Yn069026; Wed, 27 Aug 2003 16:44:09 +0100 (BST) Date: Wed, 27 Aug 2003 16:44:09 +0100 (BST) Message-Id: <200308271544.h7RFi9Yn069026@ren.fdy2.net> From: Robert Swindells To: mkes@ra.rockwell.com In-reply-to: <3F4CCC0F.1090707@ra.rockwell.com> (message from Miroslav Kes on Wed, 27 Aug 2003 17:19:43 +0200) cc: freebsd-java@freebsd.org Subject: Re: ugly fonts in java apps X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 15:46:11 -0000 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