Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
24db55ec
by Werner Lemberg at 2022-02-06T21:06:52+01:00
2 changed files:
Changes:
... | ... | @@ -584,9 +584,9 @@ FT_BEGIN_HEADER |
584 | 584 | * The glyph image is translated with the `origin` vector before
|
585 | 585 | * rendering.
|
586 | 586 | *
|
587 | - * The first parameter is a pointer to an @FT_Glyph handle, that will be
|
|
587 | + * The first parameter is a pointer to an @FT_Glyph handle that will be
|
|
588 | 588 | * _replaced_ by this function (with newly allocated data). Typically,
|
589 | - * you would use (omitting error handling):
|
|
589 | + * you would do something like the following (omitting error handling).
|
|
590 | 590 | *
|
591 | 591 | * ```
|
592 | 592 | * FT_Glyph glyph;
|
... | ... | @@ -603,7 +603,7 @@ FT_BEGIN_HEADER |
603 | 603 | * if ( glyph->format != FT_GLYPH_FORMAT_BITMAP )
|
604 | 604 | * {
|
605 | 605 | * error = FT_Glyph_To_Bitmap( &glyph, FT_RENDER_MODE_NORMAL,
|
606 | - * 0, 1 );
|
|
606 | + * 0, 1 );
|
|
607 | 607 | * if ( error ) // `glyph' unchanged
|
608 | 608 | * ...
|
609 | 609 | * }
|
... | ... | @@ -618,7 +618,7 @@ FT_BEGIN_HEADER |
618 | 618 | * FT_Done_Glyph( glyph );
|
619 | 619 | * ```
|
620 | 620 | *
|
621 | - * Here is another example, again without error handling:
|
|
621 | + * Here is another example, again without error handling.
|
|
622 | 622 | *
|
623 | 623 | * ```
|
624 | 624 | * FT_Glyph glyphs[MAX_GLYPHS]
|
... | ... | @@ -2787,11 +2787,12 @@ |
2787 | 2787 | * A function used to load a single glyph within a given glyph slot,
|
2788 | 2788 | * for a given size.
|
2789 | 2789 | *
|
2790 | - * @Input:
|
|
2790 | + * @InOut:
|
|
2791 | 2791 | * glyph ::
|
2792 | 2792 | * A handle to a target slot object where the glyph
|
2793 | 2793 | * will be loaded.
|
2794 | 2794 | *
|
2795 | + * @Input:
|
|
2795 | 2796 | * size ::
|
2796 | 2797 | * A handle to the source face size at which the glyph
|
2797 | 2798 | * must be scaled/loaded.
|