Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 09:02:51 -0800
From:      Brian Gardner <openjdk@getsnappy.com>
To:        Stephen McKay <smckay@internode.on.net>
Cc:        freebsd-java@freebsd.org
Subject:   Re: openjdk6-b17 Pre Release 2 
Message-ID:  <D1481847-C705-4661-BB92-9C00D94A4A5D@getsnappy.com>
In-Reply-To: <200911061053.nA6ArJbA005827@dungeon.home>
References:  <8315ACEB-EDE9-42C4-B689-0B584FD30968@getsnappy.com> <200911050039.nA50dCA8094090@dungeon.home> <hcvh3i$ppl$1@ger.gmane.org> <A4E3C62F-F320-483A-B5FC-53DD88A3D552@getsnappy.com> <hcvm4k$d4m$1@ger.gmane.org> <490A45F3-651E-4207-9192-11A53F64C815@getsnappy.com> <hcvnf8$d4m$2@ger.gmane.org> <83CF5AB1-8162-4B65-8CD3-477D198CA21C@getsnappy.com> <86AD3589-941C-4F92-AF0C-84FD09BC4BD1@getsnappy.com> <200911061053.nA6ArJbA005827@dungeon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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.
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1481847-C705-4661-BB92-9C00D94A4A5D>