Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_font_draw.c evas_font_query.c 


Log Message:


futzing around with tilan's mono font issue - some commented otu debugging -
use the all caps enum for bitmap fonts now...

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_draw.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- evas_font_draw.c    8 Aug 2007 23:41:31 -0000       1.32
+++ evas_font_draw.c    25 Aug 2007 11:54:17 -0000      1.33
@@ -37,7 +37,7 @@
        free(fg);
        return NULL;
      }
-   if (fg->glyph->format != ft_glyph_format_bitmap)
+   if (fg->glyph->format != FT_GLYPH_FORMAT_BITMAP)
      {
        error = FT_Glyph_To_Bitmap(&(fg->glyph), ft_render_mode_normal, 0, 1);
        if (error)
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_query.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- evas_font_query.c   18 Jun 2007 16:47:20 -0000      1.22
+++ evas_font_query.c   25 Aug 2007 11:54:17 -0000      1.23
@@ -96,6 +96,20 @@
    index = evas_common_font_glyph_search(fn, &fi, gl);
    fg = evas_common_font_int_cache_glyph_get(fi, index);
    if (!fg) return 0;
+/*   
+   printf("fg->glyph_out->left = %i\n"
+         "fi->src->ft.face->glyph->bitmap_left = %i\n"
+         "fi->src->ft.face->glyph->metrics.horiBearingX = %i\n"
+         "fi->src->ft.face->glyph->metrics.horiBearingY = %i\n"
+         "fi->src->ft.face->glyph->metrics.horiAdvance = %i\n"
+         ,
+         (int)fg->glyph_out->left, 
+         (int)fi->src->ft.face->glyph->bitmap_left,
+         (int)fi->src->ft.face->glyph->metrics.horiBearingX >> 6,
+         (int)fi->src->ft.face->glyph->metrics.horiBearingY >> 6,
+         (int)fi->src->ft.face->glyph->metrics.horiAdvance >> 6
+         );
+ */
    return fg->glyph_out->left;
 }
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to