shithub: freetype+ttf2subf

Download patch

ref: 2e529bdb95872b9b913d5aa6aaf884da06649165
parent: 1a1750fb8aa4865e428af0f1cc35c625c5fcf9d9
author: Werner Lemberg <[email protected]>
date: Thu Oct 16 19:32:42 EDT 2014

Improve documentation of FT_GlyphSlotRec.

Based on a suggestion by Phil Endecott <[email protected]>.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype.h
+++ b/include/freetype.h
@@ -1570,15 +1570,15 @@
   /*                         change between calls of @FT_Load_Glyph and a  */
   /*                         few other functions.                          */
   /*                                                                       */
-  /*    bitmap_left       :: This is the bitmap's left bearing expressed   */
-  /*                         in integer pixels.  Of course, this is only   */
-  /*                         valid if the format is                        */
-  /*                         @FT_GLYPH_FORMAT_BITMAP.                      */
+  /*    bitmap_left       :: The bitmap's left bearing expressed in        */
+  /*                         integer pixels.  Only valid if the format is  */
+  /*                         @FT_GLYPH_FORMAT_BITMAP, this is, if the      */
+  /*                         glyph slot contains a bitmap.                 */
   /*                                                                       */
-  /*    bitmap_top        :: This is the bitmap's top bearing expressed in */
-  /*                         integer pixels.  Remember that this is the    */
-  /*                         distance from the baseline to the top-most    */
-  /*                         glyph scanline, upwards y~coordinates being   */
+  /*    bitmap_top        :: The bitmap's top bearing expressed in integer */
+  /*                         pixels.  Remember that this is the distance   */
+  /*                         from the baseline to the top-most glyph       */
+  /*                         scanline, upwards y~coordinates being         */
   /*                         *positive*.                                   */
   /*                                                                       */
   /*    outline           :: The outline descriptor for the current glyph  */