{
return new Type1FontValidator(context, (PDSimpleFont)font);
}
else if (FONT_DICTIONARY_VALUE_TYPE3.equals(subtype))
{
return new Type3FontValidator(context, (PDType3Font)font);
}
else if (FONT_DICTIONARY_VALUE_COMPOSITE.equals(subtype))
{
return new Type0FontValidator(context, font);
}