095484bc616cbbec0345db69e7e6b7f410676e40 galt Fri Dec 2 18:20:49 2011 -0800 added monospace font option to phyloGif diff --git src/inc/memgfx.h src/inc/memgfx.h index 0cdb625..c3c3952 100644 --- src/inc/memgfx.h +++ src/inc/memgfx.h @@ -272,30 +272,33 @@ MgFont *mgHelveticaBold8Font(); MgFont *mgHelveticaBold10Font(); MgFont *mgHelveticaBold12Font(); MgFont *mgHelveticaBold14Font(); MgFont *mgHelveticaBold18Font(); MgFont *mgHelveticaBold24Font(); MgFont *mgHelveticaBold34Font(); MgFont *mgTimes8Font(); MgFont *mgTimes10Font(); MgFont *mgTimes12Font(); MgFont *mgTimes14Font(); MgFont *mgTimes18Font(); MgFont *mgTimes24Font(); MgFont *mgTimes34Font(); +/* free Meslo font */ +MgFont *mgMenloMediumFont(); + void mgText(struct memGfx *mg, int x, int y, Color color, MgFont *font, char *text); /* Draw a line of text with upper left corner x,y. */ void mgTextCentered(struct memGfx *mg, int x, int y, int width, int height, Color color, MgFont *font, char *text); /* Draw a line of text centered in box defined by x/y/width/height */ void mgTextRight(struct memGfx *mg, int x, int y, int width, int height, Color color, MgFont *font, char *text); /* Draw a line of text right justified in box defined by x/y/width/height */ int mgFontPixelHeight(MgFont *font); /* How high in pixels is font? */