303 Commits

Author SHA1 Message Date
Dirk Lemstra 2abe65b018 Use the new license url. 2026-01-11 10:16:12 +01:00
Cristy 5735e8c1c5 https://github.com/ImageMagick/ImageMagick/issues/8410 2025-10-26 11:20:52 -04:00
Dirk Lemstra cb3c451be6 Make it clear the return value is not used. 2025-06-25 07:24:31 +02:00
Cristy 7e5d87fe6e rename private safe recipicol and log10 macros 2025-06-07 08:53:23 -04:00
Dirk Lemstra e345ab7969 Added missing typecasts. 2025-06-06 11:47:46 +02:00
Dirk Lemstra cbe4770f0c Renamed CastDoubleToLong to CastDoubleToSsizeT. 2025-04-01 22:45:11 +02:00
Dirk Lemstra fd418ddc44 .Renamed CastDoubleToUnsigned to CastDoubleToSizeT 2025-04-01 22:34:12 +02:00
Cristy c3aa2b6046 using ptrdiff_t is recommended for pointer arithmetic in C 2024-11-10 18:18:59 -05:00
Cristy 9b44a0f902 to ensure code clarity and correctness 2024-11-09 20:59:17 -05:00
Dirk Lemstra f9bc21178a Removed font searches that were added for testing. 2024-11-08 22:45:03 +01:00
Cristy a758e39137 search for default font (https://github.com/ImageMagick/ImageMagick/issues/7728) 2024-11-03 06:59:31 -05:00
Cristy c10d6f81c0 if default font not found, identify a suitable font (https://github.com/ImageMagick/ImageMagick/issues/7728) 2024-11-02 14:37:38 -04:00
niclet 58ddb87ca0 Silence warning when freetype delegate is disabled. (#7515) 2024-07-26 21:31:04 -04:00
Cristy c29cf7f113 thread tuning 2024-01-01 16:41:04 -05:00
Cristy 1c02b9cbcd eliminate compiler warnings 2023-09-25 21:38:20 -04:00
Cristy c93f8d241c eliminate compiler warnings 2023-09-14 19:47:10 -04:00
Cristy be9eabf305 eliminate compiler warnings 2023-09-14 13:35:32 -04:00
Cristy a75951bbdc check stat() status 2023-08-20 10:24:31 -04:00
Dirk Lemstra 5d325ea437 Fixed build. 2023-08-09 08:49:15 +02:00
Cristy 8cc8fff59a eliminate compiler warnings 2023-08-08 22:18:05 -04:00
Cristy 2686655566 eliminate compiler warnings 2023-08-03 11:41:12 -04:00
Cristy 3911d747b8 prep for top-to-bottom rendering of text 2023-07-17 20:15:39 -04:00
Cristy 01b05442f6 note y_advance, implement top-to-bottom in the future 2023-07-17 20:02:59 -04:00
Dirk Lemstra 491d1bf1c3 Fixed memory leak. 2023-07-16 06:50:34 +02:00
Dirk Lemstra ba0479f710 Correct addition to resolve issue with negative interline_spacing values. 2023-07-09 12:22:28 +02:00
Cristy 3d6d98d8a2 properly cast double to size_t (https://github.com/ImageMagick/ImageMagick/issues/6341) 2023-05-17 21:06:15 -04:00
Cristy bbf396695b cosmetic 2023-05-16 20:47:02 -04:00
Cristy 242e940451 consistent method to check for alpha channel 2023-04-15 18:44:41 -04:00
Cristy 4daec2d748 improved range checking 2023-04-15 09:45:10 -04:00
Cristy f7b5682435 add additional checks for casting double to size_t 2023-04-13 11:42:08 -04:00
Dirk Lemstra 3f9cfbdc83 Silence warnings that occur when freetype is enabled. 2023-04-10 20:46:54 +02:00
Dirk Lemstra 21db2a08ee Cosmetic. 2023-03-15 07:03:08 +01:00
Dirk Lemstra 12884697a8 We always need to do a seek in our FT_Stream_IoFunc implementation (https://gitlab.freedesktop.org/freetype/freetype/-/issues/1208). 2023-03-15 06:59:36 +01:00
Cristy 2ede7250ff identify a default font 2023-03-02 19:09:04 -05:00
Dirk Lemstra 03f0663896 Only allocate the sans_exception when we need to. 2023-02-26 17:23:08 +01:00
Dirk Lemstra 184cce1636 Restored missing null check. 2023-02-25 23:13:09 +01:00
Dirk Lemstra a0f7fbff73 No longer check for Noto Sans and Nimbus Sans to make sure the correct default is used on Windows. 2023-02-25 23:00:31 +01:00
Cristy 0427628147 check for sans fonts 2023-02-19 11:53:45 -05:00
Dirk Lemstra 977e449b41 Corrected the seek implementation (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55325). 2023-02-01 16:49:22 +01:00
Cristy d4be27057b implement suggestions from a static analyzer 2022-11-19 10:16:43 -05:00
Cristy 0d501b66a6 throw exception for empty label @ https://github.com/ImageMagick/ImageMagick/issues/5530 2022-09-04 07:53:23 -04:00
Cristy 2d44f06a67 recognize CSS-style family font list @ https://github.com/ImageMagick/ImageMagick/issues/5531 2022-09-03 18:06:56 -04:00
Cristy 2397a41ca3 render empty labels @ https://github.com/ImageMagick/ImageMagick/issues/5530 2022-09-03 17:40:00 -04:00
Cristy 81a8bc4abc fix memory issues for the unit tests 2022-08-28 17:33:39 -04:00
Cristy 6cf5918b82 support word-break option for caption @ https://github.com/ImageMagick/ImageMagick/discussions/5440 2022-08-14 08:41:58 -04:00
Cristy fc11d8357e eliminate compiler issues / warnings 2022-07-28 22:26:23 -04:00
Dirk Lemstra f5f3dd8393 Use our own memory manager for Freetype memory allocation. 2022-07-13 08:57:40 +02:00
Dirk Lemstra a1eb12255c We need to free the stream ourselves when the call to FT_Open_Face fails. 2022-06-23 19:40:14 +02:00
Cristy d90c06fef6 eliminate icc compiler warnings 2022-06-12 13:05:22 -04:00
Cristy 7ba113a0d2 improve/optimize logging 2022-04-24 11:17:42 -04:00