edbee-lib icon indicating copy to clipboard operation
edbee-lib copied to clipboard

Rendering issues when selecting Chinese characters

Open vadi2 opened this issue 5 years ago • 2 comments

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

vadi2 avatar Sep 17 '20 15:09 vadi2

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 avatar Sep 22 '20 11:09 gamecreature

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

gamecreature avatar Oct 15 '20 18:10 gamecreature