| Author |
Vertical text in PDF using FOP
|
prabu padmanathan
Greenhorn
Joined: Dec 07, 2007
Posts: 5
|
|
Hi All
Am new to use FOP for generating PDF's , and i have the requirement to print the TEXT in VERTICAL way , Can you please help me how to achieve it?
Thanks
Prabu.P
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
|
|
I don't know what "vertical way" means... perhaps you want the text rotated by 90 degrees? or the letters arranged in a column like
t
h
i
s
? Anyway as you (should) know, FOP is simply an implementation of the XSL:FO standard. Here's a link to that standard; have a look through it to see if it supports anything like what you want.
|
 |
prabu padmanathan
Greenhorn
Joined: Dec 07, 2007
Posts: 5
|
|
Thank you for the reply paul , i have found a solution to rotate the text in vertical (90 degrees...) , we can embed the tag SVG
<fo:instream-foreign-object>
<svg:svg width="100px" height="100px" xmlns:svg="http://www.w3.org/2000/svg">
<svg:g>
<svg:text x="-80" y="20" transform="rotate(270)">Hello World</svg:text>
</svg:g>
</svg:svg>
</fo:instream-foreign-object>
Thanks
Prabu
|
 |
 |
|
|
subject: Vertical text in PDF using FOP
|
|
|