From owner-freebsd-java@FreeBSD.ORG Sat Nov 7 06:47:18 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 515AB106566B for ; Sat, 7 Nov 2009 06:47:18 +0000 (UTC) (envelope-from smckay@internode.on.net) Received: from ipmail02.adl6.internode.on.net (ipmail02.adl6.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id C53008FC19 for ; Sat, 7 Nov 2009 06:47:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAB6k9Ep20Atl/2dsb2JhbACBTtk6hD4EgWg Received: from ppp118-208-11-101.lns20.bne1.internode.on.net (HELO dungeon.home) ([118.208.11.101]) by ipmail02.adl6.internode.on.net with ESMTP; 07 Nov 2009 17:17:15 +1030 Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.14.3/8.14.3) with ESMTP id nA76l53Y030380; Sat, 7 Nov 2009 16:47:05 +1000 (EST) (envelope-from mckay) Message-Id: <200911070647.nA76l53Y030380@dungeon.home> To: Brian Gardner 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> <200911062349.nA6NnwC6001462@dungeon.home> In-Reply-To: <200911062349.nA6NnwC6001462@dungeon.home> from Stephen McKay at "Sat, 07 Nov 2009 09:49:58 +1000" Date: Sat, 07 Nov 2009 16:47:05 +1000 From: Stephen McKay Cc: Stephen McKay , 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: Sat, 07 Nov 2009 06:47:18 -0000 On Saturday, 7th November 2009, Stephen McKay wrote: >On Friday, 6th November 2009, Brian Gardner wrote: > >>Antialiasing seems to work well in the other fonts. Perhaps there is >>an issue with a specific font type. > >Well, it's a Type1 font. The world seems to favour TrueType these days. >I'll poke about and see if I can find a Type1 vs TrueType trend in this, >or if it's just Utopia. I feel like I've been on an archaeological dig... Openjdk6 uses freetype, while the other JDKs use an internal renderer. That's pretty much the end of the story. Differences are to be expected. I've verified that Utopia shown by ftview using freetype-2.3.9 matches openjdk6's output, so what I am seeing is the difference in quality between the Sun owned renderer (that we can't have) and the free renderer (that we can have). People round the web are also upset with what they see as regressions in freetype regarding Type1 font rendering after revision 2.1.9. I've checked the output of 2.1.9 vs 2.3.9 and have observed (for a small sample only) that 2.3.9 is indeed worse in places, though it's hard to generalise it to a blanket "2.1.9 is better than 2.3.9" statement. I'll give reverting to 2.1.9 a go myself, just for fun. I quickly checked a couple of truetype fonts and they seemed fine. Differences between the Sun JDK renderer and freetype must be minimal if any exist at all. So, summarising once again: openjdk6's use of freetype means that font rendering will differ from other JDKs. For Type1 fonts, this could mean that they look worse rather than better. Cheers, Stephen.