mistic100 / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds
mistic100.github.io/jQCloud
MIT License
268 stars 106 forks source link

best effort fit #11

Open ghostsquad opened 9 years ago

ghostsquad commented 9 years ago

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 commented 9 years ago

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