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

add parameter for chance to avoid linespacing flickering #1177

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

fxliang
Copy link
Contributor

@fxliang fxliang commented Apr 8, 2024

add param: style/layout/baseline: {int} and style/layout/linespacing: {int}, chance to avoid candidate height/width flickering by adjudging baseline position and linespacing (percentage of font point). default both 0 to disable adjudging.

fixed: #1175
fixed: #866

patch file example

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

…ng: {int}`, chance to avoid candidate height/width flickering by adjudging baseline position and linespacing (percentage of font point). default both 0 to disable adjudging.
@fxliang fxliang changed the title attempt to avoid linespacing flickering attempt to avoid linespacing flickering[more testing needed] Apr 8, 2024
@fxliang fxliang changed the title attempt to avoid linespacing flickering[more testing needed] add parameter for chance to avoid linespacing flickering Apr 14, 2024
@fxliang fxliang merged commit b5fc01d into rime:master Apr 14, 2024
1 check passed
@fxliang fxliang deleted the baseline branch April 14, 2024 17:07
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

Successfully merging this pull request may close these issues.

候选项中出现emoji时导致输入法行高增加 有表情和没表情的高度不一致
1 participant