Re: writing-mode and arabic text

2006-09-01 Thread Prakash sen

Hi Sebastian,

I had tried for printing in arabic using fop. But the Text were reversed in
the pdf after that i used a function to reverse in fo file but the meaning
of the text got changed. Could you Please help me in which file you disabled
that function to get arabic print properly or any idea how to do that.
Please Chk the attachment . I had displayed two line 1) Correct 2) Wrong

Regards Prakash.
http://www.nabble.com/user-files/235836/QuotHeader.doc QuotHeader.doc 



Sebastian Weber-2 wrote:
> 
> If I set the writing-mode to rl-tb my text is flipped vertical. This
> happens 
> because the CTM class rotates the transformation matrix for rendering 
> according to the writing mode. If I want to write right-to-left this has 
> nothing to do with mirroring of cause and I disabled it, because I want to 
> print arabic text. So what is the purpose of mirroring in rl-tb 
> writing-mode? What errors will appear if I disable the CTM.getWMctm() 
> function that does the mirroring according to the writing-mode?
> I achived printing (pdf) arabic text after some weeks of work ignoring any 
> xsl:fo recommendations. The most things I did in the TextLayoutManager.
> Now 
> I'm thinking about implementing it according to the recommendations and
> the 
> BIDI algorithm. Is anyone already engaged in this?
> 
> Regards, Sebastian
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/writing-mode-and-arabic-text-tf2051509.html#a6098133
Sent from the FOP - Dev forum at Nabble.com.



Re: writing-mode and arabic text

2006-08-04 Thread Jeremias Maerki
I don't think anyone is actively working on this.

I'd not take the current CTMs too seriously. I think they are only there
to indicate the possibility of supporting different writing mode at some
point. If you change the CTM stuff some of the test cases demonstrating
the writing mode capabilities will probably fail. But since they are
probably not really testing the right stuff, that shouldn't be a problem.

We've had a number of discussion already about implementing different
writing modes, BIDI, UAX#14 and whatever terms are involved. I don't
know how much research you've done on the mailing list archives already.
But I think it would be good if you took a look at those discussions. At
any rate, I think we'd be curious about the approach you've taken. Maybe
you could tell us a little more. Anyway, I'm quite happy to hear someone
wants to jump in here.

On 04.08.2006 16:31:24 Sebastian Weber wrote:
> If I set the writing-mode to rl-tb my text is flipped vertical. This happens 
> because the CTM class rotates the transformation matrix for rendering 
> according to the writing mode. If I want to write right-to-left this has 
> nothing to do with mirroring of cause and I disabled it, because I want to 
> print arabic text. So what is the purpose of mirroring in rl-tb 
> writing-mode? What errors will appear if I disable the CTM.getWMctm() 
> function that does the mirroring according to the writing-mode?
> I achived printing (pdf) arabic text after some weeks of work ignoring any 
> xsl:fo recommendations. The most things I did in the TextLayoutManager. Now 
> I'm thinking about implementing it according to the recommendations and the 
> BIDI algorithm. Is anyone already engaged in this?
> 
> Regards, Sebastian



Jeremias Maerki