fop 1.1

## Uses of Class
org.apache.fop.fonts.Font

Packages that use Font
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.traits: Trait classes and other supporting data structures.

Uses of Font in org.apache.fop.afp

Methods in org.apache.fop.afp with parameters of type Font
`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.

Uses of Font in org.apache.fop.afp.svg

Fields in org.apache.fop.afp.svg declared as Font
`protected Font` `AFPTextHandler.overrideFont` Overriding FontState

Methods in org.apache.fop.afp.svg with parameters of type Font
`void` `AFPTextHandler.setOverrideFont(Font overrideFont)` Sets the overriding font.

Uses of Font in org.apache.fop.area.inline

Constructors in org.apache.fop.area.inline with parameters of type Font
`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.

Uses of Font in org.apache.fop.fo.properties

Methods in org.apache.fop.fo.properties with parameters of type Font
`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.

Uses of Font in org.apache.fop.fonts

Methods in org.apache.fop.fonts that return Font
`Font` `FontInfo.getFontInstance(FontTriplet triplet, int fontSize)` Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.
`Font` `FontInfo.getFontInstanceForAWTFont(java.awt.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(java.lang.CharSequence charSeq, int firstIndex, int breakIndex, FOText text, PercentBaseContext context)` Selects a font which is able to display the most of the given characters.

Uses of Font in org.apache.fop.layoutmgr

Methods in org.apache.fop.layoutmgr with parameters of type Font
`static void` `TraitSetter.addFontTraits(Area area, Font font)` Adds font traits to an area

Uses of Font in org.apache.fop.layoutmgr.inline

Fields in org.apache.fop.layoutmgr.inline declared as Font
`protected Font` `AbstractPageNumberCitationLayoutManager.font` Font for the page-number-citation

Uses of Font in org.apache.fop.render

Methods in org.apache.fop.render that return Font
`protected Font` `PrintRenderer.getFontFromArea(Area area)` Returns a Font object constructed based on the font traits in an area

Uses of Font in org.apache.fop.render.java2d

Methods in org.apache.fop.render.java2d with parameters of type Font
`static void` `Java2DRenderer.renderText(TextArea text, java.awt.Graphics2D g2d, Font font)` Renders a TextArea to a Graphics2D instance.

Uses of Font in org.apache.fop.render.ps

Fields in org.apache.fop.render.ps declared as Font
`protected Font` `NativeTextHandler.font` Currently valid Font
`protected Font` `NativeTextHandler.overrideFont` Overriding FontState

Methods in org.apache.fop.render.ps with parameters of type Font
`void` `NativeTextHandler.setOverrideFont(Font override)` Sets the overriding font.

Uses of Font in org.apache.fop.svg

Fields in org.apache.fop.svg declared as Font
`protected Font` `PDFGraphics2D.ovFontState` The override font state used when drawing text and the font cannot be set using java fonts.

Methods in org.apache.fop.svg that return Font
`protected Font[]` `NativeTextPainter.findFonts(java.text.AttributedCharacterIterator aci)` Finds an array of suitable fonts for a given AttributedCharacterIterator.
`static Font[]` `ACIUtils.findFontsForBatikACI(java.text.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(java.awt.Font awtFont)` Deprecated. use FontInfo.getFontInstanceForAWTFont(java.awt.Font awtFont) instead
`Font` `PDFTextUtil.selectFontForChar(char ch)` Selects a font from the font list suitable to display the given character.

Methods in org.apache.fop.svg with parameters of type Font
`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` `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.

Uses of Font in org.apache.fop.traits

Methods in org.apache.fop.traits with parameters of type Font
`static SpaceVal` `SpaceVal.makeWordSpacing(Property wordSpacing, SpaceVal letterSpacing, Font fs)`

fop 1.1

Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.