From owner-freebsd-java@FreeBSD.ORG Thu Nov 5 22:51:20 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC84106566B for ; Thu, 5 Nov 2009 22:51:20 +0000 (UTC) (envelope-from openjdk@getsnappy.com) Received: from mailA.getsnappy.com (mailA.getsnappy.com [72.29.186.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9238FC0A for ; Thu, 5 Nov 2009 22:51:19 +0000 (UTC) Received: from [192.168.1.8] (24-205-233-63.dhcp.snlo.ca.charter.com [24.205.233.63]) by mailA.getsnappy.com (8.14.3/8.14.3) with ESMTP id nA5MpIDB044919 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 5 Nov 2009 14:51:19 -0800 (PST) (envelope-from openjdk@getsnappy.com) Message-Id: From: Brian Gardner To: Marcin Wisnicki In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 5 Nov 2009 14:51:13 -0800 References: <8315ACEB-EDE9-42C4-B689-0B584FD30968@getsnappy.com> <200911050039.nA50dCA8094090@dungeon.home> X-Mailer: Apple Mail (2.936) Cc: freebsd-java@freebsd.org Subject: Re: openjdk6-b17 Pre Release 2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 22:51:20 -0000 Did you download the DejaVu-LGC fonts from the web, or where they part of a port? On Nov 5, 2009, at 1:46 PM, Marcin Wisnicki wrote: > On Thu, 05 Nov 2009 10:39:12 +1000, Stephen McKay wrote: > >> On Wednesday, 4th November 2009, Brian Gardner wrote: >> >>> I've completed work on pre release version 2. You can gain early >>> access >>> to this port by downloading it from: >>> http://www.getsnappy.com/downloads/openjdk6-b17-pr2.tar.gz >> >> Cool! >> >>> Pre Release 2 features these fixes: >>> no more ugly fonts! >> >> It's getting closer, but there's still something amiss. Try >> running the >> old Sun Font2DTest and there are obvious differences between the >> other >> JDKs (diablo, linux, and native freebsd jdk 1.6) vs openjdk6-b17-pr2. >> >> For a start, the font selected for the buttons, etc, is different and >> the general layout is distorted (some of it doesn't show up until you >> resize). >> >> Then if you look at the fonts displayed by the tool, they differ. >> I've >> found that "Utopia" is instructive as the E and F have been nibbled >> by >> mice in the openjdk6-b17-pr2 version. :-) >> >> I'm running 7.2-p3 with most ports dating from 7.2-R, if that >> matters. >> > > When I had similar problems with fonts in openjdk16-b16_1 on 8.0- > BETA2 I > did following: > > cd /usr/local/openjdk16/jre/lib > sed -e 's|/usr/share/|/usr/local/lib/X11/|' > fontconfig.properties.src \ > > fontconfig.properties > > then copied DejaVu-LGC fonts to /usr/local/lib/X11/fonts/dejavu-lgc > and > it's fontconfig files to /usr/local/etc/fonts/conf.d . > Also, I had a complete xorg (with all xorg-fonts-*). > > Since then everything is working perfectly. > > If this still fixes the problem then I guess openjdk needs some > serious > overhaul of its font configuration system to really use desktop's > settings instead of hardcoding paths in private configuration files > but > in the meantime fontconfig.properties could be tweaked to something > that exists on freebsd (perhaps dejavu, but dejavu-lgc port would be > nice too). > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@freebsd.org" >