@ -97,7 +97,6 @@ export class TransformedCanvas2DCtx {
}
set font(font: string) {
console.log(font);
const split = /^([a-z-]*\s+)?([\d.]+)px(\s+.+)$/.exec(font);
if (split) {
this.ctx.font = `${split[1] ?? ""} ${+split[2]! * this.transform.scale}px ${split[3]}`;