text-metrics
text-metrics copied to clipboard
An efficient text measurement set for the browser
Bumps [ejs](https://github.com/mde/ejs) from 3.1.8 to 3.1.10. Release notes Sourced from ejs's releases. v3.1.10 Version 3.1.10 v3.1.9 Version 3.1.9 Commits d3f807d Version 3.1.10 9ee26dd Mocha TDD e469741 Basic pollution protection 715e950...
Is there a way to get `text-metrics` to include every whitespace when computing the width of a string? With strings that are all whitespace or mostly whitespace, the width that...
replaces https://github.com/bezoerb/text-metrics/pull/1 i cant run the tests here : `[Error: Canvas support required]`
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...
I think it could be cool to split a word by length when it's too long. The idea will be to split a long word each part should have given...
For my use case I need to the metrics to include whitespace characters in the of the string. Currently does not seem to be possible, since it calls .trim() on...
Bumps [ws](https://github.com/websockets/ws) from 8.14.2 to 8.17.1. Release notes Sourced from ws's releases. 8.17.1 Bug fixes Fixed a DoS vulnerability (#2231). A request with a number of headers exceeding the[server.maxHeadersCount][] threshold...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...