xrr_measure_cell_width (void *xr_, const struct table_cell *cell,
int *min_width, int *max_width)
{
+ if (cell->options & TABLE_CELL_PADDING)
+ {
+ *min_width = *max_width = XR_LINE_WIDTH;
+ return;
+ }
+
struct xr_fsm *xr = xr_;
int bb[TABLE_N_AXES][2];
int clip[TABLE_N_AXES][2];
static int
xrr_measure_cell_height (void *xr_, const struct table_cell *cell, int width)
{
+ if (cell->options & TABLE_CELL_PADDING)
+ return XR_LINE_WIDTH;
+
struct xr_fsm *xr = xr_;
const int (*margin)[2] = cell->cell_style->margin;