Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_font_draw.c evas_font_load.c evas_font_main.c
evas_font_query.c
Log Message:
An instance of ft_lib was missed.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_draw.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_font_draw.c 15 Jan 2004 06:27:44 -0000 1.7
+++ evas_font_draw.c 15 Jan 2004 14:58:03 -0000 1.8
@@ -1,7 +1,5 @@
#include "evas_common.h"
-extern FT_Library evas_ft_lib;
-
RGBA_Font_Glyph *
evas_common_font_cache_glyph_get(RGBA_Font *fn, FT_UInt index)
{
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_load.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_font_load.c 15 Jan 2004 06:27:44 -0000 1.4
+++ evas_font_load.c 15 Jan 2004 14:58:03 -0000 1.5
@@ -1,6 +1,6 @@
#include "evas_common.h"
-FT_Library evas_ft_lib = 0;
+extern FT_Library evas_ft_lib;
static int font_cache_usage = 0;
static int font_cache = 0;
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_font_main.c 12 Jan 2004 23:48:10 -0000 1.6
+++ evas_font_main.c 15 Jan 2004 14:58:03 -0000 1.7
@@ -1,6 +1,6 @@
#include "evas_common.h"
-FT_Library ft_lib;
+FT_Library evas_ft_lib = 0;
static int initialised = 0;
void
@@ -10,7 +10,7 @@
initialised++;
if (initialised != 1) return;
- error = FT_Init_FreeType(&ft_lib);
+ error = FT_Init_FreeType(&evas_ft_lib);
if (error)
{
initialised--;
@@ -25,7 +25,7 @@
initialised--;
if (initialised != 0) return;
- error = FT_Done_FreeType(ft_lib);
+ error = FT_Done_FreeType(evas_ft_lib);
}
int
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_query.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_font_query.c 15 Jan 2004 06:27:44 -0000 1.9
+++ evas_font_query.c 15 Jan 2004 14:58:03 -0000 1.10
@@ -1,7 +1,5 @@
#include "evas_common.h"
-extern FT_Library evas_ft_lib;
-
/* string extents */
void
evas_common_font_query_size(RGBA_Font *fn, const char *text, int *w, int *h)
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs