ColumnText.setSimpleColumn() Y values in rectangle
Note: I’m posting this so it’s in the email archives for anyone searching on this in the future.
In the call ColumnText.setSimpleColumn(), while the X parameters passed in are the left and right limits of the text to be rendered, the Y parameter is the baseline for the text, not a boundary. The values used internally by iText in ColumnText.showTextAligned are Y – 1 and Y + 2 where Y is the baseline.
The baseline is the location of the bottom of a character that has no descender such as A.