docs: protected void finishBox()
      {
      	if (textLine.length() > 0)
      	{
              String s;
              if (isReversed(Character.getDirectionality(textLine.charAt(0))))
                  s = textLine.reverse().toString();
              else
                  s = textLine.toString();
  
              curstyle.setLeft(textMetrics.getX());
              curstyle.setTop(textMetrics.getTop());
              curstyle.setLineHeight(textMetrics.getHeight());
  
  	        renderText(s, textMetrics);
  	        textLine = new StringBuilder();
  	        textMetrics = null;
      	}
      }