w3c / jlreq

Text Layout Requirements for Japanese
https://w3c.github.io/jlreq/
Other
99 stars 16 forks source link

[todo] Compile a document detailing the necessary transformations from horizontal to vertical text #422

Open kidayasuo opened 2 months ago

kidayasuo commented 2 months ago

This is outcome from the F2F meeting on 2024-4-17.

It will be a part of jlreq-d.


2.1. Case Transforms: the ‘text-transform’ property

When producing publications or e-books, it is common to rewrite texts made for horizontal writing to suit vertical formats. This kind of rewriting, considering its cost and the principle of separating content and presentation, is undesirable. Discussion was held about creating a property that could format horizontal texts for vertical presentation. This request is for a future version, not for Level 4.

According to Fantasai, while CSS can handle simple text contexts, doing so involves complications. If it involves many context-dependent adjustments, it might be good to rely on scripts such as JavaScript or Python.

It was decided that the JLReq TF should first compile a document detailing the necessary conversions when changing horizontal text to vertical.

Actions

The JLReq TF will compile a document detailing the necessary transformations from horizontal to vertical text. If possible, a script will be created to perform these transformations.