| Package | Description |
|---|---|
| org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
| org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
| org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
| org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
| org.apache.pdfbox.pdmodel.graphics.state |
This package deals with graphics states within the PDF document.
|
| org.apache.pdfbox.preflight.font | |
| org.apache.pdfbox.preflight.font.container | |
| org.apache.pdfbox.preflight.process.reflect | |
| org.apache.pdfbox.rendering | |
| org.apache.pdfbox.text | |
| org.verapdf.model.factory.font | |
| org.verapdf.model.impl.pb.operator.textshow | |
| org.verapdf.model.tools | |
| org.verapdf.model.tools.resources |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PDFStreamEngine.showFontGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses,
the default implementation does nothing.
|
protected void |
PDFStreamEngine.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses,
the default implementation does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
PDFont |
PDResources.getFont(COSName name)
Returns the font resource with the given name, or null if none exists.
|
| Modifier and Type | Method and Description |
|---|---|
COSName |
PDResources.add(PDFont font)
Adds the given font to the resources of the current page and returns the name for the
new resources.
|
void |
PDResources.put(COSName name,
PDFont font)
Sets the font resource with the given name.
|
void |
PDPageContentStream.setFont(PDFont font,
float fontSize)
Set the font and font size to draw text with.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PDMMType1Font
Type 1 Multiple Master Font.
|
class |
PDSimpleFont
A simple font.
|
class |
PDTrueTypeFont
TrueType font.
|
class |
PDType0Font
A Composite (Type 0) font.
|
class |
PDType1CFont
Type 1-equivalent CFF font.
|
class |
PDType1Font
A PostScript Type 1 Font.
|
class |
PDType3Font
A PostScript Type 3 Font.
|
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
PDFontFactory.createDefaultFont()
Create a default font.
|
static PDFont |
PDFontFactory.createFont(COSDictionary dictionary)
Creates a new PDFont instance with the appropriate subclass.
|
| Modifier and Type | Method and Description |
|---|---|
PDFont |
PDFontSetting.getFont()
This will get the font for this font setting.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDFontSetting.setFont(PDFont font)
This will set the font for this font setting.
|
| Modifier and Type | Method and Description |
|---|---|
PDFont |
PDTextState.getFont()
Get the value of the font.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDTextState.setFont(PDFont value)
Set the value of the font.
|
| Modifier and Type | Field and Description |
|---|---|
protected PDFont |
Type0FontValidator.font |
| Modifier and Type | Method and Description |
|---|---|
List<Float> |
Type3FontValidator.getWidths(PDFont font) |
| Constructor and Description |
|---|
Type0FontValidator(PreflightContext context,
PDFont font) |
| Constructor and Description |
|---|
Type0Container(PDFont font) |
| Modifier and Type | Method and Description |
|---|---|
protected FontValidator<? extends FontContainer> |
FontValidationProcess.getFontValidator(PreflightContext context,
PDFont font)
Create the right "Validator" object for the given font type
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PageDrawer.showFontGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement) |
| Modifier and Type | Method and Description |
|---|---|
PDFont |
TextPosition.getFont()
This will get the font for the text being drawn.
|
| Constructor and Description |
|---|
TextPosition(int pageRotation,
float pageWidth,
float pageHeight,
Matrix textMatrix,
float endX,
float endY,
float maxHeight,
float individualWidth,
float spaceWidth,
String unicode,
int[] charCodes,
PDFont font,
float fontSize,
int fontSizeInPt)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
FontFactory.parseFont(PDFont pdfboxFont,
PDDocument document,
PDFAFlavour flavour) |
static PDFont |
FontFactory.parseFont(PDFont pdfboxFont,
RenderingMode renderingMode,
PDInheritableResources resources,
PDDocument document,
PDFAFlavour flavour)
Transform Apache PDFBox font representation to
VeraPDF font representation
|
| Constructor and Description |
|---|
PBCIDGlyph(Boolean glyphPresent,
Boolean widthsConsistent,
PDFont font,
int glyphCode,
int CID,
int renderingMode) |
PBGlyph(Boolean glyphPresent,
Boolean widthsConsistent,
PDFont font,
int glyphCode,
int renderingMode) |
PBGlyph(Boolean glyphPresent,
Boolean widthsConsistent,
PDFont font,
int glyphCode,
String type,
int renderingMode) |
| Modifier and Type | Method and Description |
|---|---|
static FontContainer<? extends PDFontLike> |
FontHelper.getFontContainer(PDFont font)
Transform Apache PDFBox font to Apache Preflight
font container representation
|
| Modifier and Type | Method and Description |
|---|---|
PDFont |
PDInheritableResources.getFont(COSName name) |
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.