private int getTextBlockHeight (Graphics2D g2d, String t) {

		if ((t == null) || (t.equals(""))) {
			return 0;
		}
        TextLayout tl = new TextLayout(t, 
        		MainWindow.setupData.getPrintElementSetupList().getPrintElementSetup (PrintElementSetupList.FONT_SUMMARY_SHEET).getPrintFont(), 
        		g2d.getFontRenderContext());
        String[] outputs = t.split("\n");
        int y = 0;
        for(int l=0; l<outputs.length; l++){
            y += tl.getBounds().getHeight()*1.3;
        }
        return y;
	}