Détail du package

char-width-table-consumer

metabolize147.3kMIT1.0.0

Measure text using a character width table

readme

char-width-table-consumer

version license build code style lerna

Measure text using a character width table.

Features

This library allows efficient text measuring using a character width table. Create the tables using companion package char-width-table-builder.

This performs a simple lookup, without considering kerning.

Built with Shields in mind.

License

This project is licensed under the MIT license.

changelog

Changelog

1.0.0 – Apr 12, 2019

  • Update dependencies.
  • Same API as previous release.

0.2.1 – Nov 15, 2018

No external changes.

0.2.0 – Nov 13, 2018

  • Add loadConsumerSync() function.

0.1.0 – Nov 13, 2018

Initial release.