public MultiLineLabelVisual(Core core, String fontRes, double width, double height) {
		
		
		this.ttf = (TrueTypeFont) ResourceService.getInstance(core).getResource(fontRes);
		this.width = width;
		this.height = height;
		
		int nLines = (int) (this.height / (ttf.getHeight() * LINE_SPACE));
		this.lines = new StringBuffer[nLines];
		for (int i = 0; i < nLines; ++i) {
			this.lines[i] = new StringBuffer();
		}
		
		if (this.lines.length == 0) {
			throw new RuntimeException("dimension to small for text output");
		}
		
		this.curX = 0;
		this.curY = 0;
	}