respect dpr/charWidth changes, more accurate base measuring

This commit is contained in:
Jörg Breitbart
2023-07-30 13:27:28 +02:00
parent 64d04f0712
commit b358754b46
3 changed files with 14 additions and 3 deletions
@@ -391,6 +391,11 @@ export class DomRendererRowFactory {
}
// apply letter-spacing rule
if (spacing) {
/**
* TODO:
* - check if we can ignore tiny spacings here (saves ~400ms)
* - check if we can apply a global spacing to rows element
*/
charElement.style.letterSpacing = `${spacing}px`;
}