From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 05:59:39 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 11E2B16A4BF for ; Thu, 28 Aug 2003 05:59:39 -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 B467443FA3 for ; Thu, 28 Aug 2003 05:59:37 -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 h7SCxYNP042043; Thu, 28 Aug 2003 07:59:35 -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; Thu, 28 Aug 2003 07:59:35 -0500 (CDT) Message-ID: <28805.63.104.35.130.1062075575.squirrel@email.polands.org> Date: Thu, 28 Aug 2003 07:59:35 -0500 (CDT) From: "Doug Poland" To: "long cao" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: java@freebsd.org Subject: Re: fonts in eclipse 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: Thu, 28 Aug 2003 12:59:39 -0000 long cao said: >>> > 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. >> > >> > i think i had that problem as well... once i installed ttf fonts >> > package from ports and copy over [arial?] from ms systems, the >> > problem went away >> > >> > [eclipse initially complained of not being able to find the fonts >> > and then went to defaults] >> > >> > hope this helps >> > >> >> So far, yes it does. However, I cannot find a ttf port on my >> 4.8-STABLE system. >> >> Thanks for your help, >> > > ~ports/x11-fonts/webfonts > > the port contains the fonts i was referring to. :) > Thanks, unfortunately I still have these huge fonts. This is what I've done... Read the file: /usr/X11R6/lib/X11/doc/README.fonts Installed the webfonts port Edited my XF86Config file and removed FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" Removed the above directory from the file system Ran fc-cache Restarted X setenv GDK_USE_XFT 1 Started Eclipse and... Window ->Preferences ->Workbench ->Fonts ->Restore Defaults I wonder if this might be a problem with an underlying system, Eclipse depends on several ports that manipulate fonts... % pkg_info -rR /var/db/pkg/eclipse-2.1.1_2/ Information for eclipse-2.1.1_2: Depends on: Dependency: urwfonts-1.0 Dependency: jpeg-6b_1 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: freetype2-2.1.4_1 Dependency: open-motif-2.2.2_1 Dependency: libiconv-1.9.1_1 Dependency: tiff-3.5.7_1 Dependency: expat-1.95.6_1 Dependency: javavmwrapper-1.4 Dependency: imake-4.3.0_1 Dependency: fontconfig-2.2.90_3 Dependency: XFree86-libraries-4.3.0_5 Dependency: gettext-0.11.5_1 Dependency: XFree86-fontEncodings-4.3.0 Dependency: glib-2.2.2 Dependency: jdk-1.4.1p3 Dependency: atk-1.2.4 Dependency: XFree86-fontScalable-4.3.0 Dependency: Xft-2.1.2 Dependency: pango-1.2.3 Dependency: gtk-2.2.2 Also, here's my XF86Config font path: 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/webfonts" I appreciate your help so far. I hope you don't mind if I Cc this to the list as resolution may ultimately help others. -- Regards, Doug