w3c / jlreq

Text Layout Requirements for Japanese

Home Page:https://w3c.github.io/jlreq/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kidayasuo opened this issue · comments

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.