fix BCE render bug in canvas renderer

This commit is contained in:
jerch
2023-03-15 15:41:44 +01:00
committed by GitHub
parent a359c7ca10
commit 49fdacba6a
@@ -96,10 +96,11 @@ export class TextRenderLayer extends BaseRenderLayer {
} }
// exit early for NULL and SP // exit early for NULL and SP
const code = cell.getCode(); // NOTE: commented out due to #4120 (needs a more clever patch to keep things performant)
if (code === 0 || code === 32) { // const code = cell.getCode();
continue; // if (code === 0 || code === 32) {
} // continue;
// }
// Process any joined character ranges as needed. Because of how the // Process any joined character ranges as needed. Because of how the
// ranges are produced, we know that they are valid for the characters // ranges are produced, we know that they are valid for the characters