A donation of code for an AFP Renderer.
Created attachment 12722 [details] Zip file of AFP Renderer source code
Created attachment 12723 [details] Zip source code file as binary file
AFP RENDERER READ ME ==================== In order to use the AFP Renderer please follow the instrauctions below: 1) The renderer uses the actual AFP (MODCA) font resources in order to determine the font metrics, therefore you must have access to the font files. Note that it is not possible to ship the renderer with these fonts as they are licenced by IBM (or thrid party font providers). The font files required depend on the fonts you are using but you will require the code page file and character set files. The application assumes that a code page file has a .CDP suffix and character set files have the suffix of the DPI (for example .240). 2) Define the fonts you are using in the afp-fonts.xml file an instance of this XML document may contain definitions for an arbitrary number of fonts that are available to the AFP renderer. Please see the example below which would require the following files to be available in the classpath under the installed-fonts path attribute "afp-font-resources": T1V10285.CDP (code page file) C0G21A00.240 (character set file) C0G31A00.240 (character set file) C0G41A00.240 (character set file) C0G51A00.240 (character set file) C0G21AB0.240 (character set file) C0G31AB0.240 (character set file) C0G41AB0.240 (character set file) C0G51AB0.240 (character set file) <installed-fonts path="afp-font-resources"> <afp-font id="any" codepage="T1V10285" encoding="Cp1146" dpi="240"> <pointsize id="10"> <characterset weight="normal" style="normal" font="C0G21A00"/> <characterset weight="normal" style="italic" font="C0G31A00"/> <characterset weight="bold" style="normal" font="C0G41A00"/> <characterset weight="bold" style="italic" font="C0G51A00"/> </pointsize> <pointsize id="11"> <characterset weight="normal" style="normal" font="C0G21AA0"/> <characterset weight="normal" style="italic" font="C0G31AA0"/> <characterset weight="bold" style="normal" font="C0G41AA0"/> <characterset weight="bold" style="italic" font="C0G51AA0"/> </pointsize> <pointsize id="12"> <characterset weight="normal" style="normal" font="C0G21AB0"/> <characterset weight="normal" style="italic" font="C0G31AB0"/> <characterset weight="bold" style="normal" font="C0G41AB0"/> <characterset weight="bold" style="italic" font="C0G51AB0"/> </pointsize> </afp-font> </installed-fonts> 3) You can download a free AFP viewer from: http://www.barrsystems.com/product/afpviewer/default.asp This view may also ship with some afp font resources so that you can use these for testing, your own fonts to it's resources and so use it as a complete test harness.
Created attachment 12735 [details] Fix bug with 300 dpi fonts in the AFPFontReader
Thank you! It will someday need to be converted into 1.0, but we will keep this bug open for others to see and incorporate into their 0.20.x code. Glen
From: Pete Townsend Subject: AFP Renderer on Sourceforge Date: September 29, 2004 2:54:06 AM PDT To: fop-dev@xml.apache.org Dear fop-dev, The AFP renderer has now been added to sourceforge http://afp-renderer.sourceforge.net and a release is available for download compatible with FOP 0.20.5, please could you close the patch on bugzilla 31213 (or direct them to the above link) so that people don't get hold of an out of date version. If Web Maestro Clay could add a link to the sourceforge site that would be great, and perhaps publicise to your user mailing list? There is some basic documentation which I'll continue to enhance, and I plan to migrate to the latest release when available. At that point I'll be in contact again to see if you wish to take the renderer in house. Regards, Pete.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed