From: ellson Date: Mon, 4 Feb 2008 20:08:20 +0000 (+0000) Subject: add "Special text" bit to font_flags to support current usage by X-Git-Tag: LAST_LIBGRAPH~32^2~4771 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=475e6a35dbe44d10f57ed9595b78785740ac1a4d;p=graphviz add "Special text" bit to font_flags to support current usage by Peter Sewell --- diff --git a/plugin/core/gvrender_core_fig.c b/plugin/core/gvrender_core_fig.c index cc51737ea..18b12f075 100644 --- a/plugin/core/gvrender_core_fig.c +++ b/plugin/core/gvrender_core_fig.c @@ -257,7 +257,11 @@ static void fig_textpara(GVJ_t * job, pointf p, textpara_t * para) int font = -1; /* init to xfig's default font */ double font_size = para->fontsize * job->zoom; double angle = job->rotation ? (PI / 2.0) : 0.0; - int font_flags = 4; /* PostScript font */ + int font_flags = 6; /* PostScript font + Special text */ +/* Special text indicates that latex markup may exist + * in the output - but note that dot knows nothing about latex, + * so the node sizes may be wrong. + */ double height = 0.0; double length = 0.0;