]> granicus.if.org Git - graphviz/commitdiff
Fix bug in html font code
authorerg <devnull@localhost>
Fri, 5 Nov 2010 01:08:16 +0000 (01:08 +0000)
committererg <devnull@localhost>
Fri, 5 Nov 2010 01:08:16 +0000 (01:08 +0000)
lib/common/htmltable.c

index f7ae240cf5f187bb0f3e8b538f9a2108b0b018b6..94c3d0951cf33c4089b8aa15f488136eda43a41b 100644 (file)
@@ -788,6 +788,7 @@ size_html_txt(graph_t *g, htmltxt_t* ftxt, htmlenv_t* env)
            } else {
                fsize = env->finfo.size;
                fname = env->finfo.name;
+               lp.font->flags = 0;
            }
            sz = textsize(g, &lp, fname, fsize);
            free (ftxt->paras[i].items[j].str);