From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LJ9dX-0002Wg-2C for mharc-grub-devel@gnu.org; Sat, 03 Jan 2009 11:46:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJ9dU-0002WV-3Y for grub-devel@gnu.org; Sat, 03 Jan 2009 11:46:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJ9dR-0002WJ-Fk for grub-devel@gnu.org; Sat, 03 Jan 2009 11:46:02 -0500 Received: from [199.232.76.173] (port=55975 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ9dR-0002WG-AL for grub-devel@gnu.org; Sat, 03 Jan 2009 11:46:01 -0500 Received: from gateway07.websitewelcome.com ([69.56.184.21]:57709) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LJ9dQ-0001Me-PI for grub-devel@gnu.org; Sat, 03 Jan 2009 11:46:01 -0500 Received: (qmail 3520 invoked from network); 3 Jan 2009 17:03:24 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway07.websitewelcome.com with SMTP; 3 Jan 2009 17:03:24 -0000 Received: from [67.185.177.95] (port=53235 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1LJ9dM-0007xN-7I; Sat, 03 Jan 2009 10:45:56 -0600 Date: Sat, 3 Jan 2009 08:45:52 -0800 From: Colin D Bennett To: The development of GRUB 2 Message-ID: <20090103084552.39b4312e@gibibit.com> In-Reply-To: <9f50a7a00901021444j486addd5he087dd8896afdf87@mail.gmail.com> References: <20080901092753.3918cf73@gamma.lan> <20081004214640.5ab21f53@gibibit.com> <48E87FB9.8070603@nic.fi> <20081030121106.4efffecc@gibibit.com> <20081030205736.7e080a5e@gibibit.com> <493ADE06.7080001@nic.fi> <20081222091443.7280e623@gibibit.com> <49513053.20207@nic.fi> <20081223171711.15128818@gibibit.com> <4956C98F.3030006@nic.fi> <9f50a7a00901021444j486addd5he087dd8896afdf87@mail.gmail.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/gp2vHIOgm=ld+3J1AsdZJM7"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: jerone@gmail.com Subject: Re: [PATCH] GSoC #10 new font engine (UTF-8 support+bugfix) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2009 16:46:04 -0000 --Sig_/gp2vHIOgm=ld+3J1AsdZJM7 Content-Type: multipart/mixed; boundary="MP_/C0RHvNS4=K+c62jYuCJHC7T" --MP_/C0RHvNS4=K+c62jYuCJHC7T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 2 Jan 2009 16:44:49 -0600 "Jerone Young" wrote: > I just paid attention to this (sorry). So everything seems fine. But > the dependency on a proprietary java stack to generate fonts isn't > good. Does it happen to work with gcc java ? The font tool does work with gcj (gcc's Java compiler). I just had to make a trivial change (see attached) since gcj 4.3.2 does not yet implement the String(byte[], Charset) constructor. Regards, Colin --MP_/C0RHvNS4=K+c62jYuCJHC7T Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=fonttool-gcj-2009-01-03.patch =3D=3D=3D modified file 'util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader= .java' --- util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader.java 2008-08-31 04:3= 8:54 +0000 +++ util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader.java 2009-01-03 16:4= 0:26 +0000 @@ -180,7 +180,7 @@ private String openSection() throws IOException { byte[] b =3D new byte[4]; f.readFully(b); - return new String(b, Charset.forName("US-ASCII")); + return new String(b, "US-ASCII"); } =20 private String readCompleteSectionAsString() throws IOException { --MP_/C0RHvNS4=K+c62jYuCJHC7T-- --Sig_/gp2vHIOgm=ld+3J1AsdZJM7 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklflkQACgkQokx8fzcGbYeDfgCgj6esavqx01oNOb9MUREvy3iE 5QAAoJ1kWV3hIfWAA9aLIRhd5KdGULRn =k6IP -----END PGP SIGNATURE----- --Sig_/gp2vHIOgm=ld+3J1AsdZJM7--