| Package | Description |
|---|---|
| org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
| org.apache.pdfbox.preflight.font.descriptor | |
| org.apache.pdfbox.preflight.font.util |
| Modifier and Type | Method and Description |
|---|---|
PDFontDescriptor |
PDType0Font.getFontDescriptor() |
PDFontDescriptor |
PDFontLike.getFontDescriptor()
Returns the font descriptor, may be null.
|
PDFontDescriptor |
PDFont.getFontDescriptor() |
PDFontDescriptor |
PDCIDFont.getFontDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PDFont.setFontDescriptor(PDFontDescriptor fontDescriptor)
Sets the font descriptor when embedding a font.
|
| Modifier and Type | Field and Description |
|---|---|
protected PDFontDescriptor |
FontDescriptorHelper.fontDescriptor |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CIDType2DescriptorHelper.checkCIDSet(PDFontDescriptor pfDescriptor)
If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.
|
protected void |
CIDType0DescriptorHelper.checkCIDSet(PDFontDescriptor pfDescriptor)
If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.
|
protected void |
FontDescriptorHelper.checkFontFileMetaData(PDFontDescriptor fontDescriptor,
PDStream fontFile)
Type0, Type1 and TrueType FontValidator call this method to check the FontFile meta data.
|
PDStream |
Type1DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) |
PDStream |
TrueTypeDescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) |
abstract PDStream |
FontDescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) |
PDStream |
CIDType2DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) |
PDStream |
CIDType0DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) |
protected boolean |
FontDescriptorHelper.fontFileNotEmbedded(PDFontDescriptor fontDescriptor) |
protected boolean |
FontDescriptorHelper.hasOnlyOneFontFile(PDFontDescriptor fontDescriptor)
Return true if the FontDescriptor has only one FontFile entry.
|
protected void |
Type1DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor,
PDStream fontFile) |
protected void |
TrueTypeDescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor,
PDStream fontFile) |
protected abstract void |
FontDescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor,
PDStream fontFile) |
protected void |
CIDType2DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor,
PDStream fontFile) |
protected void |
CIDType0DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor,
PDStream fontFile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FontMetaDataValidation.analyseFontName(org.apache.xmpbox.XMPMetadata metadata,
PDFontDescriptor fontDesc,
List<ValidationResult.ValidationError> ve)
Value of the dc:title must be the same as the FontName in the font descriptor.
|
boolean |
FontMetaDataValidation.analyseRights(org.apache.xmpbox.XMPMetadata metadata,
PDFontDescriptor fontDesc,
List<ValidationResult.ValidationError> ve)
If XMP MetaData are present, they must have followings information :
dc:rights
Marked (with the value true)
Owner
UsageTerms
|
List<ValidationResult.ValidationError> |
FontMetaDataValidation.validatePDFAIdentifer(org.apache.xmpbox.XMPMetadata metadata,
PDFontDescriptor fontDesc) |
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.