freetype2/src/autofit
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
..
afblue.c Update all copyright notices. 2023-01-17 09:18:25 +01:00
afblue.cin Update all copyright notices. 2023-01-17 09:18:25 +01:00
afblue.dat s/this is,/that is,/ 2023-04-27 06:24:48 +02:00
afblue.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afblue.hin Update all copyright notices. 2023-01-17 09:18:25 +01:00
afcjk.c Fix some `FT_Fixed` vs. `FT_Long` confusion. 2023-06-03 07:02:12 +02:00
afcjk.h [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afcover.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afdummy.c Update all copyright notices. 2023-01-17 09:18:25 +01:00
afdummy.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
aferrors.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afglobal.c [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afglobal.h [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afhints.c Replace `sprintf` with `snprintf`. 2023-05-23 13:18:01 +02:00
afhints.h Avoid reserved identifiers that are globally defined. 2023-02-08 21:09:30 +01:00
afindic.c [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afindic.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
aflatin.c Fix some `FT_Fixed` vs. `FT_Long` confusion. 2023-06-03 07:02:12 +02:00
aflatin.h [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afloader.c [autofit] Signature fixes. 2023-05-07 19:54:46 +02:00
afloader.h Fix `FT_LOCAL` and `FT_LOCAL_DEF` tags. 2023-02-08 21:09:32 +01:00
afmodule.c */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
afmodule.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afranges.c Update all copyright notices. 2023-01-17 09:18:25 +01:00
afranges.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afscript.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afshaper.c s/this is,/that is,/ 2023-04-27 06:24:48 +02:00
afshaper.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afstyles.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
aftypes.h Avoid reserved identifiers that are globally defined. 2023-02-08 21:09:30 +01:00
afws-decl.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
afws-iter.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
autofit.c Update all copyright notices. 2023-01-17 09:18:25 +01:00
ft-hb.c * src/*: Replace leading underscores with trailing ones in dummy variables. 2023-02-26 20:18:54 +01:00
ft-hb.h [autofit] Fix 'multi' compilation. 2023-02-08 21:53:30 +01:00
module.mk Update all copyright notices. 2023-01-17 09:18:25 +01:00
rules.mk [autofit] Fix 'multi' compilation. 2023-02-08 21:53:30 +01:00