Improve performance #80

Open
opened 2024-01-09 05:38:58 +00:00 by thisloke · 0 comments
thisloke commented 2024-01-09 05:38:58 +00:00 (Migrated from github.com)

Problem:
It's seems that the approach that we're using now, so, checking the font overflow to find the font size that permit the text to fit into the container, it's very slow.

It should be nice to share here some method (linear in time or lower) that permit to compute the right font for the text.
Feel free to share any suggestion.

**Problem:** It's seems that the approach that we're using now, so, **checking the font overflow to find the font size that permit the text to fit into the container**, it's very slow. It should be nice to share here some method (linear in time or lower) that permit to compute the right font for the text. Feel free to share any suggestion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: loke/ng2-fittext#80
No description provided.