Webgl ligature support

Fixes #3094
This commit is contained in:
Daniel Imms
2021-04-02 11:15:57 -07:00
parent cf8a3514bc
commit b03a25f4c7
5 changed files with 109 additions and 17 deletions
-1
View File
@@ -99,7 +99,6 @@ export class TextRenderLayer extends BaseRenderLayer {
// We already know the exact start and end column of the joined range,
// so we get the string and width representing it directly
cell = new JoinedCellData(
this._workCell,
line!.translateToString(true, range[0], range[1]),
@@ -42,7 +42,6 @@ export class DomRendererRowFactory {
const fragment = this._document.createDocumentFragment();
const joinedRanges = this._characterJoinerService.getJoinedCharacters(row);
console.log('joinedRanges', joinedRanges.map(e => e[0] + '->' + e[1]).join(','));
// Find the line length first, this prevents the need to output a bunch of
// empty cells at the end. This cannot easily be integrated into the main
// loop below because of the colCount feature (which can be removed after we
@@ -79,7 +78,6 @@ export class DomRendererRowFactory {
// We already know the exact start and end column of the joined range,
// so we get the string and width representing it directly
cell = new JoinedCellData(
this._workCell,
lineData.translateToString(true, range[0], range[1]),