From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 11:51:37 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 3474316A4BF for ; Wed, 27 Aug 2003 11:51:37 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB59843F93 for ; Wed, 27 Aug 2003 11:51:35 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7RIpVNP035017; Wed, 27 Aug 2003 13:51:32 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 27 Aug 2003 13:51:33 -0500 (CDT) Message-ID: <48296.63.104.35.130.1062010293.squirrel@email.polands.org> In-Reply-To: <200308271544.h7RFi9Yn069026@ren.fdy2.net> References: <3F4CCC0F.1090707@ra.rockwell.com> (message from Miroslav Kes onWed, 27 Aug 2003 17:19:43 +0200) <200308271544.h7RFi9Yn069026@ren.fdy2.net> Date: Wed, 27 Aug 2003 13:51:33 -0500 (CDT) From: "Doug Poland" To: "Robert Swindells" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal 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 18:51:37 -0000 Robert Swindells said: > > 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 > I'm having a different font problem with java apps (Eclipse) but I'm wondering if it's related to this. My dialog and menu fonts are huge. Is modifying the X11 FontPath the prefered technique for tweaking the fonts in java apps? Thanks, Doug