pango_layout_set_font_description (layout, desc);
const char *text = cell->text;
+ printf ("rendering \"%s\" in %s\n", text, pango_font_description_to_string (desc));
enum table_halign halign = table_halign_interpret (
cell_style->halign, cell->options & TAB_NUMERIC);
if (cell_style->halign == TABLE_HALIGN_DECIMAL && !(options & TAB_ROTATE))
for (size_t i = 0; i < XR_N_FONTS; i++)
xr->style->fonts[i] = pango_font_description_copy (xr->fonts[i].desc);
+ printf ("%s\n%s\n",
+ pango_font_description_to_string (xr->fonts[0].desc),
+ pango_font_description_to_string (xr->fonts[1].desc));
}
if (!xr->systemcolors)
cairo_save (xr->cairo);
cairo_translate (xr->cairo, 0, xr_to_pt (xr->y));
int used = xr_fsm_draw_slice (xr->fsm, xr->cairo, xr->length - xr->y);
+ printf ("draw slice at %d -> size %d\n", xr->y, used);
xr->y += used;
cairo_restore (xr->cairo);