Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

best effort fit #11

Open
ghostsquad opened this issue Jul 15, 2015 · 1 comment
Open

best effort fit #11

ghostsquad opened this issue Jul 15, 2015 · 1 comment
Labels

Comments

@ghostsquad
Copy link

I've found that long words that have a large font size get left out if removeOverflowing is set to true. The problem is, those words are the most important words. I'd rather see smaller words get left out than bigger words. It would be nice to see a feature that does a best-effort fit of words based on weight within the height/width constraints of the box.

@mistic100
Copy link
Owner

Unfortunately I'm not the author of the algorithm, and I don't have time to review it, any improvement is really welcomed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants