}
buffer = Utf16LE.getInstance().decodeString(str, buffer);
final int[] data = buffer.getBuffer();
final RenderableTextFactory textFactory = getCurrentTextFactory();
return textFactory.createText(data, 0, buffer.getLength(), context);
}
private RenderableReplacedContent createImage(final Image image,
final ResourceKey source,
final LayoutContext context)