org.apache.fop.svg
Class PDFTextPainter
StrokingTextPainter
org.apache.fop.svg.PDFTextPainter
public class PDFTextPainter
extends StrokingTextPainter
Renders the attributed character iterator of a TextNode.
This class draws the text directly into the PDFGraphics2D so that
the text is not drawn using shapes which makes the PDF files larger.
If the text is simple enough to draw then it sets the font and calls
drawString. If the text is complex or the cannot be translated
into a simple drawString the StrokingTextPainter is used instead.
$Id: PDFTextPainter.java 592016 2007-11-05 14:34:18Z vhennebert $
PDFTextPainter
public PDFTextPainter(FontInfo fi)
Create a new PDF text painter with the given font information.
paintTextRuns
protected void paintTextRuns(List textRuns,
Graphics2D g2d)
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.