diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-03 15:32:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-03 15:32:57 +0000 |
| commit | bddd3fa38464af318768a674e05db1dddde9ea83 (patch) | |
| tree | 2c100d732e6914c0070091e2fafc1fceca75ef68 /doc | |
| parent | selection: fix typo when extending selection to cover double-width character (diff) | |
render: do not allow glyphs to overflow into surrounding cells
This would be done cleaner by using destination clipping in pixman,
but since we have multiple threads rendering cells simultaneously,
that is not possible.
We also cannot use source clipping since we need to offset the
destination x,y coordinates with the glyph offsets.
So, roll our own clipping by not allowing the x,y offsets to go
outside the cell boundaries, and adjusting the glyph offset
accordingly.
Closes #21
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
