public void validate(PreflightContext context) throws ValidationException
{
PreflightPath vPath = context.getValidationPath();
if (vPath.isEmpty() || !vPath.isExpectedType(PDFont.class))
{
throw new ValidationException("Font validation process needs at least one PDFont object");
}
PDFont font = (PDFont) vPath.peek();
FontContainer fontContainer = context.getFontContainer(font.getCOSObject());
if (fontContainer == null)