search for: fontnum

Displaying 1 result from an estimated 1 matches for "fontnum".

Did you mean: folnum
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...) && R_TRANSPARENT(pd->col)) { free(dd); @@ -5108,7 +5114,7 @@ fprintf(fp, "4 %d ", (int)floor(2*hadj)); /* Text, how justified */ fprintf(fp, "%d 100 0 ", XF_SetColor(gc->col, pd)); /* color, depth, pen_style */ - fprintf(fp, "%d %d %.4f 4 ", fontnum, (int)size, rot * DEG2RAD); + fprintf(fp, "%d %d %.4f %d ", pd->defaultfont?-1:fontnum, (int)size, rot * DEG2RAD,pd->textspecial?6:4); /* font pointsize angle flags (Postscript font) */ fprintf(fp, "%d %d ", (int)(size*12), (int)(16.667*XFig_StrWidth(str, gc, d...