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.rendering | |
org.apache.pdfbox.text |
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.
|
PDFont |
ResourceCache.getFont(COSObject indirect)
Returns the font resource for the given indirect object, if it is in the cache.
|
PDFont |
DefaultResourceCache.getFont(COSObject indirect) |
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 |
ResourceCache.put(COSObject indirect,
PDFont font)
Puts the given indirect font resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDFont font) |
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 | 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.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.