freetype2/include/freetype/internal/services
Ben Wagner 7bed7a02f4 Fix some `FT_Fixed` vs. `FT_Long` confusion.
`FT_Fixed` and `FT_Long` are both typedef'ed to be `signed long`.  However,
`FT_Fixed` implies that the lower 16 bits are being used to express
fractional values and so these two types should not be confused.

* include/freetype/internal/services/svmm.h (FT_Set_MM_Blend_Func): Use
`FT_Fixed` for `coords`.  Users are passing `FT_Fixed` and implementations
are taking `FT_Fixed`.
(FT_Get_MM_Blend_Func): Ditto.

* src/autofit/afcjk.c (af_cjk_metrics_check_digits): Use `FT_Long` for
`advance` and `old_advance`.  `advance`'s address is passed as `FT_Long*` to
`af_shaper_get_elem`, which writes the advance in em units (not fixed).  The
exact value is not important here as it is only compared to check whether it
has changed.

* src/autofit/aflatin.c (af_latin_metrics_check_digits): Ditto.
2023-06-03 07:02:12 +02:00
..
svbdf.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svcfftl.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svcid.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svfntfmt.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svgldict.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svgxval.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svkern.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svmetric.h [services] FT_Size_Reset_Func to return FT_Error 2023-04-19 13:48:59 -04:00
svmm.h Fix some `FT_Fixed` vs. `FT_Long` confusion. 2023-06-03 07:02:12 +02:00
svotval.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svpfr.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svpostnm.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svprop.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svpscmap.h Align `char_next` return types. 2023-04-10 15:30:43 +00:00
svpsinfo.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svsfnt.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svttcmap.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svtteng.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svttglyf.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svwinfnt.h Update all copyright notices. 2023-01-17 09:18:25 +01:00