Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EastAsianWidth.txt対応 #14

Closed
pakutoma opened this issue May 26, 2021 · 5 comments
Closed

EastAsianWidth.txt対応 #14

pakutoma opened this issue May 26, 2021 · 5 comments

Comments

@pakutoma
Copy link
Owner

Unicodeに文字幅が規定されているので,合成時の源真ゴシック/Inconsolataの割り振りを合わせたい.
MIDDLE DOTのような問題があるので,特性Aの文字については別途検討する.(とりあえず半角で良いのでは?とは思う)
詳細は東アジアの文字幅参照

@pakutoma
Copy link
Owner Author

メモ:https://qiita.com/Nuits/items/71a69cf32d547c9875bb
うえーという顔をしています

@pakutoma
Copy link
Owner Author

microsoft/terminal#2928
より,Windows Terminal対応を念頭に置いた場合Ambiguousは全て半角が良い.
DejaVu Sans Monoを合成するなどしてAmbiguous文字を全て半角で埋めることを検討.

@pakutoma
Copy link
Owner Author

☃や☎もNeutralであることに対応しないとWindows Terminalには対応出来なさそう.

@pakutoma
Copy link
Owner Author

pakutoma commented May 27, 2021

最新のEastAsianWidth.txtに準拠して #15 の絵文字とDejaVu Sansを切り替える必要がありそう(例:⚡はUnicode 9.0からNeutral->Wideの変更を受けた)
twemojiにもDejaVu Sansにも⚡のグリフが存在し,DejaVu Sansは半角.

pakutoma added a commit that referenced this issue May 30, 2021
@pakutoma
Copy link
Owner Author

とりあえず対応完了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant