parent
84736e7845
commit
4436026ac6
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue