Closed omerts closed 3 years ago
Hey,
Thanks for the lib, really helpful. Seems like there is a small bug with the conversion from pts to inch. Current implementation:
return value / (96 / 72);
Should be:
return value * (96 / 72);
Created https://github.com/bezoerb/text-metrics/pull/14
Good catch 😊 PR is merged. Thanks @omerts
Hey,
Thanks for the lib, really helpful. Seems like there is a small bug with the conversion from pts to inch. Current implementation:
Should be: