xterm-addon-webgl
Advanced tools
Comparing version 0.12.0-beta.15 to 0.12.0-beta.16
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.12.0-beta.15", | ||
"version": "0.12.0-beta.16", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -7,3 +7,3 @@ /** | ||
import { ICharAtlasConfig } from './Types'; | ||
import { DIM_OPACITY } from 'browser/renderer/atlas/Constants'; | ||
import { DIM_OPACITY, TEXT_BASELINE } from 'browser/renderer/atlas/Constants'; | ||
import { IRasterizedGlyph, IBoundingBox, IRasterizedGlyphSet } from '../Types'; | ||
@@ -372,3 +372,3 @@ import { DEFAULT_COLOR, Attributes } from 'common/buffer/Constants'; | ||
`${fontStyle} ${fontWeight} ${this._config.fontSize * this._config.devicePixelRatio}px ${this._config.fontFamily}`; | ||
this._tmpCtx.textBaseline = 'ideographic'; | ||
this._tmpCtx.textBaseline = TEXT_BASELINE; | ||
@@ -375,0 +375,0 @@ this._tmpCtx.fillStyle = this._getForegroundCss(bg, bgColorMode, bgColor, fg, fgColorMode, fgColor, inverse, bold); |
@@ -10,2 +10,3 @@ /** | ||
import { IColorSet } from 'browser/Types'; | ||
import { TEXT_BASELINE } from 'browser/renderer/atlas/Constants'; | ||
import { IRenderDimensions } from 'browser/renderer/Types'; | ||
@@ -228,3 +229,3 @@ import { CellData } from 'common/buffer/CellData'; | ||
this._ctx.font = this._getFont(terminal, false, false); | ||
this._ctx.textBaseline = 'ideographic'; | ||
this._ctx.textBaseline = TEXT_BASELINE; | ||
this._clipRow(terminal, y); | ||
@@ -231,0 +232,0 @@ this._ctx.fillText( |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
480259
22
3098