com.pdfunit.validators

## Class AllFontsValidator

- java.lang.Object
- - com.pdfunit.validators.AbstractValidator
  - - com.pdfunit.validators.AllFontsValidator

-     @DoNotObfuscate
      public final class AllFontsValidator
      extends com.pdfunit.validators.AbstractValidator

  Validator for fonts in PDF documents.
  Since:
    2016.05
  Author:
    Carsten Siedentop, March 2016

- - ### Field Summary

    - ### Fields inherited from class com.pdfunit.validators.AbstractValidator

      `testDocument`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AllFontsValidator(DocumentValidator documentValidator)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AllFontsValidator` | `hasFonts()` This method does what the name suggests.
    `AllFontsValidator` | `ofThisTypeOnly(FontType expectedFontType)` Validating whether the current PDF document has fonts of only the font type according to the parameter.

    - ### Methods inherited from class com.pdfunit.validators.AbstractValidator

      `closeDocument, equals, getDocument, hashCode`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AllFontsValidator

          public AllFontsValidator(DocumentValidator documentValidator)

  - ### Method Detail

    - #### hasFonts

          public AllFontsValidator hasFonts()

      This method does what the name suggests.

    - #### ofThisTypeOnly

          @Guarded
          public AllFontsValidator ofThisTypeOnly(FontType expectedFontType)

      Validating whether the current PDF document has fonts of only the font type according to the parameter.

Copyright (C) PDFUnit.com. See here for license.