On Fri, 2 Jan 2009 16:44:49 -0600
"Jerone Young" <jer...@gmail.com> 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
=== modified file 'util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader.java'
--- util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader.java	2008-08-31 04:38:54 +0000
+++ util/fonttool/src/org/gnu/grub/fonttool/PFF2Loader.java	2009-01-03 16:40:26 +0000
@@ -180,7 +180,7 @@
     private String openSection() throws IOException {
         byte[] b = new byte[4];
         f.readFully(b);
-        return new String(b, Charset.forName("US-ASCII"));
+        return new String(b, "US-ASCII");
     }
 
     private String readCompleteSectionAsString() throws IOException {

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to