cmex-30 / bopomofo_on_web Goto Github PK
View Code? Open in Web Editor NEW本計劃嘗試透過Web與OpenType字體技術來顯示注音符號。
Home Page: https://cmex-30.github.io/Bopomofo_on_Web/testpage/index.html
License: SIL Open Font License 1.1
本計劃嘗試透過Web與OpenType字體技術來顯示注音符號。
Home Page: https://cmex-30.github.io/Bopomofo_on_Web/testpage/index.html
License: SIL Open Font License 1.1
當以Ruby方式標註文字時,會造成以下狀況。
範例:
<ruby>火<rt>ㄏㄨㄛˇ</rt></ruby><ruby>星<rt>ㄒㄧㄥ</rt></ruby>
可能的解法:
ruby-position: inter-character
not supported<rtc style="writing-mode: vertical-rl">
works by fallback to span就是打國字會自動轉成注音的字型
近年的字型有調號歐文化的問題
明明以前新細明體/儷黑的時代,都是正確的注音調號
但近年OS的新字型全開倒車
微軟正黑體、黑體-繁、蘋方 的聲調全變成歐文形式
(尺寸過小難讀,且二聲方向相反)
思源黑體的調號是正確的,在Android上卻又優先使用歐文調號
這該怎麼反應呢(思)
ruby-position: inter-character
not supported<rtc style="writing-mode: vertical-rl">
supported experimentally when layout.css.ruby.intercharacter.enabled
is turned on in about:config
. Otherwise works by fallback to span.as title
ruby-position: inter-character
not supported<rtc style="writing-mode: vertical-rl">
works by fallback to span小弟我閒暇時間從事注音符號的研究
今天看到這個計劃我覺得非常的棒
但在 README.md 裡發現了一些錯誤
我這裡分成錯誤跟建議依照 README.md 裡的順序寫下去
【建議】一般注音符號 | General Bopomofo Symbol 改為 國語注音符號 | Mandarin Phonetic Symbols (MPS) 或 基本注音符號 | Basic Bopomofo Letters
雖然「一般注音符號」這個詞彙也能讓人了解,不過 Mandarin Phonetic Symbols 在翻譯上已經用了很長一段時間,所以我認為用「國語注音符號」較恰當。而第二種建議用 "Basic" 這個詞則是和 "extended" 相對。
【錯誤】調號 | Tone Mark 少了一個 ˉ(U+02C9)
【錯誤】罕用注音符號 Rare Use Bopomofo Symbol 應改為 老國音字母 Old Bopomofo Letters 或 老國語注音符號 Old Mandarin Phonetic Symbols 並將 ㄫ(U+312B) 從方音注音符號移動至此
原先ㄪ(U+312A)、ㄬ(U+312C)、ㄭ(U+312D)三個注音和ㄫ(U+312B)被拆分開來,ㄫ(U+312B)被放入方音注音符號裡,但方音符號其實是有包含ㄪ(U+312A)、ㄬ(U+312C)以及所有的基本注音符號的,一般來說還是會把它們4個歸在老國音字母裡面。老國音字母是歷史上它們真正的名字 (對應國音字母,後來改稱國語注音符號)。其實 UNICODE 還有收入另外兩個符號ㄮ(U+312E 注音ㄜ的舊式寫法)和ㄯ(U+312F 不含韻腹ㄜ的韻尾ㄣ)在裡面。
【建議】注音符號延伸 | Bopomofo Extended for Dialect 改為 注音符號延伸 | Bopomofo Letters Extended 或 注音符號延伸 | Bopomofo Symbols Extended
Bopomofo Extended for Dialect 的意思應該是「方言用注音符號延伸」語意怪怪的,方言用和延伸留一即可。
【建議】方音注音符號 | Bopomofo Symbol for Dialect 改為 台語注音符號 | Taiwanese Phonetic Symbols (TPS) 並新增苗語注音符號的欄位
在 UNICODE 的 Bopomofo Extended 中除了台灣的方音符號還另外收錄了三個苗語注音符號(ㆹ、ㆸ、ㆺ),因此我覺得 Bopomofo Symbol for Dialect 這個詞不夠精確。
【錯誤】ㆴ、ㆵ、ㆶ、ㆷ一般歸類在韻母,而非調號。
方音用的調號又分為方音符號用的和苗語注音用的,台語注音額外用了˪(U+02EA)、˫(U+02EB)。苗語注音(老國音字母中也是用到這4個)中額外用到 〪(U+302A)、 〫(U+302B)、 〬(U+302C)、 〭(U+302D)。
另外我吐槽一下,是哪個家伙跑去跟 UNICODE 提案增加小書ㄍ的 (我在這裡第一次聽說這檔事) ,應該要提案的是要把ㆶ(U+31B6)的字形從小書ㄎ改為小書ㄍ吧,這個字形本來就是 UNICODE 收錯,大家也用了一段時間了,增加小書ㄍ只會造成一個符號兩個 UNICODE 編碼。
ruby-position: inter-character
supported but fails tests<rtc style="writing-mode: vertical-rl">
works by fallback to span猜測為了讓聲調能夠疊在注音符號上所以需要去調整"聲調"字寬
因此有去詢問Adobe Dr.Ken Lunde,建議使用OpenType GPOS 'vert'
但為什應是使用"vert "而不是"vpal"?
依照規範vert 應用在GSUB (用作替換另一個glyph)嗎?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.