[sdf] Use 32-bit integers internally.
* src/sdf/ftsdfcommon.h (FT_16D16, FT_26D6): Use 32-bit integers instead of `FT_Fixed` for internal data types. `FT_Fixed` i.e. `signed long` is 64-bit on some architectures.
This commit is contained in:
parent
d3582e3f8d
commit
515bdfef7e
|
@ -115,8 +115,8 @@ FT_BEGIN_HEADER
|
|||
typedef FT_Vector FT_26D6_Vec; /* with 26.6 fixed-point components */
|
||||
typedef FT_Vector FT_16D16_Vec; /* with 16.16 fixed-point components */
|
||||
|
||||
typedef FT_Fixed FT_16D16; /* 16.16 fixed-point representation */
|
||||
typedef FT_Fixed FT_26D6; /* 26.6 fixed-point representation */
|
||||
typedef FT_Int32 FT_16D16; /* 16.16 fixed-point representation */
|
||||
typedef FT_Int32 FT_26D6; /* 26.6 fixed-point representation */
|
||||
typedef FT_Byte FT_SDFFormat; /* format to represent SDF data */
|
||||
|
||||
typedef FT_BBox FT_CBox; /* control box of a curve */
|
||||
|
|
Loading…
Reference in New Issue