aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/trunk/configuration.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-05-31 21:17:18 +0000
committerJeremias Maerki <jeremias@apache.org>2006-05-31 21:17:18 +0000
commite189115a925441c612694e3820bdc24bede5aa0d (patch)
tree8fd2c3feb4032c948eac1958f914cb89a61e9440 /src/documentation/content/xdocs/trunk/configuration.xml
parentd067157a185e8e1ddc77cca58cc37d251bf1effc (diff)
downloadxmlgraphics-fop-e189115a925441c612694e3820bdc24bede5aa0d.tar.gz
xmlgraphics-fop-e189115a925441c612694e3820bdc24bede5aa0d.zip
Improved accuracy of font size selection. The font size is not rounded down to the next integer point value anymore. (Java2D renderers profit from that one, too)
PCL Renderer: Found a use case for that Java2D ascent value (which I call MaxAscent). It is used for painting text as bitmaps and to make sure the image the text is painted on is big enough if the font ascends beyond the em box. For non-Java2D fonts, MaxAscent is the same as ascent. Added a check that lets text painting fall back to bitmaps if there are characters that are not in the ISO-8859-1 encoding. This also enables Symbol and ZapfDingbats fonts. A "text-rendering" setting allows to disable PCL text painting in case the mix of PCL and bitmap text painting should result in unwelcome output. Note: the bitmap rendering is relatively slow (many small bitmaps). In the end we might end up rendering using a BitmapRenderer and only wrapping the whole thing in PCL (much like the Windows PCL drivers do). This would be faster than creating many small bitmaps. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@410672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/trunk/configuration.xml')
-rw-r--r--src/documentation/content/xdocs/trunk/configuration.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/trunk/configuration.xml b/src/documentation/content/xdocs/trunk/configuration.xml
index a5ad45312..07691e13a 100644
--- a/src/documentation/content/xdocs/trunk/configuration.xml
+++ b/src/documentation/content/xdocs/trunk/configuration.xml
@@ -253,10 +253,11 @@
offered by Java.
</p>
<p>
- Additionally, there's one setting that controls how borders are painted.
+ Additionally, there are certain settings that control who the renderer handles various elements.
</p>
<source><![CDATA[<renderer mime="application/vnd.hp-PCL">
<rendering>quality</rendering>
+ <text-rendering>bitmap</text-rendering>
</renderer>]]></source>
<p>
The default value for the "rendering" setting is "speed" which causes borders
@@ -265,6 +266,12 @@
value to "quality" as indicated above. This will cause the borders to be painted
as bitmaps.
</p>
+ <p>
+ The default value for the "text-rendering" setting is "auto" which paints the
+ base fonts using PCL fonts. Non-base fonts are painted as bitmaps through Java2D.
+ If the mix of painting methods results in unwelcome output, you can set this
+ to "bitmap" which causes all text to be rendered as bitmaps.
+ </p>
</section>
</section>
</body>