* @param string
* @throws IOException
*/
public void validText(byte[] string) throws IOException {
// --- TextSize accessible through the TextState
PDTextState textState = getGraphicsState().getTextState();
final int renderingMode = textState.getRenderingMode();
final PDFont font = textState.getFont();
if (font == null) {
// ---- Unable to decode the Text without Font
throwContentStreamException("Text operator can't be process without Font", ERROR_FONTS_UNKNOWN_FONT_REF);
}