parallax/jsPDF

[Feature Request] Vertical (Japanese) text

Open

#2,454 opened on 2019年5月8日

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
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド