parallax / jsPDF

Client-side JavaScript PDF generation for everyone.
https://parall.ax/products/jspdf
MIT License
29.39k stars 4.68k forks source link

[Feature Request] Vertical (Japanese) text #2454

Open basklein opened 5 years ago

basklein commented 5 years ago

Currently, the only way to write text in a vertical column, is to hack it a bit by splitting the string into an array and using multiline, or rotating it to be on its side. This works fine for the Latin alphabet, but languages like Japanese have different rules when written vertically.

Right now I can achieve decent results by rotating certain characters and using multiline for others, but even just some basic support for writing text as a column would be appreciated.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

HackbrettXXX commented 4 years ago

We currently don't have the time to implement such a feature, but we are always happy about pull requests from the community :)

2021eo3ar commented 1 month ago

@HackbrettXXX, could you assign this issue to me first, I can surely correct this issue.