Commit 1275838f authored by Emden R. Gansner's avatar Emden R. Gansner

Remove warning for big images in fixed-size cells; images are always scaled down to fit.

parent 1d1bdec6
......@@ -1154,7 +1154,7 @@ size_html_cell(graph_t * g, htmlcell_t * cp, htmltbl_t * parent,
if (cp->data.flags & FIXED_FLAG) {
if (cp->data.width && cp->data.height) {
if ((cp->data.width < sz.x) || (cp->data.height < sz.y)) {
if (((cp->data.width < sz.x) || (cp->data.height < sz.y)) && (cp->child.kind != HTML_IMAGE)) {
agerr(AGWARN, "cell size too small for content\n");
rv = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment