aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2011-04-22 06:43:22 +0000
committerJeremias Maerki <jeremias@apache.org>2011-04-22 06:43:22 +0000
commit3d00e4091aae4bf0a139fa96fb8c368c3ae3f606 (patch)
tree17860899152cdc702c371e867225b1ca43c4297d /src/documentation
parent5094d3ab7b04fd93b0dcd77a489c9da83db3f14f (diff)
downloadxmlgraphics-fop-3d00e4091aae4bf0a139fa96fb8c368c3ae3f606.tar.gz
xmlgraphics-fop-3d00e4091aae4bf0a139fa96fb8c368c3ae3f606.zip
AFP GOCA: Added option to disable GOCA and to control text painting inside GOCA graphics.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095874 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r--src/documentation/content/xdocs/trunk/output.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml
index ea994b521..c174bf2b5 100644
--- a/src/documentation/content/xdocs/trunk/output.xml
+++ b/src/documentation/content/xdocs/trunk/output.xml
@@ -784,6 +784,29 @@ Note that the value of the encoding attribute in the example is the double-byte
<source><![CDATA[
<images mode="b+w" bits-per-pixel="1" dithering-quality="maximum"/>]]></source>
</section>
+ <section id="afp-goca-config">
+ <title>GOCA (Vector Graphics)</title>
+ <p>
+ Not all AFP implementations support GOCA. Some also have bugs related to GOCA. Therefore,
+ it is desirable to have some control over the generation of GOCA graphics.
+ </p>
+ <p>
+ GOCA is enabled by default. You can disable GOCA entirely in which case the AFP support
+ falls back to generating bitmaps for vector graphics. Example:
+ </p>
+ <source><![CDATA[
+ <goca enabled="false"/>]]></source>
+ <p>
+ Some AFP implementations have trouble rendering text in GOCA. You can instruct the AFP
+ support to render text as shapes (i.e. use vector graphics to paint text). Example:
+ </p>
+ <source><![CDATA[
+ <goca enabled="true" text="shapes"/>]]></source>
+ <p>
+ If you disable GOCA or let text render as shapes, the size of the generated AFP usually
+ increases considerably.
+ </p>
+ </section>
<section id="afp-shading-config">
<title>Shading</title>
<p>