public FontOutput getFontOutput(final String mimeType) {
FontOutput output = this.fontOutputs.get(mimeType);
if (output != null) {
return output;
}
final FontOutputFactory4a factory =
getFOrayFontServer().getOutputFactory(mimeType);
if (factory == null) {
throw new UnsupportedOperationException("Unable to create "
+ "FontOutput instance for: " + mimeType);
}
try {
output = factory.createFontOutput(this);
} catch (final FontException e) {
getLogger().error("Error creating Font output for: " + mimeType
+ "\n" + e.getMessage());
}
this.fontOutputs.put(mimeType, output);