DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31213>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31213 [PATCH] AFP Renderer ------- Additional Comments From [EMAIL PROTECTED] 2004-09-14 07:39 ------- 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.