diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-11 01:12:26 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-11 01:18:22 +0100 |
commit | 6b9db7e8d77c3ce68558f45f9162121a13a96a2b (patch) | |
tree | 9620c5c2266cf0eac24b233024fdecbc49d69e06 /res | |
parent | b787ab592f582fc4e6c9feb7dbec2820aa2f2c7b (diff) | |
download | chawan-6b9db7e8d77c3ce68558f45f9162121a13a96a2b.tar.gz |
css: add text-transform
Probably not fully correct, but it's a good start. Includes proprietary extension -cha-half-width, which converts full-width characters to half-width ones.
Diffstat (limited to 'res')
-rw-r--r-- | res/kanamap.tab | 58 | ||||
-rw-r--r-- | res/widthconv.json | 100 |
2 files changed, 158 insertions, 0 deletions
diff --git a/res/kanamap.tab b/res/kanamap.tab new file mode 100644 index 00000000..94069a5c --- /dev/null +++ b/res/kanamap.tab @@ -0,0 +1,58 @@ +ぁ あ +ぃ い +ぅ う +ぇ え +ぉ お +ゕ か +ゖ け +𛄲 こ +っ つ +ゃ や +ゅ ゆ +ょ よ +ゎ わ +𛅐 ゐ +𛅑 ゑ +𛅒 を +ァ ア +ィ イ +ゥ ウ +ェ エ +ォ オ +ヵ カ +ㇰ ク +ヶ ケ +𛅕 コ +ㇱ シ +ㇲ ス +ッ ツ +ㇳ ト +ㇴ ヌ +ㇵ ハ +ㇶ ヒ +ㇷ フ +ㇸ ヘ +ㇹ ホ +ㇺ ム +ャ ヤ +ュ ユ +ョ ヨ +ㇻ ラ +ㇼ リ +ㇽ ル +ㇾ レ +ㇿ ロ +ヮ ワ +𛅤 ヰ +𛅥 ヱ +𛅦 ヲ +𛅧 ン +ァ ア +ィ イ +ゥ ウ +ェ エ +ォ オ +ッ ツ +ャ ヤ +ュ ユ +ョ ヨ diff --git a/res/widthconv.json b/res/widthconv.json new file mode 100644 index 00000000..297c55db --- /dev/null +++ b/res/widthconv.json @@ -0,0 +1,100 @@ +{ + "!": "!", + "\"": """, + "#": "#", + "$": "$", + "%": "%", + "&": "&", + "'": "'", + "(": "(", + ")": ")", + "*": "*", + "+": "+", + ",": ",", + "-": "-", + ".": ".", + "/": "/", + + "0": "0", + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6", + "7": "7", + "8": "8", + "9": "9", + ":": ":", + ";": ";", + "<": "<", + "=": "=", + ">": ">", + "?": "?", + + "⦆": "⦆", + "。": "。", + "「": "「", + "」": "」", + "、": "、", + "・": "・", + "ヲ": ["ヲ", "を"], + "ァ": ["ァ", "ぁ"], + "ィ": ["ィ", "ぃ"], + "ゥ": ["ゥ", "ぅ"], + "ェ": ["ェ", "ぇ"], + "ォ": ["ォ", "ぉ"], + "ャ": ["ャ", "ゃ"], + "ュ": ["ュ", "ゅ"], + "ョ": ["ョ", "ょ"], + "ッ": ["ッ", "っ"], + + "ー": "ー", + "ア": ["ア", "あ"], + "イ": ["イ", "い"], + "ウ": ["ウ", "う"], + "エ": ["エ", "え"], + "オ": ["オ", "お"], + "カ": ["カ", "か"], + "キ": ["キ", "き"], + "ク": ["ク", "く"], + "ケ": ["ケ", "け"], + "コ": ["コ", "こ"], + "サ": ["サ", "さ"], + "シ": ["シ", "し"], + "ス": ["ス", "す"], + "セ": ["セ", "せ"], + "ソ": ["ソ", "そ"], + + "タ": ["タ", "た"], + "チ": ["チ", "ち"], + "ツ": ["ツ", "つ"], + "テ": ["テ", "て"], + "ト": ["ト", "と"], + "ナ": ["ナ", "な"], + "ニ": ["ニ", "に"], + "ヌ": ["ヌ", "ぬ"], + "ネ": ["ネ", "ね"], + "ノ": ["ノ", "の"], + "ハ": ["ハ", "は"], + "ヒ": ["ヒ", "ひ"], + "フ": ["フ", "ふ"], + "ヘ": ["ヘ", "へ"], + "ホ": ["ホ", "ほ"], + "マ": ["マ", "ま"], + + "ミ": ["ミ", "み"], + "ム": ["ム", "む"], + "メ": ["メ", "め"], + "モ": ["モ", "も"], + "ヤ": ["ヤ", "や"], + "ユ": ["ユ", "ゆ"], + "ヨ": ["ヨ", "よ"], + "ラ": ["ラ", "ら"], + "リ": ["リ", "り"], + "ル": ["ル", "る"], + "レ": ["レ", "れ"], + "ロ": ["ロ", "ろ"], + "ワ": ["ワ", "わ"], + "ン": ["ン", "ん"] +} |