Package | Description |
---|---|
org.apache.fop.area.inline |
FOP's area tree: inline-level areas
|
org.apache.fop.fo.properties |
Classes representing the various property types as well as supporting data structures for the FO tree.
|
org.apache.fop.fonts |
Classes for font handling.
|
org.apache.fop.layoutmgr |
FOP's layout engine.
|
org.apache.fop.layoutmgr.inline |
Layout managers for inline formatting objects and line building.
|
org.apache.fop.render |
Generic renderer interface.
|
org.apache.fop.render.java2d |
Java2D Renderer which paints rendered pages on Graphics2D instances.
|
org.apache.fop.render.pdf |
PDF Renderer
|
org.apache.fop.render.ps |
PostScript Renderer
|
org.apache.fop.svg |
Classes that add SVG support to FOP and SVG->PDF conversion for Batik.
|
org.apache.fop.traits |
Trait classes and other supporting data structures.
|
Constructor and Description |
---|
UnresolvedPageNumber(java.lang.String id,
Font f)
Create a new unresolved page number.
|
UnresolvedPageNumber(java.lang.String id,
Font f,
boolean type)
Create a new unresolved page number.
|
Modifier and Type | Method and Description |
---|---|
char |
CommonHyphenation.getHyphChar(Font font)
Returns the effective hyphenation character for a font.
|
int |
CommonHyphenation.getHyphIPD(Font font)
Returns the IPD for the hyphenation character for a font.
|
Modifier and Type | Method and Description |
---|---|
Font |
FontInfo.getFontInstance(FontTriplet triplet,
int fontSize)
Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.
|
Modifier and Type | Method and Description |
---|---|
static void |
TraitSetter.addFontTraits(Area area,
Font font)
Adds font traits to an area
|
Modifier and Type | Field and Description |
---|---|
protected Font |
AbstractPageNumberCitationLayoutManager.font
Font for the page-number-citation
|
Modifier and Type | Method and Description |
---|---|
static ScaledBaselineTable |
ScaledBaselineTableFactory.makeFontScaledBaselineTable(Font font,
int writingMode)
Creates a new instance of BasicScaledBaselineTable for the given
font and writingmode.
|
static ScaledBaselineTable |
ScaledBaselineTableFactory.makeFontScaledBaselineTable(Font font,
int dominantBaselineIdentifier,
int writingMode)
Creates a new instance of BasicScaledBaselineTable for the given
font, baseline and writingmode.
|
Constructor and Description |
---|
AlignmentContext(Font font,
int lineHeight,
int writingMode)
Creates a new instance of AlignmentContext based simply
on the font and the writing mode.
|
AlignmentContext(Font font,
int lineHeight,
Length alignmentAdjust,
int alignmentBaseline,
Length baselineShift,
int dominantBaseline,
AlignmentContext parentAlignmentContext)
Creates a new instance of AlignmentContext
|
Modifier and Type | Method and Description |
---|---|
protected Font |
PrintRenderer.getFontFromArea(Area area)
Returns a Font object constructed based on the font traits in an area
|
Modifier and Type | Method and Description |
---|---|
static void |
Java2DRenderer.renderText(TextArea text,
java.awt.Graphics2D g2d,
Font font)
Renders a TextArea to a Graphics2D instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFRenderer.escapeText(java.lang.String s,
int[] letterAdjust,
Font fs,
AbstractTextArea parentArea,
boolean useMultiByte,
java.lang.StringBuffer pdf)
Escapes text according to PDF rules.
|
Modifier and Type | Field and Description |
---|---|
protected Font |
NativeTextHandler.font
Currently valid Font
|
protected Font |
NativeTextHandler.overrideFont
Overriding FontState
|
Modifier and Type | Method and Description |
---|---|
protected void |
PSTextPainter.drawPrimitiveString(java.awt.Graphics2D g2d,
java.awt.geom.Point2D loc,
Font font,
java.lang.String txt,
float tx) |
void |
NativeTextHandler.setOverrideFont(Font override)
Sets the overriding font.
|
Modifier and Type | Field and Description |
---|---|
protected Font |
PDFGraphics2D.ovFontState
The override font state used when drawing text and the font cannot be
set using java fonts.
|
Modifier and Type | Method and Description |
---|---|
Font |
PDFTextUtil.getCurrentFont()
Returns the current font in use.
|
protected Font |
PDFGraphics2D.getInternalFontForAWTFont(java.awt.Font awtFont)
Returns a suitable internal font given an AWT Font instance.
|
Font |
PDFTextUtil.selectFontForChar(char ch)
Selects a font from the font list suitable to display the given character.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFTextUtil.setCurrentFont(Font f)
Sets the current font.
|
void |
PDFTextUtil.setFont(Font font)
Sets the current font for the text object.
|
void |
PDFTextUtil.setFonts(Font[] fonts)
Sets the current fonts for the text object.
|
void |
PDFGraphics2D.setOverrideFontState(Font infont)
Set the override font state for drawing text.
|
protected void |
PDFGraphics2D.updateCurrentFont(Font font)
Updates the currently selected font.
|
void |
PDFTextUtil.writeTf(Font f)
Writes a "Tf" command, setting a new current font.
|
Modifier and Type | Method and Description |
---|---|
static SpaceVal |
SpaceVal.makeWordSpacing(Property wordSpacing,
SpaceVal letterSpacing,
Font fs) |
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.