diff --git a/addons/xterm-addon-canvas/src/BaseRenderLayer.ts b/addons/xterm-addon-canvas/src/BaseRenderLayer.ts index 18130f1f..facce8c0 100644 --- a/addons/xterm-addon-canvas/src/BaseRenderLayer.ts +++ b/addons/xterm-addon-canvas/src/BaseRenderLayer.ts @@ -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 );