unsigned int dpi;
Font_Source *src;
void *ft;
- Fash_Glyph *glyphs;
+ Fash_Glyph2 *glyphs;
Eina_Inlist *caches;
Font_Cache *last_cache;
Eina_Bool unused : 1;
unsigned int rid; // open
Eina_Hash *glyphs_maps;
- Fash_Glyph *fash[3]; // one per hinting value
+ Fash_Glyph2 *fash[3]; // one per hinting value
Eina_Clist glyphs_queue;
int glyphs_queue_count;
Eina_Bool
evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints)
{
- Fash_Glyph *fash;
+ Fash_Glyph2 *fash;
CS_Glyph_Out *glyph;
if (fe->rid)
Eina_Bool
evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints)
{
- Fash_Glyph *fash;
+ Fash_Glyph2 *fash;
CS_Glyph_Out *glyph;
if (fe->rid)
RGBA_Font_Glyph_Out *
evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints)
{
- Fash_Glyph *fash;
+ Fash_Glyph2 *fash;
CS_Glyph_Out *out;
if (fe->failed)
Fash_Glyph_Map *bucket[256];
};
-struct _Fash_Glyph
+struct _Fash_Glyph2
{
Fash_Glyph_Map2 *bucket[256];
void (*free_cb)(void *glyph);
};
static void
-_fash_item_free(Fash_Glyph *fash, Fash_Glyph_Map *map)
+_fash_item_free(Fash_Glyph2 *fash, Fash_Glyph_Map *map)
{
int i;
}
static void
-_fash_gl2_free(Fash_Glyph *fash, Fash_Glyph_Map2 *fash2)
+_fash_gl2_free(Fash_Glyph2 *fash, Fash_Glyph_Map2 *fash2)
{
int i;
}
void
-fash_gl_free(Fash_Glyph *fash)
+fash_gl_free(Fash_Glyph2 *fash)
{
int i;
free(fash);
}
-Fash_Glyph *
+Fash_Glyph2 *
fash_gl_new(void (*free_cb)(void *glyph))
{
- Fash_Glyph *fash = calloc(1, sizeof(Fash_Glyph));
+ Fash_Glyph2 *fash = calloc(1, sizeof(Fash_Glyph2));
fash->free_cb = free_cb;
return fash;
}
void *
-fash_gl_find(Fash_Glyph *fash, int item)
+fash_gl_find(Fash_Glyph2 *fash, int item)
{
int grp, maj, min;
}
void
-fash_gl_add(Fash_Glyph *fash, int item, void *glyph)
+fash_gl_add(Fash_Glyph2 *fash, int item, void *glyph)
{
int grp, maj, min;
}
void
-fash_gl_del(Fash_Glyph *fash, int item)
+fash_gl_del(Fash_Glyph2 *fash, int item)
{
int grp, maj, min;
void *data;
#ifndef _EVAS_CSERVE2_UTILS_H_
#define _EVAS_CSERVE2_UTILS_H_
-typedef struct _Fash_Glyph Fash_Glyph;
+typedef struct _Fash_Glyph2 Fash_Glyph2;
-Fash_Glyph *fash_gl_new(void (*free_cb)(void *glyph));
-void fash_gl_free(Fash_Glyph *fash);
-void *fash_gl_find(Fash_Glyph *fash, int item);
-void fash_gl_add(Fash_Glyph *fash, int item, void *glyph);
-void fash_gl_del(Fash_Glyph *fash, int item);
+Fash_Glyph2 *fash_gl_new(void (*free_cb)(void *glyph));
+void fash_gl_free(Fash_Glyph2 *fash);
+void *fash_gl_find(Fash_Glyph2 *fash, int item);
+void fash_gl_add(Fash_Glyph2 *fash, int item, void *glyph);
+void fash_gl_del(Fash_Glyph2 *fash, int item);
#endif /* EVAS_CSERVE2_UTILS_H_ */