https://issues.apache.org/bugzilla/show_bug.cgi?id=51209

--- Comment #1 from Mehdi Houshmand <med1...@gmail.com> 2011-05-17 13:07:49 UTC 
---
To add to this, if you wish to produce the correctly rendered AFP, you can
change the EBCDIC encoding scheme to "CP500". This can be done by changing
o.a.f.afp.goca.GraphicsCharacterString.getStringAsBytes() from:


    private byte[] getStringAsBytes() throws UnsupportedEncodingException {
        return str.getBytes(AFPConstants.EBCIDIC_ENCODING);
    }

To:

    private byte[] getStringAsBytes() throws UnsupportedEncodingException {
        return str.getBytes("Cp500");
    }

This will provide the correct encoding scheme for Helvetica ONLY and render the
FO properly. Though obviously this doesn't address the larger issue already
described.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to