Improve documentation of `lsb_delta' and `rsb_delta' (#19044).

This commit is contained in:
Werner Lemberg 2016-11-17 08:04:52 +01:00
parent 48c77da382
commit 9e7748f55c
1 changed files with 6 additions and 1 deletions

View File

@ -1731,7 +1731,6 @@ FT_BEGIN_HEADER
/* position (e.g., coordinates (0,0) on the baseline). Of course, */ /* position (e.g., coordinates (0,0) on the baseline). Of course, */
/* `slot->format' is also changed to @FT_GLYPH_FORMAT_BITMAP. */ /* `slot->format' is also changed to @FT_GLYPH_FORMAT_BITMAP. */
/* */ /* */
/* <Note> */
/* Here is a small pseudo code fragment that shows how to use */ /* Here is a small pseudo code fragment that shows how to use */
/* `lsb_delta' and `rsb_delta': */ /* `lsb_delta' and `rsb_delta': */
/* */ /* */
@ -1759,6 +1758,12 @@ FT_BEGIN_HEADER
/* endfor */ /* endfor */
/* } */ /* } */
/* */ /* */
/* If you use strong auto-hinting, you *must* apply these delta */
/* values! Otherwise you will experience far too large inter-glyph */
/* spacing at small rendering sizes in most cases. Note that it */
/* doesn't harm to use the above code for other hinting modes also, */
/* since the delta values are zero then. */
/* */
typedef struct FT_GlyphSlotRec_ typedef struct FT_GlyphSlotRec_
{ {
FT_Library library; FT_Library library;