Re:Show HN: TypeSlab – simple, shareable typographic posters
by geelen on Monday April 13, 2015 @06:09AM
(#9366769)
Yep! I really wanted this, but it's a bit more work. HTML5 canvas has a `measureText` method but it only returns width, so there's a few cases where the text will escape the box. The logic is really simple for now, but I'll hope to improve it in future.
Would you mind submitting an issue with a screenshot of your text not rendering correctly? https://github.com/geelen/typeslab/issues
Re:Show HN: TypeSlab – simple, shareable typographic posters
by hantusk on Monday April 13, 2015 @07:19AM
(#9366964)
Jason Davis explains how he gets the font size information for his d3.js word cloud here: http://www.jasondavies.com/wordcloud/about/
You might benefit from the same approach :)
MY NAME
är tårta