schickling

schickling/calculate-size

Calculate the pixel size (width/height) of a string (with integrated caching)

TypeScript
121
18
MIT License

calculate-size is a JavaScript library that calculates the pixel dimensions (width and height) of a string, taking into account font properties like font family, size, weight, and line height. It includes integrated caching for improved performance. This tool is ideal for developers working on UI rendering, text layout, or canvas-based applications where precise text measurements are required.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

schickling's profile
schickling
33 contributions
rockon404's profile
rockon404
2 contributions
alexpaxton's profile
alexpaxton
1 contributions
atipunov's profile
atipunov
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet