forked from minhngoc25a/freetype2
* include/freetype/freetype.h (FT_RENDER_MODE_SDF): Improve documentation.
* include/freetype/freetype.h (FT_RENDER_MODE_SDF): Added one more point to the limitations of sdf.
This commit is contained in:
parent
31c0a833d6
commit
ee0f8213be
|
@ -3399,6 +3399,11 @@ FT_BEGIN_HEADER
|
|||
* output due to limited availability of pixel grid to store distance
|
||||
* information.
|
||||
*
|
||||
* 4. Since the output buffer is normalized, precision at smaller spread
|
||||
* will be greater than precision at larger spread values, because the
|
||||
* output range of [0 .. 255] will be mapped to a smaller sdf range.
|
||||
* A spread of 2 should be sufficient in most cases.
|
||||
*
|
||||
* Point (1) and (2) can be avoided by using `bsdf` and overall it is
|
||||
* more stable than the `sdf` rasterizer.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue