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

如何更換輸入法中的太極圖示‘☯? #1749

Closed
sidottu opened this issue Dec 14, 2024 · 8 comments
Closed

如何更換輸入法中的太極圖示‘☯? #1749

sidottu opened this issue Dec 14, 2024 · 8 comments

Comments

@sidottu
Copy link

sidottu commented Dec 14, 2024

輸入時用於提示連打與自動組詞顯示的太極圖示不美觀。我想請教一下,怎麼更換或自訂這個圖示?Windows 10自帶的emoji讓人看着不適。像是安卓的fcitx5應有專門的設置項,PC端的小狼毫更換也是可以的吧?

image

參考:fcitx5的設置用於提示自動組詞的符號頁面

fcitx5設置頁面

關閉碼表輸入法連打
註:這個選項僅針對 table_translator,用於屏蔽倉頡、五筆中帶有太極圖章「☯」的連打詞句選項,不可作用於拼音、注音、速成等輸入方案。

以【倉頡】爲例:

# cangjie5.custom.yaml
patch:
  translator/enable_sentence: false

怎麼更換呢?這個是要用的,僅屏蔽的話,還是會出現的,還是想像fcitx5那樣自己更換其它的符號

@lotem
Copy link
Member

lotem commented Dec 15, 2024

patch translator/comment_format ,用 xlit 規則替換字符。

@sidottu
Copy link
Author

sidottu commented Dec 15, 2024

@lotem
現在連打沒變,但是組詞變了,連打和組詞還是不一樣的麼,連打要怎麼換呢?

image
image

translator:
  comment_format:
    - "xlit|☯|🖋|"

@lotem
Copy link
Member

lotem commented Dec 16, 2024

看來這種方式不行。寫程序改吧。

或者關閉連打。連打大部分情況可以用自動上屏代替。

@sidottu
Copy link
Author

sidottu commented Dec 16, 2024

看来种方不行。写过程法。

逆向连字衔打印大部of可以自动上光。

換字體呢,怎麼做,主要win自帶的emoji太難看了,facebook和openmoji它們的彩色emoji陰陽做的都挺好看的,試過註冊表改成它們的但是win10還是用的自帶的彩色emoji,輸入法裏能指定emoji字體麼

@sidottu
Copy link
Author

sidottu commented Dec 16, 2024

直接把系統的emoji字體換成win11(openmoji的☯)的了,安裝ttf後,註銷重登錄,全成win11的風格了,除了openmoji的☯,看網上說要替換系統目錄的.ttf,這個和我雙擊win11的seguiemj.ttf安裝有什麼區別呢?好像全局生效
image
image

@lotem

@Namarimizu
Copy link

這個有幫助嗎
#1755

@sidottu
Copy link
Author

sidottu commented Jan 22, 2025

直接換了字體了Windows10自帶的emoji很多都不好看,直接修改的字體文件裏的陰陽換成其它字體太極了,

做有帮助 #1755

@fxliang
Copy link
Contributor

fxliang commented Jan 23, 2025

如果是0.15之后的小狼毫,可以设置指写码点范围使用特定字体来绘制的

在对应字体(当前这个应该是style/comment_font_face)的设定前面加上Noto Color Emoji SVG:262f:262f, 就可以使用系统里有安装的Noto Color Emoji SVG来绘制U+262F这个字符了

Image

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

5 participants