From owner-freebsd-java@FreeBSD.ORG Fri Nov 6 17:02:58 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 6A296106566B for ; Fri, 6 Nov 2009 17:02:58 +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 4D1C98FC22 for ; Fri, 6 Nov 2009 17:02:58 +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 nA6H2viv073488 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 6 Nov 2009 09:02:57 -0800 (PST) (envelope-from openjdk@getsnappy.com) Message-Id: From: Brian Gardner To: Stephen McKay In-Reply-To: <200911061053.nA6ArJbA005827@dungeon.home> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 6 Nov 2009 09:02:51 -0800 References: <8315ACEB-EDE9-42C4-B689-0B584FD30968@getsnappy.com> <200911050039.nA50dCA8094090@dungeon.home> <490A45F3-651E-4207-9192-11A53F64C815@getsnappy.com> <83CF5AB1-8162-4B65-8CD3-477D198CA21C@getsnappy.com> <86AD3589-941C-4F92-AF0C-84FD09BC4BD1@getsnappy.com> <200911061053.nA6ArJbA005827@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: Fri, 06 Nov 2009 17:02:58 -0000 > > So, summing up, I'm using an old Font2DTest (which may have bugs or > may be exposing a genuine bug in openjdk6), some fonts (eg Utopia) > are not being rendered as well as expected, and antialiasing is not > as featureful as expected. I don't see the Utopia font. Did you manually add it to fontconfig.properties or something? Antialiasing seems to work well in the other fonts. Perhaps there is an issue with a specific font type. Brian On Nov 6, 2009, at 2:53 AM, Stephen McKay wrote: > On Thursday, 5th November 2009, Brian Gardner wrote: > >> I don't seem to be having any issues Stephen mentioned. It appears >> that sun jdks use Lucida Fonts by default, but I believe these are >> licensed to sun, and that the DejuVu fonts are the standard >> alternative. Anybody else having similar issues to Stephen. Stephen >> are you running i386 or amd64? > > I'm running 7.2-p3 on i386. I guess everyone else has graduated to > grownup machines by now. :-) But I don't think this is an issue. > > I am however running an ancient Font2DTest (from 2002). I don't know > quite how I came to have it, but it was first to hand. The version > installed in /usr/local/openjdk6/demo/jfc (and the other JDKs) is much > more recent. > > The one I've been using is the same one available here: > http://www.codase.com/search/download?file=L2dlbnRvbzIvdmFyL3RtcC9yZXBvcy9jb2Rhc2UuamF2YS9zaW1wbGUvRm9udDJEVGVzdC5qYXZh > > This old version works the same in diablo, native and linux jdk 1.6.0 > but is displayed badly in openjdk6. When run under openjdk6, it must > be resized a little before everything at the top is displayed. > Whatever > out-of-date methods it is using to display stuff should still work > today, right? > > Moving on to the modern Font2DTest, it behaves more sensibly under > openjdk6-b17-pr2 (the different font used is dejavu replacing the > normal default font). However, there are still rendering issues. > > First up, all bar openjdk6 can do LCD antialiasing. In openjdk6 it's > just black and white antialiasing. > > Looking again at Utopia (just because I've looked at it a few times), > the rendering is sufficiently different to the other JDKs that the E > and F look damaged. > > On closer inspection, it's simply doing poor antialiasing on smaller > font sizes (under, say, 16 point). Go small enough and every letter > seems poor. When using large point sizes (eg 24) they differ in > detail, > but look good in openjdk6 and the other JDKs. There's some super- > magic > hinting being ignored in openjdk6 then? > > So, summing up, I'm using an old Font2DTest (which may have bugs or > may be exposing a genuine bug in openjdk6), some fonts (eg Utopia) > are not being rendered as well as expected, and antialiasing is not > as featureful as expected. > > Stephen. >