freetype2/include/freetype/internal
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
..
services Fix some `FT_Fixed` vs. `FT_Long` confusion. 2023-06-03 07:02:12 +02:00
autohint.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
cffotypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
cfftypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
compiler-macros.h * include/freetype/internal/compiler-macros.h (FALL_THROUGH): Update. 2023-03-01 06:36:59 +01:00
ftcalc.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftdebug.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftdrv.h [cid] Improve tracing messages; formatting. 2023-05-06 16:41:13 +02:00
ftgloadr.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Avoid reserved identifiers that are globally defined. 2023-02-08 21:09:30 +01:00
ftmmtypes.h [truetype] Reduce heap allocation of `deltaSet` variation data. 2023-05-19 06:50:28 +02:00
ftobjs.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftpsprop.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftrfork.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftserv.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftstream.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
fttrace.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftvalid.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
psaux.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
pshints.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
sfnt.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svginterface.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
t1types.h * include/freetype/internal/t1types.h: Fix the indentation. 2023-05-12 09:49:58 +09:00
tttypes.h [truetype] Fix style name handling for variation fonts. 2023-05-06 18:53:50 +02:00
wofftypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00