/[qemacs]/qemacs/fbfrender.c
ViewVC logotype

Diff of /qemacs/fbfrender.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by chqrlie, Wed May 11 15:48:31 2005 UTC revision 1.3 by chqrlie, Fri May 13 10:05:24 2005 UTC
# Line 50  static inline int glyph_hash(int index, Line 50  static inline int glyph_hash(int index,
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;
# Line 186  GlyphCache *decode_cached_glyph(QEditScr Line 185  GlyphCache *decode_cached_glyph(QEditScr
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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26