Skip to content

Commit

Permalink
fix: Removed a duplicated symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed May 8, 2024
1 parent 5305ab7 commit 8624441
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 21 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ What's New in libchewing 0.8.0-rc.2 (UNRELEASED)
- Improved algorithm so using Tab key to find alternative phrasing is more
responsive.
- Easy symbol input now accepts arbitrary long "symbols". (rust)
- Removed duplicated symbols "●" and "○" from symbols input.

* Buf fixed
- chewing_cand_CheckDone result was reversed in capi (introduced in v0.7.0)
Expand Down
2 changes: 1 addition & 1 deletion data/symbols.dat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
上下括號=︵︶﹁﹂︹︺︷︸︿﹀﹃﹄︽︾︻︼
希臘字母=αβγδεζηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
數學符號=+-×÷=≠≒∞±√<>﹤﹥≦≧∩∪ˇ⊥∠∟⊿㏒㏑∫∮∵∴╳﹢
特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙○●△▲☆★◇◆□■▽▼§¥〒¢£※♀♂
特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙△▲☆★◇◆□■▽▼§¥〒¢£※♀♂
Unicode=♨☀☁☂☃♠♥♣♦♩♪♫♬☺☻
單線框=├─┼┴┬┤┌┐╞═╪╡│▕└┘╭╮╰╯
雙線框=╔╦╗╠═╬╣╓╥╖╒╤╕║╚╩╝╟╫╢╙╨╜╞╪╡╘╧╛
Expand Down
38 changes: 18 additions & 20 deletions tests/test-symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,26 +183,24 @@ static const TestData SYMBOL[] = {
{"`8<R>2<E>", "\xE2\x97\x8F" /* ● */ },
{"`8<R>3<E>", "\xE2\x8A\x95" /* ⊕ */ },
{"`8<R>4<E>", "\xE2\x8A\x99" /* ⊙ */ },
{"`8<R>5<E>", "\xE2\x97\x8B" /* ○ */ },
{"`8<R>6<E>", "\xE2\x97\x8F" /* ● */ },
{"`8<R>7<E>", "\xE2\x96\xB3" /* △ */ },
{"`8<R>8<E>", "\xE2\x96\xB2" /* ▲ */ },
{"`8<R>9<E>", "\xE2\x98\x86" /* ☆ */ },
{"`8<R>0<E>", "\xE2\x98\x85" /* ★ */ },
{"`8<R><R>1<E>", "\xE2\x97\x87" /* ◇ */ },
{"`8<R><R>2<E>", "\xE2\x97\x86" /* ◆ */ },
{"`8<R><R>3<E>", "\xE2\x96\xA1" /* □ */ },
{"`8<R><R>4<E>", "\xE2\x96\xA0" /* ■ */ },
{"`8<R><R>5<E>", "\xE2\x96\xBD" /* ▽ */ },
{"`8<R><R>6<E>", "\xE2\x96\xBC" /* ▼ */ },
{"`8<R><R>7<E>", "\xC2\xA7" /* § */ },
{"`8<R><R>8<E>", "\xEF\xBF\xA5" /* ¥ */ },
{"`8<R><R>9<E>", "\xE3\x80\x92" /* 〒 */ },
{"`8<R><R>0<E>", "\xEF\xBF\xA0" /* ¢ */ },
{"`8<R><R><R>1<E>", "\xEF\xBF\xA1" /* £ */ },
{"`8<R><R><R>2<E>", "\xE2\x80\xBB" /* ※ */ },
{"`8<R><R><R>3<E>", "\xE2\x99\x80" /* ♀ */ },
{"`8<R><R><R>4<E>", "\xE2\x99\x82" /* ♂ */ },
{"`8<R>5<E>", "\xE2\x96\xB3" /* △ */ },
{"`8<R>6<E>", "\xE2\x96\xB2" /* ▲ */ },
{"`8<R>7<E>", "\xE2\x98\x86" /* ☆ */ },
{"`8<R>8<E>", "\xE2\x98\x85" /* ★ */ },
{"`8<R>9<E>", "\xE2\x97\x87" /* ◇ */ },
{"`8<R>0<E>", "\xE2\x97\x86" /* ◆ */ },
{"`8<R><R>1<E>", "\xE2\x96\xA1" /* □ */ },
{"`8<R><R>2<E>", "\xE2\x96\xA0" /* ■ */ },
{"`8<R><R>3<E>", "\xE2\x96\xBD" /* ▽ */ },
{"`8<R><R>4<E>", "\xE2\x96\xBC" /* ▼ */ },
{"`8<R><R>5<E>", "\xC2\xA7" /* § */ },
{"`8<R><R>6<E>", "\xEF\xBF\xA5" /* ¥ */ },
{"`8<R><R>7<E>", "\xE3\x80\x92" /* 〒 */ },
{"`8<R><R>8<E>", "\xEF\xBF\xA0" /* ¢ */ },
{"`8<R><R>9<E>", "\xEF\xBF\xA1" /* £ */ },
{"`8<R><R>0<E>", "\xE2\x80\xBB" /* ※ */ },
{"`8<R><R><R>1<E>", "\xE2\x99\x80" /* ♀ */ },
{"`8<R><R><R>2<E>", "\xE2\x99\x82" /* ♂ */ },
{"`91<E>", "\xE2\x99\xA8" /* ♨ */ },
{"`92<E>", "\xE2\x98\x80" /* ☀ */ },
{"`93<E>", "\xE2\x98\x81" /* ☁ */ },
Expand Down

0 comments on commit 8624441

Please sign in to comment.