fontdue icon indicating copy to clipboard operation
fontdue copied to clipboard

Rasterize a whole string

Open Inspirateur opened this issue 1 year ago • 3 comments

Hi, I'm making a wordcloud program and I'd like to be able to convert a whole string such as "Hello world" to a bitmap directly, like we can already do with individual chars.
Could this be added to fontdue ?

If this feature is out of scope for the library could you help me in implementing that ?
I'm lost in all the Layout and Metrics parameters and I'm not sure how to interpret them, especially the negative xmin and ymin of Metrics.

Inspirateur avatar Oct 30 '22 10:10 Inspirateur