openjdk6-b17 Pre Release 2

View: New views
18 Messages — Rating Filter:   Alert me  

openjdk6-b17 Pre Release 2

by Brian Gardner-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
To install:
cd /usr/ports/java
tar -xjf <path_to_tar_bundle>/openjdk6-b17-pr2.tar.gz
cd openjdk6-b17
make
Pre Release 2 features these fixes:
no more ugly fonts!
locale data is now correct
include fastdebug build options creates a mirrored /usr/local/openjdk6-
fastdebug installation


------------------------------------------------------------
Brian Gardner | President + CEO

GETSNAPPY.COM

3591 Sacramento Dr., Suite 118
San Luis Obispo CA, 93401
805.706.0420 | 805.762.4326 fax

brian@...
http://www.getsnappy.com

Connect with me
Facebook | Twitter | LinkedIn


------------------------------------------------------------





_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Jonathan Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 04, 2009 at 02:04:01PM -0800, 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

The output of "java -version" looks odd:

% java -version
openjdk version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-jc1282_05_nov_2009_11_24-b00)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Do the numbers for the Server VM relate in anyway to the port version?

Thanks for the work on the port!
--
Jonathan Chen <jonc@...>
----------------------------------------------------------------------
    The Internet: an empirical test of the idea that a million monkeys
                banging on a million keyboards can produce Shakespeare
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Do the numbers for the Server VM relate in anyway to the port version?
Nope.  Does anybody have openjdk6 installed on linux or another non-
bsd OS.  I'm curious what that output should be.


On Nov 4, 2009, at 4:24 PM, Jonathan Chen wrote:

> On Wed, Nov 04, 2009 at 02:04:01PM -0800, 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
>
> The output of "java -version" looks odd:
>
> % java -version
> openjdk version "1.6.0"
> OpenJDK Runtime Environment (build 1.6.0-jc1282_05_nov_2009_11_24-b00)
> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>
> Do the numbers for the Server VM relate in anyway to the port version?
>
> Thanks for the work on the port!
> --
> Jonathan Chen <jonc@...>
> ----------------------------------------------------------------------
>    The Internet: an empirical test of the idea that a million monkeys
>                banging on a million keyboards can produce Shakespeare
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

>include fastdebug build options creates a mirrored /usr/local/openjdk6-
>fastdebug installation

Forgive my ignorance, but what's this for?

Cheers,

Stephen.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Andriy Gapon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 05/11/2009 02:28 Brian Gardner said the following:
>> Do the numbers for the Server VM relate in anyway to the port version?
> Nope.  Does anybody have openjdk6 installed on linux or another non-bsd
> OS.  I'm curious what that output should be.

This is what I see on openSuSE 11.1:
$ /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/bin/java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (suse-0.1.3-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

>
> On Nov 4, 2009, at 4:24 PM, Jonathan Chen wrote:
>
>> On Wed, Nov 04, 2009 at 02:04:01PM -0800, 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
>>
>> The output of "java -version" looks odd:
>>
>> % java -version
>> openjdk version "1.6.0"
>> OpenJDK Runtime Environment (build 1.6.0-jc1282_05_nov_2009_11_24-b00)
>> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>>
>> Do the numbers for the Server VM relate in anyway to the port version?
>>
>> Thanks for the work on the port!

--
Andriy Gapon
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Marcin Wisnicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Marcin Wisnicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 05 Nov 2009 14:51:13 -0800, Brian Gardner wrote:

> Did you download the DejaVu-LGC fonts from the web, or where they part
> of a port?
>

Unfortunately there is no port for dejavu-lgc yet.
I think I've copied them from some rpm or maybe from ubuntu's partition.
Alternatively you can use standard DejaVu fonts, of which LGC is a subset,
just sed it one more time:
        sed -Ee 's/(_|-| )?LGC//Ig' -i.lgc fontconfig.properties

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Those are the ones I am using currently, however there still seems to  
be issues.

On Nov 5, 2009, at 3:12 PM, Marcin Wisnicki wrote:

> On Thu, 05 Nov 2009 14:51:13 -0800, Brian Gardner wrote:
>
>> Did you download the DejaVu-LGC fonts from the web, or where they  
>> part
>> of a port?
>>
>
> Unfortunately there is no port for dejavu-lgc yet.
> I think I've copied them from some rpm or maybe from ubuntu's  
> partition.
> Alternatively you can use standard DejaVu fonts, of which LGC is a  
> subset,
> just sed it one more time:
> sed -Ee 's/(_|-| )?LGC//Ig' -i.lgc fontconfig.properties
>
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Marcin Wisnicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 05 Nov 2009 15:23:07 -0800, Brian Gardner wrote:

> Those are the ones I am using currently, however there still seems to be
> issues.
>

Are you certain that the paths in
/usr/local/openjdk6/jre/lib/fontconfig.properties point to correct files ?

I have removed LGC and it still works for me in netbeans6.7 and other
swing apps (after doing that last sed).

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I haven't given it a try yet, but Stephen is seeing the following  
issue with DejuVu fonts from x11-fonts/dejavu


>>
>> 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.



On Nov 5, 2009, at 3:35 PM, Marcin Wisnicki wrote:

> On Thu, 05 Nov 2009 15:23:07 -0800, Brian Gardner wrote:
>
>> Those are the ones I am using currently, however there still seems  
>> to be
>> issues.
>>
>
> Are you certain that the paths in
> /usr/local/openjdk6/jre/lib/fontconfig.properties point to correct  
> files ?
>
> I have removed LGC and it still works for me in netbeans6.7 and other
> swing apps (after doing that last sed).
>
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

On Nov 5, 2009, at 7:56 PM, Brian Gardner wrote:

> I haven't given it a try yet, but Stephen is seeing the following  
> issue with DejuVu fonts from x11-fonts/dejavu
>
>
>>>
>>> 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.
>
>
>
> On Nov 5, 2009, at 3:35 PM, Marcin Wisnicki wrote:
>
>> On Thu, 05 Nov 2009 15:23:07 -0800, Brian Gardner wrote:
>>
>>> Those are the ones I am using currently, however there still seems  
>>> to be
>>> issues.
>>>
>>
>> Are you certain that the paths in
>> /usr/local/openjdk6/jre/lib/fontconfig.properties point to correct  
>> files ?
>>
>> I have removed LGC and it still works for me in netbeans6.7 and other
>> swing apps (after doing that last sed).
>>
>> _______________________________________________
>> freebsd-java@... mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@...
>> "
>>
>
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday, 6th November 2009, Stephen McKay wrote:

>So, summing up, I'm using an old Font2DTest (which may have bugs or
>may be exposing a genuine bug in openjdk6)...

Ignore this bit.  Turns out the old Font2DTest simply specifies an
initial geometry that is too small to fit everything in.  Another
few pixels wider and everything fits.  Because... tada! the change
to DejaVu makes the default font a little wider and it won't all
fit in the space reserved back in 2002.

So, real issues with openjdk6 are limited to antialiasing and the
quality thereof.  Over to the experts...

Cheers,

Stephen.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> 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.
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday, 6th November 2009, Brian Gardner wrote:

>> ... 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?

It's in font-adobe-utopia-type1-1.0.1 required by xorg-7.4_1.  I haven't
otherwise modified my setup, so openjdk6 must get it from fontconfig.

>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.

Stephen.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6-b17 Pre Release 2

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for busting out the giant excavator and digging this info up.  
I'm still curious, and a bit jealous as to why the Utopia font isn't  
showing up for me.  Would you mind emailing me a list of installed  
packages (output of pkg_info) and your fontconfig.properties if it is  
different from the version distributed with pre release 2.

Brian


On Nov 6, 2009, at 10:47 PM, Stephen McKay wrote:

> 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.
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."