// 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) */
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)];