Hi,

This patch does:

include/freetype/freetype.h (FT_Set_Transform): Minor documentation
update.

src/base/ftobjs.c (ft_glyphslot_clear): Remove outdated comment.


As for the removed comment in ft_glyphslot_clear, it says "don't touch
slot->bitmap.buffer", but slot->bitmap.buffer is set to NULL by FT_FREE
in ft_glyphslot_free_bitmap.  So I think the comment is outdated.

-- 
Regards,
olv
=== include/freetype/freetype.h
==================================================================
--- include/freetype/freetype.h  (revision 964)
+++ include/freetype/freetype.h  (patch - level 1)
@@ -2370,8 +2370,8 @@
   /*                                                                       */
   /* <Description>                                                         */
   /*    A function used to set the transformation that is applied to glyph */
-  /*    images just before they are converted to bitmaps in a glyph slot   */
-  /*    when @FT_Render_Glyph is called.                                   */
+  /*    images when they are loaded into a glyph slot throught             */
+  /*    @FT_Load_Glyph.                                                    */
   /*                                                                       */
   /* <InOut>                                                               */
   /*    face   :: A handle to the source face object.                      */
=== src/base/ftobjs.c
==================================================================
--- src/base/ftobjs.c  (revision 964)
+++ src/base/ftobjs.c  (patch - level 1)
@@ -292,7 +292,6 @@
     slot->bitmap.rows  = 0;
     slot->bitmap.pitch = 0;
     slot->bitmap.pixel_mode = 0;
-    /* don't touch 'slot->bitmap.buffer'! */
 
     slot->bitmap_left   = 0;
     slot->bitmap_top    = 0;
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to