I am trying to have a text layer vertically rotated with a background color. I use XML like this:
<layer name="verticaltext"
keep="true"
type="text"
html="vertical text"
css="color:#FFFFFF; transform: rotate(-90deg);"
bgcolor="0xFF0000"
bgalpha="1" />
The text is properly rotated but the background remain horizontal !!
If I use HTML with the same css, like this:
<div style="background-color:#FF0000; transform: rotate(-90deg);">
vertical text
</div>
both text and background are properly rotated.
I am doing something wrong or is a bug?
Thanks for help.
Marco