Tabletop-Mirror / Issues-and-Tasks

0 stars 0 forks source link

Better Support Alternative Units for Font Size Scaling for PDF Exports #98

Open VarunS1997 opened 3 weeks ago

VarunS1997 commented 3 weeks ago

When we do a PDF export, we construct a font-size before issuing the request to create a PDF.

That happens on line 32 of pdf.util.ts (buildSizeFromFontSize).

Right now, we do a rough conversion from px units to pts, but we do absolutely nothing about other kinds of units. So we should revisit this and better handle weird units.