jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.82k stars 1.08k forks source link

Allow changing the dominant baseline #184

Open Harpush opened 1 year ago

Harpush commented 1 year ago

By doing middle baseline the cloud will be perfectly centered while now it can only be centered to baseline.

One possible solution for now is using canvas to get the middle offset from the baseline using measureText and offset all the y positions based on it. But I didn't check to see if it is really applicable.

Harpush commented 8 months ago

@jasondavies any news about this issue or other ones I opened?