node-canvas-text (npm): Using a provided Opentype.js font object, draws a string, sized to fit inside a given rectangle on an HTML5 canvas
Keywords: canvas|text|fit|squeeze|rectangle|canvas2d