misc native build fixups
[org.ibex.core.git] / src / org / ibex / Font.java
index 2744f0e..fc84979 100644 (file)
@@ -1,8 +1,9 @@
 // Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
 package org.ibex;
-import org.xwt.translators.*;
+import org.ibex.translators.*;
 import org.ibex.util.*;
 import java.io.*;
+import org.ibex.js.JSExn;
 
 // FEATURE: this could be cleaner
 /** encapsulates a single font (a set of Glyphs) */
@@ -83,7 +84,7 @@ public class Font {
         if (!encounteredUnrenderedGlyph) return ((((long)width) << 32) | (long)(height & 0xffffffffL));
 
         if (callback != null) Scheduler.add(new Scheduler.Task() {
-                public void perform() throws Exception {
+                public void perform() throws IOException, JSExn {
                     // FEATURE this isn't terribly efficient... perhaps the task should go on the last glyph?
                     for(int i=0; i<text.length(); i++) {
                         Glyph g = glyphs[text.charAt(i)];