-
Notifications
You must be signed in to change notification settings - Fork 550
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
候选项中出现emoji时导致输入法行高增加 #1175
Comments
检查确认 #1177 的产出,适当调整 新增的两个参数的数值,看是否可以解决这个问题吧。 |
我应该怎么测试呢?nightly build还没有编译这个新版本 |
https://github.com/rime/weasel/actions/runs/8598045790 基本原理大概是通过linespacing调大行距,通过baseline调整基线位置,相当于调大了出来的back的高度(竖排文字时宽度)。 但是呢,如果使用的两种字体的基线位置相差太多的话,还是会无法对齐行内的不同字体的字形的,这个是字体设计的问题。 patch:
style/layout/baseline: 100 # 100% of font point height
style/layout/linespacing: 140 # 140% of font point height, when flicker happened, should be a value larger than 100 |
没有效果,我是不是得调整emoji行高去了 |
默认没有调的,要类似我上面例子那样修改微调到满意效果。当然如果你是要一样字形高度,那只能字体解了 |
我把配置文件复制过去了,但是感觉没生效?怎么改linespacing 感觉行高都没区别。 |
不过也仅限于 emoji 和部分中文字符了。这个问题不仅影响 emoji, 阿拉伯数字、全角字符等都会导致候选高度变化。 |
是,所以这个尝试其实本质是个掩耳盗铃,强行拉高,目标是减少闪烁。我试过会跳的组合似乎有效果,但是不确定是不是总有效果 |
你配置写错地方了,当然有效果 |
😦,应该写哪啊🤦♂️ |
|
生效了,我这现在不跳了 |
未fix_emoji前,字体大小设置为16及以上,打出emoji就不会跳。但是小于16就肯定会跳。
|
上报前请检查
操作系统信息
描述遇到的问题
候选项中出现emoji时导致输入法行高增加。具体情况与鼠须管中已经解决的issue一致(鼠须管已经在2021年修复该bug::rime/squirrel#559 )。希望可以跟进修复这个bug。
The text was updated successfully, but these errors were encountered: