From: ellson Date: Sat, 1 Nov 2008 02:57:47 +0000 (+0000) Subject: fix the obvious bugs X-Git-Tag: LAST_LIBGRAPH~32^2~2906 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=314ce81bb80657236ff58963846686dd2c85b5f1;p=graphviz fix the obvious bugs --- diff --git a/lib/glcomp/Makefile.am b/lib/glcomp/Makefile.am index 91cd8f692..5574d5094 100644 --- a/lib/glcomp/Makefile.am +++ b/lib/glcomp/Makefile.am @@ -6,10 +6,10 @@ AM_CPPFLAGS = \ $(GTK_CFLAGS) $(GTKGL_CFLAGS) $(GTKGLEXT_CFLAGS) $(GLADE_CFLAGS) $(FREETYPE2_CFLAGS) if WITH_SMYRNA -noinst_HEADERS = glcompset.h glcomptexture.h glutils.h \ - glTexFont.h glTexFontDefs.h glTexFontInclude.h glTexFontTGA.h +noinst_HEADERS = glcompset.h glcomptexture.h glutils.h glTexFont.h \ + glTexFontDefs.h glTexFontInclude.h glTexFontTGA.h glpangofont.h noinst_LTLIBRARIES = libglcomp_C.la endif libglcomp_C_la_SOURCES = glcompset.c glcomptexture.c glutils.c \ - glTexFont.c glTexFontColor.c glTexFontTGA.c + glTexFont.c glTexFontColor.c glTexFontTGA.c glpangofont.c diff --git a/lib/glcomp/glTexFontColor.c b/lib/glcomp/glTexFontColor.c index 8a3a66540..10c273953 100755 --- a/lib/glcomp/glTexFontColor.c +++ b/lib/glcomp/glTexFontColor.c @@ -12,7 +12,7 @@ Contact -- vandals1@home.com Web -- http://members.home.com/vandals1 */ -#include "glTexfont.h" +#include "glTexFont.h" /* color functions must be defined in texfont->h */ diff --git a/lib/glcomp/glTexFontDefs.h b/lib/glcomp/glTexFontDefs.h index 8e56b14b3..2db027fad 100755 --- a/lib/glcomp/glTexFontDefs.h +++ b/lib/glcomp/glTexFontDefs.h @@ -34,7 +34,7 @@ #define fontColorCopy(a,b) {b[0]= a[0]; b[1]= a[1]; b[2]= a[2]; b[3]= a[3];} /* copys colors */ /* various functions used by the library, see texFont.c for info */ -void fontDrawChar (texFont_t* font,char c, int x, int y, int size, int shadow); +void fontDrawChar (texFont_t* font,char c, GLfloat x, GLfloat y, GLfloat size, int shadow); void fontScissorNormal (texFont_t* font,int xpos, int ypos, int tabs, int carrage, int size, int len); int fontSetColorFromToken (texFont_t* font,char *s); int fontGetCharHits (char *s, char f); @@ -44,4 +44,4 @@ void fontReset (texFont_t* font); void fontScissorTextRegion (texFont_t* font); int fontItalicsMode (texFont_t* font,char *s); int fontBoldMode (texFont_t* font,char *s); -void fontRenderChar (texFont_t* font,char c, int x, int y, int size); +void fontRenderChar (texFont_t* font,char c, GLfloat x, GLfloat y, GLfloat size);