When using a drawRect the resulting drawn rectangle looks fine in java, but the resulting pdf export has gaps in the corner points. When the drawRect is replace by four drawLine calls the rectangle is ...