Hi Jonathan,
I took a stab at applying a patch by Richard Wheeldon some time ago now
but the solution was not complete (see
https://issues.apache.org/bugzilla/show_bug.cgi?id=42307).
Without spending too much time looking into this, I am of the impression
that there is not a singular place where you could implement this in the
current architecture as each painter and renderer provides its own
implementation for text handling.
From what I can see, it would currently involve changes to :-
1. renderText(TextArea text, Graphics2D g2d, Font font) method in
Java2DRenderer.
2. The renderText() methods in all the Renderer implementations.
3. The drawText() method in each Painter implementation.
The situation appears to be far from ideal. I'm sorry but I do not have
any time to help you with this due to other off-project development
commitments that I have at the moment. Hope this information is of help
to you.
Best of luck,
Adrian Cumiskey.
Jonathan Levinson wrote:
Is there a way the software team at InterSystems could work with you
(the FOP team) to add support for Arabic to FOP?
We do have in-house expertise on Arabic.
We are not expert in FOP internals and would need help knowing what
areas of the code need to be worked on.
I’ve been trying to send you an e-mail about the issues involved but it
is being rejected as spam.
Best Regards,
Jonathan Levinson