summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_client.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-08-27 15:35:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:14 +0900
commit50be9145a1d6706ae0aaa5a81211e214d37422fd (patch)
tree83b1a60e3a84652489a9e5dfc5af7aa551a84f64 /src/lib/evas/cserve2/evas_cs2_client.c
parent1a324754fd886cbb03c09e7cba81d5ad36938143 (diff)
evas/cserve2: Small performance fixes
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2_client.c')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index 4a005215ad..01bd8b74d0 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -1447,13 +1447,15 @@ _font_entry_glyph_map_rebuild_check(Font_Entry *fe, Font_Hint_Flags hints)
1447 fe->map->mempool.data + gl->offset; 1447 fe->map->mempool.data + gl->offset;
1448 gl->base.bitmap.num_grays = gd->num_grays; 1448 gl->base.bitmap.num_grays = gd->num_grays;
1449 gl->base.bitmap.pixel_mode = gd->pixel_mode; 1449 gl->base.bitmap.pixel_mode = gd->pixel_mode;
1450 gl->idx = gd->index;
1450 gl->rid = 0; 1451 gl->rid = 0;
1451 1452
1452 eina_clist_add_head(&fe->map->glyphs, &gl->map_entry); 1453 eina_clist_add_head(&fe->map->glyphs, &gl->map_entry);
1453 fash_gl_add(fe->fash[hints], gd->index, gl); 1454 fash_gl_add(fe->fash[hints], gd->index, gl);
1454 cnt++; 1455 cnt++;
1455 } 1456 }
1456 DBG("Added %d glyphs to the font hash (out of %d scanned)", cnt, tot); 1457 if (cnt)
1458 DBG("Added %d glyphs to the font hash (out of %d scanned)", cnt, tot);
1457 } 1459 }
1458 1460
1459 return cnt; 1461 return cnt;