An instance of ft_lib was missed.

SVN revision: 8444
This commit is contained in:
rbdpngn 2004-01-15 14:58:03 +00:00 committed by rbdpngn
parent 84736e7845
commit 4436026ac6
4 changed files with 4 additions and 8 deletions

View File

@ -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)
{

View File

@ -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;

View File

@ -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 @@ evas_common_font_init(void)
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 @@ evas_common_font_shutdown(void)
initialised--;
if (initialised != 0) return;
error = FT_Done_FreeType(ft_lib);
error = FT_Done_FreeType(evas_ft_lib);
}
int

View File

@ -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)