function createPaths(text)
	{
		var chars = String(text).split("");
		var scale = size / data.resolution;
		var lineHeight = (data.boundingBox.yMax - data.boundingBox.yMin) * scale;
		
		var offsetX = 0, offsetY = 0;
		var paths = [];

		for (var i = 0; i < chars.length; i++)
		{
			var char = chars[i];

			if (char === "\n")
			{
				offsetY -= lineHeight;
				offsetX = 0;
			}
			else
			{
				var ret = createPath(char, scale, offsetX, offsetY);
				offsetX += ret.width;

				paths.push(ret.path);
			}
		}

		return paths;
	}
Generate shapes from font data.

The shapes generated can be extruded to create 3D geometry.

@method generateShapes
@param {string} text
@param {number} size
@param {number} divisions
@return {Array} paths