Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
4e079f63
by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-04-27T20:07:36-04:00
1 changed file:
Changes:
... | ... | @@ -830,7 +830,8 @@ FT_BEGIN_HEADER |
830 | 830 | * the result clamped to the 8-bit range [0..255]. Therefore, 'spread'
|
831 | 831 | * is also the maximum euclidean distance from the edge after which the
|
832 | 832 | * values are clamped. The spread is specified in pixels with the
|
833 | - * default value of 8.
|
|
833 | + * default value of 8. For accurate SDF texture mapping (interpolation),
|
|
834 | + * the spread should be large enough to accommodate the target grid unit.
|
|
834 | 835 | *
|
835 | 836 | * @example:
|
836 | 837 | * The following example code demonstrates how to set the SDF spread
|