diff options
author | Werner Lemberg <wl@gnu.org> | 2022-02-05 09:06:39 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2022-02-06 21:06:52 +0100 |
commit | 24db55ecb81ca726b9c7e12e37d54a986c84f014 (patch) | |
tree | c58d1f0849ee39701978e0cf2cd7c3e1432d5b69 /include | |
parent | a173aead31af672ea8777700d59f776097a5b244 (diff) | |
download | freetype2-24db55ecb81ca726b9c7e12e37d54a986c84f014.tar.gz |
Various minor doc fixes.
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/ftglyph.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h index b6071369b..6b77bd3d2 100644 --- a/include/freetype/ftglyph.h +++ b/include/freetype/ftglyph.h @@ -584,9 +584,9 @@ FT_BEGIN_HEADER * The glyph image is translated with the `origin` vector before * rendering. * - * The first parameter is a pointer to an @FT_Glyph handle, that will be + * The first parameter is a pointer to an @FT_Glyph handle that will be * _replaced_ by this function (with newly allocated data). Typically, - * you would use (omitting error handling): + * you would do something like the following (omitting error handling). * * ``` * FT_Glyph glyph; @@ -603,7 +603,7 @@ FT_BEGIN_HEADER * if ( glyph->format != FT_GLYPH_FORMAT_BITMAP ) * { * error = FT_Glyph_To_Bitmap( &glyph, FT_RENDER_MODE_NORMAL, - * 0, 1 ); + * 0, 1 ); * if ( error ) // `glyph' unchanged * ... * } @@ -618,7 +618,7 @@ FT_BEGIN_HEADER * FT_Done_Glyph( glyph ); * ``` * - * Here is another example, again without error handling: + * Here is another example, again without error handling. * * ``` * FT_Glyph glyphs[MAX_GLYPHS] |