| Package | Description |
|---|---|
| de.intarsys.pdf.content |
The "content" package contains functionality to work on PDF content streams.
|
| de.intarsys.pdf.content.common |
Some common implementations on PDF content stream.
|
| de.intarsys.pdf.content.text | |
| de.intarsys.pdf.font |
The font part of the PDF is quite large for itself, so it is extracted to a
package of its own.
|
| de.intarsys.pdf.font.outlet |
This package summarizes the handling of fonts.
|
| de.intarsys.pdf.pd |
The higher level building blocks of a PDF document.
|
| Modifier and Type | Field and Description |
|---|---|
PDFont |
TextState.font
the PDFont to use for this text piece
initial value: undefined
|
| Modifier and Type | Method and Description |
|---|---|
void |
ICSDevice.textSetFont(COSName resourceName,
PDFont font,
float size)
Set the current font and size.
|
void |
CSPathFilter.textSetFont(COSName resourceName,
PDFont font,
float size) |
void |
CSImageFilter.textSetFont(COSName resourceName,
PDFont font,
float size) |
void |
CSDeviceFilter.textSetFont(COSName resourceName,
PDFont font,
float size) |
void |
CSDeviceAdapter.textSetFont(COSName name,
PDFont font,
float size) |
| Modifier and Type | Method and Description |
|---|---|
void |
CSCreator.textSetFont(COSName name,
PDFont font,
float size) |
| Modifier and Type | Method and Description |
|---|---|
void |
CSTextSearcher.textSetFont(COSName name,
PDFont font,
float size) |
void |
CSTextExtractor.textSetFont(COSName name,
PDFont font,
float size) |
| Modifier and Type | Class and Description |
|---|---|
class |
CIDFont
A CID indexed font.
|
class |
CIDFontType0
A Type 1 based CID font.
|
class |
CIDFontType2
A TrueType based CID font.
|
class |
PDFontAny |
class |
PDFontMMType1
The implementation of a multiple master type 1 font.
|
class |
PDFontTrueType
basic implementation for true type support
todo 2 review initialization (sequence problems)
|
class |
PDFontType0
A composite (Type 0) font.
|
class |
PDFontType1
basic implementation for type 1 support
|
class |
PDFontType3 |
class |
PDSingleByteFont
A common superclass for the single byte encoded font flavors.
|
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
PDFontTools.createBuiltinFont(String name)
Create a well known Type1 font.
|
PDFont |
PDGlyphs.getFont() |
static PDFont |
PDFontTools.getFont(PDDocument document,
PDResources resources,
COSName name)
The font
name, looked up in resources. |
static PDFont |
PDFontTools.getFont(PDResources resources,
COSName name)
The font
name, looked up in resources. |
static PDFont |
PDFontTools.getType0Font(PDFont font)
"Scale up"
font to a multibyte font. |
| Modifier and Type | Method and Description |
|---|---|
static Encoding |
DifferenceEncoding.create(COSDictionary dict,
PDFont font)
Create the difference encoding from the values defined in the
dict. |
static float |
PDFontTools.getGlyphHeight(PDFont font)
The font height in user space coordinates.
|
static float |
PDFontTools.getGlyphHeightScaled(PDFont font,
float size)
The scaled font height in user space coordinates.
|
static int |
PDFontTools.getGlyphWidthEncoded(PDFont font,
byte[] codepoints,
int offset,
int length)
The sum of the length of all glyphs referenced by
length
bytes from codepoints starting at offset. |
static float |
PDFontTools.getGlyphWidthEncodedScaled(PDFont font,
float size,
byte[] codepoints,
int offset,
int length)
The scaled sum of the length of all glyphs referenced by
length bytes from codepoints starting at
offset. |
static PDFont |
PDFontTools.getType0Font(PDFont font)
"Scale up"
font to a multibyte font. |
| Constructor and Description |
|---|
PDGlyphs(PDFont font,
int codepoint) |
| Modifier and Type | Method and Description |
|---|---|
PDFont |
NullFontFactory.getBoldFlavor(PDFont font) |
PDFont |
IFontFactory.getBoldFlavor(PDFont font)
A font based on
font, but with "bold" style. |
PDFont |
NullFontFactory.getFont(IFontQuery query) |
PDFont |
IFontFactory.getFont(IFontQuery query)
A font satisfying the conditions defined in
query. |
PDFont |
NullFontFactory.getItalicFlavor(PDFont font) |
PDFont |
IFontFactory.getItalicFlavor(PDFont font)
A font based on
font, but with "italic" style. |
PDFont |
NullFontFactory.getRegularFlavor(PDFont font) |
PDFont |
IFontFactory.getRegularFlavor(PDFont font)
A font based on
font, but with "regular" style. |
| Modifier and Type | Method and Description |
|---|---|
PDFont |
NullFontFactory.getBoldFlavor(PDFont font) |
PDFont |
IFontFactory.getBoldFlavor(PDFont font)
A font based on
font, but with "bold" style. |
PDFont |
NullFontFactory.getItalicFlavor(PDFont font) |
PDFont |
IFontFactory.getItalicFlavor(PDFont font)
A font based on
font, but with "italic" style. |
PDFont |
NullFontFactory.getRegularFlavor(PDFont font) |
PDFont |
IFontFactory.getRegularFlavor(PDFont font)
A font based on
font, but with "regular" style. |
void |
NullFontFactory.registerFont(PDFont font) |
void |
IFontFactory.registerFont(PDFont font)
Register a new font available for public use.
|
| Constructor and Description |
|---|
FontQuery(PDFont baseFont)
Create a new
IFontQuery based on another PDFont. |
| Modifier and Type | Method and Description |
|---|---|
PDFont |
PDAcroFormNode.getDefaultAppearanceFont()
The font object defined by the default appearance.
|
PDFont |
DefaultAppearance.getFont() |
PDFont |
PDResources.getFontResource(COSName name)
Return a named font resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDResources.addFontResource(COSName name,
PDFont font) |
COSName |
PDResources.createFontResource(PDFont font)
Return the name of the font resource within this resource dictionary.
|
void |
PDAcroFormNode.setDefaultAppearanceFont(PDFont font)
Set the font to be used as the default font in variable text fields.
|
void |
DefaultAppearance.setFont(PDFont font) |
void |
DefaultAppearance.DefaultAppearanceDevice.textSetFont(COSName name,
PDFont paramFont,
float size) |
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.