bezoerb / text-metrics

An efficient text measurement set for the browser
MIT License
64 stars 5 forks source link

Baseline measurement #9

Open ioRekz opened 4 years ago

ioRekz commented 4 years ago

Hello, I'd like to know if you know/considered calculating the baseline height of a text. My use case would be to align the baseline (of each line?) to other elements in a design tool.

This library is already useful for calculating height and width so thanks already!

bezoerb commented 3 years ago

Hey @ioRekz thanks for using text-metrics. I don't really know how to calculate this ;) If you have any ideas i'd be happy to know