50 |
return h % HASH_SIZE; |
return h % HASH_SIZE; |
51 |
} |
} |
52 |
|
|
|
|
|
53 |
static GlyphCache *get_cached_glyph(QEFont *font, int index) |
static GlyphCache *get_cached_glyph(QEFont *font, int index) |
54 |
{ |
{ |
55 |
GlyphCache *p; |
GlyphCache *p; |
185 |
font1 = select_font(s, font->style | (1 << QE_FAMILY_FALLBACK_SHIFT), |
font1 = select_font(s, font->style | (1 << QE_FAMILY_FALLBACK_SHIFT), |
186 |
font->size); |
font->size); |
187 |
g = fbf_decode_glyph1(font1, code); |
g = fbf_decode_glyph1(font1, code); |
188 |
|
release_font(s, font1); |
189 |
if (!g) |
if (!g) |
190 |
return NULL; |
return NULL; |
191 |
/* indicates that it is a fallback glyph so that the |
/* indicates that it is a fallback glyph so that the |