import org.apache.fop.events.Event;
import org.apache.fop.events.EventFormatter;
import org.apache.fop.events.EventListener;
+import org.apache.fop.fonts.FontEventProducer;
import org.apache.fop.render.intermediate.IFContext;
import org.apache.fop.render.intermediate.IFDocumentHandler;
import org.apache.fop.render.intermediate.IFException;
userAgent.getEventBroadcaster().addEventListener(new EventListener() {
public void processEvent(Event event) {
- if (event.getEventGroupID().equals("org.apache.fop.fonts.FontEventAdapter")) {
+ if (event.getEventGroupID().equals(FontEventProducer.class.getName())) {
fail("There must be no font-related event! Got: "
+ EventFormatter.format(event));
}