Sunday, November 09, 2008

On WritingMode Property for TEXT in Report Builder 2.0

This is further to my previous post on obtaining vertical orientation of characters in Report Builder 2.0. As I mentioned there is a WritingMode property for text only in Report Builder 2.0.
The WritingMode vertical mode makes 'D' in 'Design' to the top but it also rotates the individul letters by 90 degrees. This is to do with the Glyph-Orientation in CSS3 and can be specified by an angle attribute. Refer to the figure as what it will display when applied to the word 'Design'. You would get the correct orientation for glyph-orientation-vertical with the angle set to 0 deg. The default is what you see when you use the WritingMode: Vertical in Report Builder.

The expression can provide you correct orientation and if you want to have D at the bottom then instead of the string 'DESIGN' start with 'NGISED' to get for D to start from the bottom. In this case there is no need to worry about the glyph orientation.
It is interesting to note that while CSS is not supported in Report Builder only one of its features (WritingMode) is supported.

1 comment:

donald said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Betty Protection Status