eg. @erowidrecruiter
Show HN: TypeSlab – simple, shareable typographic posters
11–20 of 41 posts
Re: Show HN: TypeSlab – simple, shareable typographic posters
#12Re: Show HN: TypeSlab – simple, shareable typographic posters
#13It'd be nice if the actual height of characters was taken into acount. Try: MY NAME är tårta
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
You might benefit from the same approach :)
Re: Show HN: TypeSlab – simple, shareable typographic posters
#14Re: Show HN: TypeSlab – simple, shareable typographic posters
#15Re: Show HN: TypeSlab – simple, shareable typographic posters
#16Re: Show HN: TypeSlab – simple, shareable typographic posters
#17Re: Show HN: TypeSlab – simple, shareable typographic posters
#18Re: Show HN: TypeSlab – simple, shareable typographic posters
#19Earlier quoted context omitted.
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
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 :)