int status;
VerticalText vt = new VerticalText(cb);
vt.setVerticalLayout(x, y, height, maxLines, leading);
vt.addText(new Chunk(texts[idx++], new LwgFont(bf, 20)));
vt.addText(new Chunk(texts[idx++], new LwgFont(bf, 20, 0, Color.blue)));
status = vt.go();
System.out.println(status);
vt.setAlignment(LwgElement.ALIGN_RIGHT);
vt.addText(new Chunk(texts[idx++], new LwgFont(bf, 20, 0, Color.orange)));
status = vt.go();
System.out.println(status);