On Jan 24, 2008, at 22:15, Amick, Eric wrote:

Hi


I want to put some text in the region-start that is written vertically, i.e.,

l
i
k
e

t
h
i
s
.

I've played with writing-mode and reference-orientation, but I can't quite get that effect.


Which combinations did you try exactly?
Reference-orientation is of no use by itself, since it will rotate the whole sentence instead of the individual characters. Just noticed that our compliance page indicates none of the writing- mode related properties to be implemented [*] OTOH, I do seem to remember reading reports from users working with different writing-modes with success (could be wrong)

[*] http://xmlgraphics.apache.org/fop/compliance.html#fo-property- writingmode-section


Am I going to have to resort to putting the individual characters in fo:character elements, or is there a cleverer way to do it?


The most clever way I can think of in pure XSL-FO to mimic that would be to inject linefeed-characters in the stylesheet, so it generates FO like:

<fo:block linefeed- treatment="preserve">l&#x0A;i&#x0A;k&#x0A;e&#x0A;&#x0A;t&#x0A;h&#x0A;i&# x0A;s&#x0A;.</fo:block>


Should work nicely.

HTH!

Cheers

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to