From: Matthew Fernandez Date: Wed, 21 Dec 2022 05:44:47 +0000 (-0800) Subject: smyrna: remove unused 'FontSize' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a031f7f778d903e508a44a30c5194ea9dd91c5b2;p=graphviz smyrna: remove unused 'FontSize' --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 5f1a3bfd3..a1c012ed6 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -357,10 +357,6 @@ typedef struct int bdVisible; //if borders are visible (boundries of the drawing, /*border coordinates, needs to be calculated for each graph */ - /*Font Size */ - float FontSize; - - float bdxLeft, bdyTop; float bdxRight, bdyBottom; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 8fdfa820b..5321eb520 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -165,8 +165,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) { /*default line width */ vi->LineWidth = (float) atof(get_attribute_value("defaultlinewidth", vi, g)); - vi->FontSize = - (float) atof(get_attribute_value("defaultfontsize", vi, g)); vi->mg.width = atoi(get_attribute_value("defaultmagnifierwidth", vi, g)); @@ -327,7 +325,6 @@ void init_viewport(ViewInfo * view) view->zoom = -20; - view->FontSize = 52; view->mg.active = 0; view->mg.x = 0;