Hi all

This week  i stuck at mapping fonts for AFP output format in fop.

I don't have any experience with fonts, codepages and charactersets...
Can someone please explain me, how to map a font in the fop.xconf for AFP 
format?

Following is a part of the config I am playing with:

<font>
<afp-font name="ocrb10" type="raster" codepage="T1E00877" encoding="Cp500">
<afp-raster-font size="6" characterset="C0N20060" base14-font="TimesRoman"/>
<afp-raster-font size="7" characterset="C0N20070" base14-font="TimesRoman"/>
<afp-raster-font size="8" characterset="C0N20080" base14-font="TimesRoman"/>
<afp-raster-font size="9" characterset="C0N20090" base14-font="TimesRoman"/>
<afp-raster-font size="10" characterset="C0N20000" base14-font="TimesRoman"/>
<afp-raster-font size="11" characterset="C0N200A0" base14-font="TimesRoman"/>
<afp-raster-font size="12" characterset="C0N200B0" base14-font="TimesRoman"/>
<afp-raster-font size="14" characterset="C0N200D0" base14-font="TimesRoman"/>
<afp-raster-font size="16" characterset="C0N200F0" base14-font="TimesRoman"/>
<afp-raster-font size="18" characterset="C0N200H0" base14-font="TimesRoman"/>
<afp-raster-font size="20" characterset="C0N200J0" base14-font="TimesRoman"/>
<afp-raster-font size="24" characterset="C0N200N0" base14-font="TimesRoman"/>
<afp-raster-font size="30" characterset="C0N200T0" base14-font="TimesRoman"/>
<afp-raster-font size="36" characterset="C0N200Z0" base14-font="TimesRoman"/>
</afp-font>
<font-triplet name="ocrb10" style="normal" weight="normal"/>
<font-triplet name="ocrb" style="normal" weight="normal"/>
</font>

-> This doesn't really works :)

The name of the codepage 'T1E00877' I'm using here I have found on an IBM 
Documentation:
http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=877/ENUSZP02-0594&appname=printers

I'm absolutely unsure how to continue with this.
Can I map OCR-B as a raster font? Is it a raster font?
How do I find the correct character set? Is 'T1E00877' the correct codepage?
I'm using the OCR font in 3 sizes: 9.5pt, 10pt and 11pt.

Please, it's very difficult to find information about this topic. Hundreds of 
documents but I found anything helpful.

I would really appreciate to get a solution for this.
And much better if I understand how font mapping really works. :)

Regars
Peter

Reply via email to