I have a text in html with below css:
.overlay-imageOrientation-left {
font-size: 20px;
text-orientation: upright;
writing-mode: vertical-rl;
color: #ffffff;
position: absolute;
top: 45%;
left: 3px;
}
How can i draw this text in canvas html5 with text-orientation: upright and writing-mode: vertical-rl ?
Normally, you would have to draw each character separately:
But some browsers (actually only Firefox for now, I will open an issue on chrome about it), also do accept that you set these exact CSS properties on the canvas element directly: