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

不能修改中文字体 #237

Open
Grant-S-Z opened this issue Oct 8, 2024 · 0 comments
Open

不能修改中文字体 #237

Grant-S-Z opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Grant-S-Z
Copy link

问题描述

使用 =rime-posframe-properties= 设置字体仅对英文生效。

Emacs中的配置

(use-package rime ;; 输入法
  :custom
  (default-input-method "rime")
  (rime-librime-root "~/.emacs.d/librime/dist") ;; librime 位置
  (rime-emacs-module-header-root "/opt/homebrew/opt/emacs-mac/include/") ;; Emacs 头文件位置
  (rime-share-data-dir "~/Library/Rime") ;; 共享目录
  (rime-user-data-dir "~/.emacs.d/rime") ;; Emacs 目录,需要同步
  (rime-cursor ".")
  (rime-show-candidate 'posframe) ;; 使用 posframe 显示输入法
  (rime-commit1-forall t) ;; 在输入位置显示首个备选项
  (rime-posframe-properties
   (list :internal-border-width 4 ;; 调整 posframe 边框
	 :font "PingFang SC"))
  (mode-line-mule-info '((:eval (rime-lighter)))) ;; 在 modeline 显示输入法标志
  ;; 在 minibuffer 使用后自动关闭输入法
  (rime-deactivate-when-exit-minibuffer t))

截图

image

环境信息

  • 操作系统:MacOS Sequoia 15.0.1
  • Emacs版本:29.1
  • 安装方式:Melpa
@Grant-S-Z Grant-S-Z added the bug Something isn't working label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant