parallax/jsPDF

[Feature Request] Vertical (Japanese) text

Open

#2,454 opened on May 8, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (4,596 forks)batch import
Feature Requestdifficulty:hardhacktoberfest

Repository metrics

Stars
 (28,280 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide