Welcome Guest Search | Active Topics | Sign In | Register

CSS / SVG Styles applied while rendering Options
Jan
Posted: Friday, November 14, 2014 1:37:53 AM
Rank: Newbie
Groups: Member

Joined: 11/14/2014
Posts: 1
Hello,

I'm new to the EO Pdf Converter and using it in a .NET Application on an IIS 7.5 (Server 2008).

I'm trying to achieve vertically written <td> elements, like:
<td style="writing-mode:tb-rl">Hello World</td>

Sadly, Eo.Pdf completely ignores the writing-mode. Is there an alternative to get the desired behaviour?

Thanks in advance,

Jan
eo_support
Posted: Friday, November 14, 2014 1:43:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Please use Google Chrome browser to test your page. Internally EO.Pdf uses WebKit rendering engine to render HTML. Writting mode is supported by WebKit but with different CSS property name value. For example, you can try the following HTML and you should see it renders vertical text:

Code: HTML/ASPX
<table>
    <tr>
        <td>
            <p style="-webkit-writing-mode: vertical-rl">
            Hello Word
            </p>
        </td>
    </tr>
</table>


Note that:

1. The property name/value is different than what you would use in IE;
2. Writing mode does not work on td. So you need to add another element (in the above code the p element);

Here is an article about writing mode in different browsers that you might find helpful:

http://generatedcontent.org/post/45384206019/writing-modes

Hope this helps. Please feel free to let us know if you still have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.