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

Rendering issues when selecting Chinese characters #110

Open
vadi2 opened this issue Sep 17, 2020 · 2 comments
Open

Rendering issues when selecting Chinese characters #110

vadi2 opened this issue Sep 17, 2020 · 2 comments

Comments

@vadi2
Copy link
Contributor

vadi2 commented Sep 17, 2020

Given this text:

tool.tempid1 = tempTrigger("这里是大理寺", [[speedwalk("se;2s;w;n;et")]], 1)
tool.tempid2 = tempTrigger("这里是盛昌行临安府分店", [[speedwalk("s;e;2n;nw")]], 1)
tool.tempid3 = tempRegexTrigger([[^这里是(\w+)的储物柜.*]], [[speedwalk("out;s;e;2n;nw")]], 1)
tempTimer(0.2, [[send("place")]])
tempTimer(0.4, [[killTrigger(tool.tempid1)]])
tempTimer(0.4, [[killTrigger(tool.tempid2)]])
tempTimer(0.4, [[killTrigger(tool.tempid3

There seems to be some rendering strangeness when selecting text, see: https://streamable.com/7pcz7b

@gamecreature
Copy link
Member

When I look at this, it looks like the distance between the lines is too small.
Selection background is drawn on a per line basis.
Which means the background is drawn over the previous line.

Perhaps this also is the cause of #73. (line height drawing issues)

@gamecreature
Copy link
Member

Checked in My test environment. It renders correctly.
Could you check if the line-height has been decreased?

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

2 participants