From: Manuel Mall Date: Tue, 2 May 2006 15:42:54 +0000 (+0000) Subject: Added initial details about the AFP renderer to the outputs document on the web site... X-Git-Tag: fop-0_93~247 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3fd99265691afe51eeccd10ecf704148eaaca669;p=xmlgraphics-fop.git Added initial details about the AFP renderer to the outputs document on the web site. This is still incomplete and some more info is to follow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398967 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 4acdec0b0..87e570174 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -388,6 +388,167 @@ out = proc.getOutputStream();]]> +
+ AFP + The AFP Renderer is a new addition (27-Apr-2006) to the sandbox and as such not yet fully tested or feature complete. +

+ The FOP AFP Renderer deals with creating documents conforming to the IBM AFP document architecture + also refered to as MO:DCA (Mixed Object Document Content Architecture). +

+
+ References + +
+
+ Limitations +

This list is most likely badly incomplete.

+
    +
  • + Clipping of text and graphics is not supported. +
  • +
  • + Only IBM outline and raster fonts and to a limited extend the original fonts built into FOP are supported. + Support for TrueType fonts may be added later. +
  • +
+
+
+ Configuration +

The AFP Renderer requires special configuration particularly related to fonts. + AFP Render configuration is done through the normal FOP configuration file. The MIME type + for the AFP Renderer is application/x-afp which means the AFP Renderer section in the FOP configuration file + looks like:

+ + + ... +]]> +

There are 3 font configuration variants supported:

+
    +
  1. IBM Raster fonts
  2. +
  3. IBM Outline fonts
  4. +
  5. FOP built-in Base14 fonts
  6. +
+

A typical raster font configuration looks like:

+ + + + + + + + + + + + + + + + + + + + + + + + ]]> +

An outline font configuration is simpler as the individual font size entries are not required. + However, the characterset definition is now required within the afp-font element.

+ + + + + + +]]> +

Experimentation has shown that the font metrics for the FOP built-in Base14 fonts are actually + very similar to some of the IBM outline and raster fonts. In cases were the IBM font files are not + available the path attribute in the afp-font element can be replaced by a base14-font attribute + giving the name of the matching Base14 font. In this case the AFP Renderer will take the + font metrics from the built-in font.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> +
+
+ Extensions +

The AFP Renderer supports the following extensions which can be embedded into the input + fo document:

+

T.B.A

+
+
MIF The MIF handler is in the sandbox and not yet functional in FOP Trunk!!! Please help us ressurrect this feature. @@ -419,10 +580,6 @@ out = proc.getOutputStream();]]> which are on our wish list. We're looking for volunteers to help us implement them.