| Modifier and Type | Field and Description |
|---|---|
| protected final PDFont |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: the validation result.Check the content of the CIDSystemInfo dictionary. |
| protected void | |
| protected void | checkEncoding()
Overrides org. Check the CMap entry. |
| protected void | |
| private void | compareCIDSystemInfo(COSDictionary cmap)
The CIDSystemInfo must have the same Registry and Ordering for CMap and CIDFont. |
| protected FontValidator | |
| protected FontValidator | Returns: a CIDType2 tont font validator.a CIDType2 font dictionary. fDict)Create the validation object for CIDType2 Font |
| protected FontValidator | |
| private void | processCMapAsStream(COSStream
the cmap stream. aCMap)This method checks mandatory fields of the CMap stream. |
| protected void | |
| public void |
| font | back to summary |
|---|---|
| protected final PDFont font | |
| Type0FontValidator | back to summary |
|---|---|
| public Type0FontValidator(PreflightContext context, PDFont font) | |
| checkCIDSystemInfo | back to summary |
|---|---|
| protected boolean checkCIDSystemInfo(COSDictionary cidSysInfo) Check the content of the CIDSystemInfo dictionary. A CIDSystemInfo dictionary must contain :
| |
| checkCMapEncoding | back to summary |
|---|---|
| protected void checkCMapEncoding(COSBase encoding) | |
| checkEncoding | back to summary |
|---|---|
| protected void checkEncoding() Overrides org. Check the CMap entry. The CMap entry must be a dictionary in a PDF/A. This entry can be a String only if the String value is Identity-H or Identity-V
| |
| checkMandatoryFields | back to summary |
|---|---|
| protected void checkMandatoryFields() This methods extracts from the Font dictionary all mandatory fields. If a mandatory field is missing, the list of ValidationError in the FontContainer is updated. | |
| compareCIDSystemInfo | back to summary |
|---|---|
| private void compareCIDSystemInfo(COSDictionary cmap) The CIDSystemInfo must have the same Registry and Ordering for CMap and CIDFont. This control is useless if CMap is Identity-H or Identity-V so this method is called by the checkCMap method. | |
| createCIDType0FontValidator | back to summary |
|---|---|
| protected FontValidator Create the validation object for CIDType0 Font | |
| createCIDType2FontValidator | back to summary |
|---|---|
| protected FontValidator Create the validation object for CIDType2 Font
| |
| createDescendantValidator | back to summary |
|---|---|
| protected FontValidator | |
| processCMapAsStream | back to summary |
|---|---|
| private void processCMapAsStream(COSStream aCMap) This method checks mandatory fields of the CMap stream. This method also checks if the CMap stream is damaged using the CMapParser of the fontbox api. The standard information of a stream element will be checked by the StreamValidationProcess.
| |
| processDescendantFont | back to summary |
|---|---|
| protected void processDescendantFont() throws ValidationException Extract the single CIDFont from the descendant array. Create a FontValidator for this CIDFont and launch its validation.
| |
| validate | back to summary |
|---|---|
| public void validate() throws ValidationException Implements abstract org.
| |