freetype2/src
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
..
autofit Fix some `FT_Fixed` vs. `FT_Long` confusion. 2023-06-03 07:02:12 +02:00
base Add new load flag `FT_LOAD_NO_SVG`. 2023-05-15 16:04:15 +02:00
bdf Replace `sprintf` with `snprintf`. 2023-05-23 13:18:01 +02:00
bzip2 * src/bzip2/ftbzip2.c: Signature fixes. 2023-05-08 06:26:43 +02:00
cache [cache] Merge functions. 2023-05-12 22:27:08 -04:00
cff */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
cid */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
dlg * src/*: Replace leading underscores with trailing ones in dummy variables. 2023-02-26 20:18:54 +01:00
gxvalid Minor formatting. 2023-06-03 06:09:30 +02:00
gzip [gzip] File `infback.c` is not needed. 2023-03-07 08:55:58 +01:00
lzw Fix 'fall-through' warning messages. 2023-02-08 21:09:32 +01:00
otvalid Update all copyright notices. 2023-01-17 09:18:25 +01:00
pcf * src/pcf/pcfdrivr.c: Signature fix. 2023-05-07 16:42:01 +02:00
pfr [pfr] Signature fixes. 2023-05-07 15:57:06 +02:00
psaux * src/psaux/t1cmap.c: Signature fixes. 2023-05-08 06:46:55 +02:00
pshinter [pshinter] Signature fixes. 2023-05-07 20:26:12 +02:00
psnames */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
raster */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
sdf [sdf] Signature fixes. 2023-05-07 21:06:14 +02:00
sfnt */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
smooth * src/smooth/ftgrays.c (FT_SSE2): Don't define for VMS. 2023-05-09 07:15:53 +02:00
svg */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
tools Replace `sprintf` with `snprintf`. 2023-05-23 13:18:01 +02:00
truetype */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
type1 */*: Remove many function pointer casts. 2023-06-03 06:58:09 +02:00
type42 * src/type42/t42parse.c: Signature fixes. 2023-05-07 16:25:37 +02:00
winfonts * src/winfonts/winfnt.c: Signature fixes. 2023-05-07 16:30:21 +02:00