Comments (18)
你的字体设置可能有问题,中英文不能对齐。。。
from pyim.
https://github.com/tumashu/chinese-fonts-setup 可以试试这个
from pyim.
这个问题对我还真是无解,在org中我故意将除了table还有block之外的英文字体都设成variable-pitch(变宽)。这种情况大神有办法吗?
from pyim.
可能的方法
- 选词框背景设置为黑色
- 禁用选词框
- 选词框不显示拼音
from pyim.
可能设置选词框内英文字体的face吗?比如让选词框使用fixed-pitch,正文使用variable-pitch?应该不难实现吧?
from pyim.
也许吧,不过不知道什么效果,你可以设置popup-tip的face试试,我试过,不过没成功,你可以再试试
from pyim.
确实没成功,正在找原因
from pyim.
一个最简单的方法是让拼音和词条在一行显示
from pyim.
但是把popup-tip-face
设为英文等宽字体后确实改善了很多,现在只出现轻微的偏移,并且偏移量不会改变。只是不知道这一个空格的偏移量是什么造成的。
from pyim.
不过这种效果已经能接受了,拼音和词条在一行还是不太习惯
from pyim.
我又试验了一下,这样设置应该是可以的,偏移量有时会出现。估计和我用了pangu-spacing也有关系。
(set-face-attribute 'popup-tip-face nil :font
(format "%s:pixelsize=%d" "Source Code Pro" 14))
这是英文字体设置,中文用任意像素高为16的字体就可以
from pyim.
sorry,我可能高兴的太早了。问题依旧。
from pyim.
我已经又换回pos-tip了,:sweat_smile:
from pyim.
怎样将拼音和词条放在同一行?我没有找到相关的设置选项。
from pyim.
这个功能我没添加呢。。。
from pyim.
算了,这个功能不添加也罢。估计有这种特殊需求的人不多。我也准备换linux虚拟机了,因为我发现pos-tip还是快些。
from pyim.
pos-tip 使用 gtk时最好用
from pyim.
@laiyilong @et2010 我已经添加了单行显示样式,你可以试试
;; Chinese-pyim 的 tooltip 选词框默认使用 *双行显示* 的样式,在一些特
;; 殊的情况下(比如:popup 显示的菜单错位),用户可以使用 *单行显示*
;; 的样式:
;; #+BEGIN_EXAMPLE
;; (setq pyim-guidance-format-function 'pyim-guidance-format-function-one-line)
;; #+END_EXAMPLE
;; 注:用户也可以自定义 guidance 格式化函数。
from pyim.
Related Issues (20)
- 【建议】通过检测光标前的两个单词是否都为英语,决定是否切换为英文模式。 HOT 3
- 使用pyim全拼如何输入“nue”和“lue”? HOT 2
- 请问如何当从pyim切换回英文时保留已输入字母? HOT 5
- 即使 pyim-page-tooltip 已经设置成 minibuffer,pyim 依然依赖 posframe HOT 1
- 输入位置越靠后候选词(开启了浮窗)的响应越慢 HOT 8
- Sync latest vertico suuport changes HOT 6
- [FR] Display how to type each candidate in default scheme, when assistant scheme is enabled HOT 3
- How can I diable the "pyim-translate-trigger-char" ? HOT 2
- 关于emacs29词库的报错 HOT 1
- 光标颜色不随主题变化而变化 HOT 1
- 为什么我的候选词后面总出现(buff) HOT 4
- rime-quanpin 情况下上屏的词顺序固定不变 HOT 2
- 固定词频配置 HOT 1
- pyim-isearch-mode开启,无法搜索中括号 [ ] HOT 1
- pyim输入法无法在eww打开的网站(比如百度)的输入框中输入中文 HOT 1
- error: No such file or directory, xr
- 几年未用了。新安装后,词序感觉不太对啊。 HOT 4
- 如何简单的按词库顺序排序 HOT 2
- 默认的输入法打不出lue 忽略的略 HOT 1
- termux 下的emacs29.3使用报错“error in process sentinel: End of file during parsing” HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyim.