Oriental Characters

View: New views
4 Messages — Rating Filter:   Alert me  

Oriental Characters

by Michael Halpin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Is there a way to use oriental characters like Arabic or Hebrew in FOP?  I have tried a few tests but the PDF output just shows the characters as ####.

 

Thanks,
Michael
____________________
In the event that I am arrested for being a domestic enemy of the
state, you should know that it is not true, and I will be back in the
office just as soon as they reinstate Habeas Corpus.

 


Re: Oriental Characters

by Louis.Masters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Check this out:  http://xmlgraphics.apache.org/fop/0.94/fonts.html


"Michael Halpin" <mhalpin@...> wrote on 06/30/2008 12:46:15 PM:

> Is there a way to use oriental characters like Arabic or Hebrew in
> FOP?  I have tried a few tests but the PDF output just shows the
> characters as ####.

>  
> Thanks,
> Michael
> ____________________
> In the event that I am arrested for being a domestic enemy of the
> state, you should know that it is not true, and I will be back in the
> office just as soon as they reinstate Habeas Corpus.

>  

Re: Oriental Characters

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jun 30, 2008, at 18:46, Michael Halpin wrote:

> Is there a way to use oriental characters like Arabic or Hebrew in  
> FOP?

In theory, yes. In practice, FOP is still severely limited when it  
comes to different writing-modes (see also Bugzilla #42307, which  
attempts to fix the issue for Java2D-based renderers)

> I have tried a few tests but the PDF output just shows the  
> characters as ####.

This is most likely because you're either using one of the default  
fonts, or a custom font that simply has no glyphs for Arabic characters.

Note that the lack of support for those languages in FOP is mainly  
due to a lack of knowledge within the team. So far, we still haven't  
succeeded in attracting Java-XML-geeks who are also fluent in Arabic  
or Hebrew... Patches welcome, as well as accurate bug-reports, with  
examples and descriptions of how exactly FOP is supposed to behave.


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Parent Message unknown RE: Oriental Characters

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael,

To complete what Andreas said, I've tried the bugzilla patch that permit to use right-to-left writing mode, but character shaping (i.e. inner word ligatures) is still not supported, witch is required for Arabic (I don't know about Hebrew).

Pascal

> -----Message d'origine-----
> De : Andreas Delmelle [mailto:andreas.delmelle@...]
> Envoyé : lundi 30 juin 2008 18:56
>
> On Jun 30, 2008, at 18:46, Michael Halpin wrote:
>
> > Is there a way to use oriental characters like Arabic or Hebrew in  
> > FOP?
> In theory, yes. In practice, FOP is still severely limited when it  
> comes to different writing-modes (see also Bugzilla #42307, which  
> attempts to fix the issue for Java2D-based renderers)
> > I have tried a few tests but the PDF output just shows the  
> > characters as ####.
> This is most likely because you're either using one of the default  
> fonts, or a custom font that simply has no glyphs for Arabic
> characters.
> Note that the lack of support for those languages in FOP is mainly  
> due to a lack of knowledge within the team. So far, we still haven't  
> succeeded in attracting Java-XML-geeks who are also fluent in Arabic  
> or Hebrew... Patches welcome, as well as accurate bug-reports, with  
> examples and descriptions of how exactly FOP is supposed to behave.
>
> Cheers
> Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

LightInTheBox - Buy quality products at wholesale price!