parallax/jsPDF

[Feature Request] Vertical (Japanese) text

Open

#2454 aperta il 8 mag 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (4596 fork)batch import
Feature Requestdifficulty:hardhacktoberfest

Metriche repository

Star
 (28.280 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor