[PATCH] libchewing 所輸入的冒號

82 views
Skip to first unread message

詹博丞

unread,
Nov 23, 2017, 3:48:00 PM11/23/17
to chewing-devel
Dear all,

近來有朋友反映「點字酷音」的冒號打出來,與注音輸入法不同,我把原因追查到新酷音的 symbols.dat
新酷音打出來的是 ︰ (\xFE30) [0]
注音輸入法打的是 : (\xFF1A) [1]
根據網頁,\xFF1A 才是語意上真正的冒號,因此想請教大家
是否同意把新酷音 symbols.dat 的冒號也換成 \xFF1A (see patch), 或者選用 \xFE30 有其背後由來能否幫忙說明?
Thanks!

[0] http://www.fileformat.info/info/unicode/char/fe30/index.htm
[1] http://www.fileformat.info/info/unicode/char/ff1a/index.htm
0001-symbols.dat-Change-to.patch

Buganini

unread,
Nov 23, 2017, 4:05:25 PM11/23/17
to chewin...@googlegroups.com, mar...@gmail.com
查了一下,有一個可能的原因,不過不確定當初是不是因為這個原因,
根據 UAX#50 UNICODE VERTICAL TEXT LAYOUT ( http://unicode.org/reports/tr50/ )
資料檔 http://www.unicode.org/Public/vertical/revision-17/VerticalOrientation-17.txt

FE30 ; U
FF1A ; Tr
其中 U/Tr 的定義如下
U: Characters which are displayed upright, with the same orientation
that appears in the code charts.
Tr: Same as Tu except that, as a fallback, the character can be
displayed with the code chart glyph rotated 90 degrees clockwise.

就中文的使用習慣來說,直書的時候冒號是不旋轉的,據說日文會旋轉,就這點來說 U+FE30 較符合使用需求。
不過既然注音輸入法輸出的是 U+FF1A ,實務上確實是聽說 workaround U+FF1A 的情形 ,至少 Libreoffice
裡面會根據文件 locale 例外處理 …
(順便cc一下 Libreoffice developer @marklh9)

Buganini

unread,
Nov 23, 2017, 4:16:50 PM11/23/17
to chewin...@googlegroups.com
再查了一下,U+FF1A 的名稱是 PRESENTATION FORM FOR VERTICAL TWO DOT LEADER
這個 Leader 指的應該是 https://en.wikipedia.org/wiki/Leader_(typography)
這樣說起來確實不是冒號的用途呢

詹博丞

unread,
Nov 23, 2017, 4:41:28 PM11/23/17
to chewin...@googlegroups.com
Hi Buganini,

抱歉能否確認一下這個是不是打錯
> 再查了一下,U+FF1A 的名稱是 PRESENTATION FORM FOR VERTICAL TWO DOT LEADER
U+FE30 才是 PRESENTATION FORM FOR VERTICAL TWO DOT LEADER
U+FF1A 是 FULLWIDTH COLON
Thanks.

Buganini

unread,
Nov 23, 2017, 4:44:03 PM11/23/17
to chewin...@googlegroups.com, mar...@gmail.com
Eh 對,我打錯了
> --
> 您已訂閱「Google 網上論壇」的「Chewing IM Development」群組,因此我們特別傳送這封郵件通知您。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 chewing-deve...@googlegroups.com
> 如要在此群組張貼留言,請傳送電子郵件至 chewin...@googlegroups.com
> 請前往以下網址造訪這個群組:https://groups.google.com/group/chewing-devel
> 如需更多選項,請前往:https://groups.google.com/d/optout
Reply all
Reply to author
Forward
0 new messages