Vertical Punctuation Rotation on textpaths in tb writing mode for Japanese Text

Parth Upadhyay <[email protected]> Thu, 31 Jan 2019 19:54:56 +0900
Newsgroups gmane.text.xml.batik.user
Message-ID <CAO+VLA1VR6fEYW5Ho+djf8wB6D2rWpd6vv3_5S9e1z3YsaxF3A@mail.gmail.com>
--00000000000004c4190580bedc84
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I'm using batik 1.10 to render svgs to png. I noticed that in `tb` writing
mode, punctuation doesn't seem to get rotated as it should:

Repo to reproduce problem: https://github.com/justaparth/batik-vertical-tes=
t
Batik Result:
https://github.com/justaparth/batik-vertical-test/blob/master/readme_resour=
ces/batik_result.png
Chrome Result:
https://github.com/justaparth/batik-vertical-test/blob/master/readme_resour=
ces/chrome_result.png

In chrome, the full-width parenthesis and quote characters, =EF=BC=88=E3=80=
=8C , get
rotated 90 degrees (as is natural in vertically written japanese), but when
rendered on batik, they remain upright.

Did I make some mistake in my svg file? Or is this a bug in batik?

My machine is running:
OSX 10.13.6 (also tried on a centos 7.5 machine)
openjdk-11.0.2 (though i have also tried with jdk 8 and had similar results=
)

Please let me know if you need any more information. Any help would be
greatly appreciated!

Thanks,
-parth

--00000000000004c4190580bedc84
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr">Hello,<br><br>I&#39;m using batik 1.10 to render=
=C2=A0svgs to png. I noticed that in `tb` writing mode, punctuation doesn&#=
39;t seem to get rotated as it should:<br><div><br>Repo to reproduce proble=
m:=C2=A0<a href=3D"https://github.com/justaparth/batik-vertical-test">https=
://github.com/justaparth/batik-vertical-test</a></div><div>Batik Result:=C2=
=A0<a href=3D"https://github.com/justaparth/batik-vertical-test/blob/master=
/readme_resources/batik_result.png">https://github.com/justaparth/batik-ver=
tical-test/blob/master/readme_resources/batik_result.png</a><br>Chrome Resu=
lt:=C2=A0<a href=3D"https://github.com/justaparth/batik-vertical-test/blob/=
master/readme_resources/chrome_result.png">https://github.com/justaparth/ba=
tik-vertical-test/blob/master/readme_resources/chrome_result.png</a><br><br=
>In chrome, the full-width parenthesis and quote characters, =EF=BC=88=E3=
=80=8C , get rotated 90 degrees (as is natural in vertically written japane=
se), but when rendered on batik, they remain upright.</div><div><br></div><=
div>Did I make some mistake in my svg file? Or is this a bug in batik?</div=
><div><br></div><div>My machine is running:</div><div>OSX 10.13.6 (also tri=
ed on a centos 7.5 machine)</div><div>openjdk-11.0.2 (though i have also tr=
ied with jdk 8 and had similar results)</div><div><br>Please let me know if=
 you need any more information. Any help would be greatly appreciated!</div=
><div><br></div><div>Thanks,</div><div>-parth</div></div></div></div></div>=
</div></div>

--00000000000004c4190580bedc84--