Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 2009 14:51:13 -0800
From:      Brian Gardner <openjdk@getsnappy.com>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: openjdk6-b17 Pre Release 2
Message-ID:  <A4E3C62F-F320-483A-B5FC-53DD88A3D552@getsnappy.com>
In-Reply-To: <hcvh3i$ppl$1@ger.gmane.org>
References:  <8315ACEB-EDE9-42C4-B689-0B584FD30968@getsnappy.com> <200911050039.nA50dCA8094090@dungeon.home> <hcvh3i$ppl$1@ger.gmane.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4E3C62F-F320-483A-B5FC-53DD88A3D552>