Package | Description |
---|---|
org.apache.fop.afp |
Contains an AFP library.
|
org.apache.fop.afp.svg |
Contains a collection of AFP specific Batik bridges.
|
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.ps |
PostScript Renderer
|
org.apache.fop.svg |
Classes that add SVG support to FOP and SVG->PDF conversion for Batik.
|
org.apache.fop.svg.font | |
org.apache.fop.traits |
Trait classes and other supporting data structures.
|
Modifier and Type | Method and Description |
---|---|
void |
DataStream.createText(AFPTextDataInfo textDataInfo,
int letterSpacing,
int wordSpacing,
Font font,
CharacterSet charSet)
Helper method to create text on the current page, this method delegates
to the current presentation text object in order to construct the text.
|
Modifier and Type | Field and Description |
---|---|
protected Font |
AFPTextHandler.overrideFont
Overriding FontState
|
Modifier and Type | Method and Description |
---|---|
void |
AFPTextHandler.setOverrideFont(Font overrideFont)
Sets the overriding font.
|
Constructor and Description |
---|
UnresolvedPageNumber(String id,
Font f)
Create a new unresolved page number.
|
UnresolvedPageNumber(String id,
Font f,
boolean type)
Create a new unresolved page number.
|
Modifier and Type | Method and Description |
---|---|
Character |
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 | Field and Description |
---|---|
Font |
GlyphMapping.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.
|
Font |
FontInfo.getFontInstanceForAWTFont(Font awtFont)
Returns a suitable internal font given an AWT Font instance.
|
static Font |
FontSelector.selectFontForCharacter(Character fobj,
PercentBaseContext context)
Selects a font which is able to display the given character.
|
static Font |
FontSelector.selectFontForCharacterInText(char c,
FOText text,
PercentBaseContext context)
Selects a font which is able to display the given character.
|
static Font |
FontSelector.selectFontForCharactersInText(CharSequence charSeq,
int firstIndex,
int breakIndex,
FOText text,
PercentBaseContext context)
Selects a font which is able to display the most of the given characters.
|
Modifier and Type | Method and Description |
---|---|
static GlyphMapping |
GlyphMapping.doGlyphMapping(TextFragment text,
int startIndex,
int endIndex,
Font font,
MinOptMax letterSpaceIPD,
MinOptMax[] letterSpaceAdjustArray,
char precedingChar,
char breakOpportunityChar,
boolean endsWithHyphen,
int level,
boolean dontOptimizeForIdentityMapping,
boolean retainAssociations,
boolean retainControls) |
Constructor and Description |
---|
GlyphMapping(int startIndex,
int endIndex,
int wordSpaceCount,
int letterSpaceCount,
MinOptMax areaIPD,
boolean isHyphenated,
boolean isSpace,
boolean breakOppAfter,
Font font,
int level,
int[][] gposAdjustments) |
GlyphMapping(int startIndex,
int endIndex,
int wordSpaceCount,
int letterSpaceCount,
MinOptMax areaIPD,
boolean isHyphenated,
boolean isSpace,
boolean breakOppAfter,
Font font,
int level,
int[][] gposAdjustments,
String mapping,
List associations) |
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 |
---|---|
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 GlyphVector |
Java2DUtil.createGlyphVector(String text,
Graphics2D g2d,
Font font,
FontInfo fontInfo)
Creates an instance of
GlyphVector that correctly handle surrogate pairs and advanced font features such
as GSUB/GPOS/GDEF. |
static void |
Java2DRenderer.renderText(TextArea text,
Graphics2D g2d,
Font font,
FontInfo fontInfo)
Renders a TextArea to a Graphics2D instance.
|
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 |
---|---|
void |
NativeTextHandler.setOverrideFont(Font override)
Sets the overriding font.
|
Modifier and Type | Field and Description |
---|---|
protected Font |
NativeTextPainter.font |
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 |
---|---|
static Font[] |
ACIUtils.findFontsForBatikACI(AttributedCharacterIterator aci,
FontInfo fontInfo)
Tries to find matching fonts in FOP's
FontInfo instance for fonts used by
Apache Batik. |
Font |
PDFTextUtil.getCurrentFont()
Returns the current font in use.
|
protected Font |
PDFGraphics2D.getInternalFontForAWTFont(Font awtFont)
Deprecated.
use FontInfo.getFontInstanceForAWTFont(java.awt.Font awtFont) instead
|
Modifier and Type | Method and Description |
---|---|
void |
PDFTextUtil.setCurrentFont(Font f)
Sets the current font.
|
void |
FOPTextHandler.setOverrideFont(Font font) |
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 |
---|---|
Font |
FOPGVTFont.getFont() |
Constructor and Description |
---|
FOPGVTFont(Font font,
org.apache.batik.gvt.font.GVTFontFamily fontFamily) |
Modifier and Type | Method and Description |
---|---|
static SpaceVal |
SpaceVal.makeWordSpacing(Property wordSpacing,
SpaceVal letterSpacing,
Font fs) |
Copyright © 2025 Apache Software Foundation. All rights reserved.