DSEG icon indicating copy to clipboard operation
DSEG copied to clipboard

Combining segments / 個別のセグメントを追加するダイアクリティカルマーク

Open JapanYoshi opened this issue 3 years ago • 1 comments

公式にサポートされてない文字でも、特殊文字を使って合成できるようにして欲しいです。7セグと14セグしか現在はありませんが、将来16セグ版を作ることを想定して、私用領域の中で16個コードポイントを割り当てるのが良いと思います。

コード割当の提案

  • U+E000 上(16セグでは上の左半分)
  • U+E001 右上
  • U+E002 右下
  • U+E003 下(16セグでは下の左半分)
  • U+E004 左下
  • U+E005 左上
  • U+E006 中央横(14、16セグでは中央左半分)
  • U+E007 中央上
  • U+E008 中央下
  • U+E009 左上斜め
  • U+E00A 右上斜め
  • U+E00B 左下斜め
  • U+E00C 右下斜め
  • U+E00D 中央右半分
  • U+E00E 未使用(16セグでは上右半分)
  • U+E00F 未使用(16セグでは下右半分) もちろん、内部的に使っている順番があれば、それを使えばいいだけですが。

例えば、ギリシャ文字のシグマ(Σ)をDSEG14で表示する場合、アンダーバーを入力した後に、E007, E009, E00Bを入力すると出来るようになるでしょう。

JapanYoshi avatar Aug 23 '21 12:08 JapanYoshi

Apologies for the English reply; I've machine translated your comment, so hopefully nothing got lost in translation!

It looks like this feature has been added in #v0.5beta1.

For DSEG7 (for example DSEG7 Modern-Regular), every combination of segments and the dot is available in U+2800 through U+28FF (you can find the exact symbol quickly with https://torinak.com/font/lsfont.html, for example).

For DSEG14 (for example DSEG14 Modern-Regular) each segment is available as a zero width character in U+EE00 through U+EE11. Put a ! in front (full width space) for spacing. For example, using HTML entities, ! becomes:

image

for sigma.

Here's a little demo along with a table of the code points to use: index.html.zip

just-max avatar Nov 13 '21 07:11 just-max