mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #4305 from Tyriar/4221
Fix line height and letter spacing on canvas renderer
This commit is contained in:
@@ -392,8 +392,8 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer
|
||||
glyph.texturePosition.y,
|
||||
glyph.size.x,
|
||||
glyph.size.y,
|
||||
x * this._deviceCellWidth - glyph.offset.x,
|
||||
y * this._deviceCellHeight - glyph.offset.y,
|
||||
x * this._deviceCellWidth + this._deviceCharLeft - glyph.offset.x,
|
||||
y * this._deviceCellHeight + this._deviceCharTop - glyph.offset.y,
|
||||
glyph.size.x,
|
||||
glyph.size.y
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user