w3c / jlreq-d

Requirements for Japanese Digital Text Layout
17 stars 3 forks source link

Come up with a definition of 全角 that are generic enough to cover non-square typefaces #35

Open kidayasuo opened 10 months ago

kidayasuo commented 10 months ago

In the JLReq documentation, the term '全角 (Zenkaku)' has traditionally been used under the assumption that all characters are square-shaped and of uniform size. However, this definition becomes problematic when generalizing to scenarios where characters are rectangular and/or vary in size between kanji and kana. The overloading of 'Zenkaku' needs to be resolved in order to generalize the layout descriptions to cover these fonts. Examples of such fonts are ones used for newspapers, Morisawa Shingo Condensed, MS P Mincho/Gothic, and AXIS Condensed.

There have been discussions on the JLReq TF mailing list. This GH issue captures the conclusion up to this point and serves as a record for further discussion.

The proposed definition reflects the expected width for “Zenkaku Aki (one em space)”. Other typical use of ‘Zenkaku’ includes width of characters (which now varies), and line advance width.

kidayasuo commented 9 months ago

The agreement so far is to use the width of U+3000 FULLWIDTH SPACE. This encompasses its use on typefaces that has different advance width between Kanji and Kana, such as Window's MS P Mincho/Gothic and AXIS Condensed. With these examples the width of the FULLWIDTH SPACE is narrower than width of Kanji. In case of AXIS Condensed it matches with the width of Kana, and in case of MS P fonts where Kana is proportional the width is again closer to width of Kana. Using FULLWIDTH SPACE allows typeface designers to specify the width of Zenkaku independently from the width of Kanji.

As FULLWIDTH SPACE is used to indent paragraphs and for some other spacing purposes, most likely the width of this character reflects the designer's intention for the width of Zenkaku used for the particular typeface.

With that said, the term "Zenkaku" is used in many places / ways in describing layout, and the actual width required might be different in each case when the typeface has different advance width between Kanji and Kana. Further research would be necessary to re-define Zenkaku and make the layout description more generic.

KobayashiToshi commented 9 months ago

The agreement so far is to use the width of U+3000 FULLWIDTH SPACE.

これは,“w3c/jlreq”ではなく,“w3c/jlreq-d”に掲載した方がよくありませんか?

KobayashiToshi commented 9 months ago

参考までに,日本語組版で“全角アキ”に関連するアキなどの使用例を示します.“全角”は,“二分”や“四分”の基準ともなるので,これらも含めています.

“全角アキ”の例 改行行頭の字下げを全角アキ ?と!の後ろ 見出しのラベル名(例:第1章)と見出しテキストの間 行頭見出しと本文の間 例:原稿編集 変更編集は,著者から原稿を入手し,…… 主に平仮名の分かち書き 例:むかし むかし あるところに おじいさんと おばあさんが …… 漢文の読み下し文  例:少き時 弾を挟んで……  雅懐 概有り。  魏王の雅望 非常なり。(“世説新語”の例) 後注などの番号と注本文の間  (1) 印刷用紙の種類は…… 後注などの2行目以下の行頭の字下ガリ 文字としては“全角ダーシ”

“二分アキ”の例 句読点・括弧類の前後(見た目のアキ) ?と!の後ろ(文が続く場合) 例:私は何者か? と考えた 文字としては“二分ダーシ”

“四分アキ”の例 和文とラテン文字の間 数字と単位記号の間 100 cm 25 kg 数式の等号類の前後 a+b = c(ベタにする例が多い) 中点類の前後(見た目)

kidayasuo commented 9 months ago

敏先生、レポジトリは移動しました。全角アキの例、ありがとうございます。これらのうち、全角では広すぎるかな、、という例もありそうですね。最近話題になった分かち書きはその例ですね。他にありますか?

それとは別に、AXIS Condensed のデザイナーや、もし他のフォントの例が見つかればそのデザイナーに、上記の例をベースに、全角空白の幅やその意図についてヒアリングしてみるのも良いかもしれませんね。

KobayashiToshi commented 9 months ago

これらのうち、全角では広すぎるかな、、という例もありそうですね。最近話題になった分かち書きはその例ですね。他にありますか?

分かち書きは,全角アキか,それともまったく違うものか,という問題なので,ここでの問題とは別のように思う.字幅の狭いフォントの場合で,全角アキとするならば,狭い全角アキになり,それはそれでよいのではないか.

他の例では,字幅の狭いフォントの場合,その狭い字幅が全角アキでいいように思うが,どうだろうか.つまり,文字が狭くなったので,アキもそれに倣う,ということ.改行行頭のアキも狭くなれば,隣の行の文字ともそろう可能性が高いが,プロポーショナルなフォントではどうなるかわからない.

その他,見出しで次の例,  第3章 原稿編集とは  3 原稿編集とは この場合,“第3章”の場合は全角アキでよいが,数字だけの場合,特に文字サイズが大きくなると,全角アキはアキ過ぎに見えるように思う.

kidayasuo commented 9 months ago

分かち書きは,全角アキか,それともまったく違うものか,という問題なので,ここでの問題とは別のように思う.

確かにおっしゃる通り。それが全角アキであるべきか違うものであるべきか、の議論は、全角アキの大きさがどうあるべきか、とは別個の問題ですね。