diff --git a/ChangeLog.txt b/ChangeLog.txt index d3dd70d..eb02b4f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,163 @@ +2022-05-01 Werner Lemberg + + * Version 2.12.1 released. + ========================== + + Tag sources with `VER-2-12-1'. + + * docs/VERSION.TXT: Add entry for version 2.12.1. + * docs/CHANGES, docs/release: Updated. + + * README, src/base/ftver.rc, builds/windows/vc2010/index.html, + builds/windows/visualc/index.html, builds/windows/visualce/index.html, + builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, + docs/freetype-config.1: s/2.12.0/2.12.1/, s/2120/2121/. + + * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. + + * builds/unix/configure.raw (version_info): Set to 24:3:18. + * CMakeLists.txt (VERSION_PATCH): Set to 1. + +2022-04-30 Anuj Verma + + [sdf] Do not throw errors for invisible glyphs. + + * src/sdf/ftsdfrend.c (ft_sdf_render, ft_bsdf_render): Return `FT_Err_Ok` if + width or height is zero, since some glyphs do not generate visible bitmaps. + + Fixes #1150. + +2022-04-30 Werner Lemberg + + * src/sfnt/sfobjs.c (sfnt_load_face): Set `FT_FACE_FLAG_COLOR` for SVG fonts. + + Fixes #1151. + +2022-04-27 Brendan Shanks + + autogen.sh: Fix building when freetype is itself a git submodule. + + There are situations where .git is not a directory, like when + freetype is a submodule in another repository. + +2022-04-26 Alexei Podtelezhnikov + + [builds/windows] Simplify non-desktop UWP check. + + Fixes mingw compilation described in !159. + + * builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro. + +2022-04-25 Alexei Podtelezhnikov + + [truetype] Reset IUP flags in `TT_RunIns`. + + Fixes #1148 by moving the flag initialization back, partly reverting + 7809007a and fd03dcc1. Initializing these flags elsewhere skips 'cvt'. + + * src/truetype/ttinterp.c (TT_RunIns): Initialize the IUP flag here... + (TT_Run_Context): ... instead of here. + +2022-04-24 Xavier Claessens + + [meson] Remove `default_library=both` from `default_options`. + + It is inconsistent with what all other Meson projects do. + + It also prevents static linking to FreeType when it is a subproject because + `default_options` in a subproject takes precedence on values set on the main + project. For example, building 'GStreamer' with `-Ddefault_library=static` + would still dynamically link on FreeType unless the user also sets + `-Dfreetype2:default_library=static`. + + * meson.build: Updated. + + * .gitlab-ci.yml: Retain `both` option for testing. + +2022-04-19 Werner Lemberg + + * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Integer overflow. + + Reported as + + https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46792 + +2022-04-16 Georg Brandl + + * src/cff/cffgload.c (cff_slot_load) [FT_CONFIG_OPTION_SVG]: Fix segfault. + + This can happen if the function is called with `size` being `NULL`. + + Fixes #1147. + +2022-04-14 Steve Lhomme + + .gitlab-ci.yml: Add a Universal Windows build target + + It's compiled for Windows 10 and up, ensuring UNICODE is set (default for UWP) + and selecting the proper WINAPI_FAMILY (WINAPI_FAMILY_APP). + + Do not try to run the UWP exe in the Docker as it doesn't work. + +2022-04-04 Ben Wagner + + [sfnt] Correct FT_ColorStopIterator documentation. + + * include/freetype/ftcolor.h (FT_ColorStopIterator): the user should not + set `p` to NULL before calling `FT_Get_Colorline_Stops`. `p` and + `num_color_stops` are set by `FT_Get_Paint`. `p` and + `current_color_stop` are updated by `FT_Get_Colorline_Stops`. + +2022-04-01 Werner Lemberg + + * builds/unix/configure.raw: Add option `--with-librsvg`. + + Since 'librsvg' is written in Rust, this option allows distributions to + avoid a dependency on the entire Rust toolchain to provide the FreeType demo + programs. + + Suggested by Lars Wendler in !156. + +2022-04-01 Werner Lemberg + + * src/sfnt/sfwoff.c (reconstruct_glyf): Fix gcc 10 warning. + +2022-04-01 Werner Lemberg + + [gzip] Update sources to zlib 1.2.12. + +2022-04-01 Eric Jing <@CPUcontrol> + + CMakeLists.txt: Fix `Info.plist` path. + + When building a framework using CMake with `add_subdirectory`, CMake must be + able to find `freetype-Info.plist` when configuring the framework + properties. + + Fixes #1145. + +2022-04-01 Werner Lemberg + + Whitespace. + +2022-04-01 Ben Wagner + + [truetype] Use SUB_LONG for component offset. + + * src/truetype/ttgload.c (TT_Process_Composite_Component): do it. + + Bug: https://crbug.com/1309429 + +2022-03-31 Werner Lemberg + + CMakeList.txt: Update code to handle recent changes for `freetype.pc`. + + Fixes #1144. + +2022-03-31 Werner Lemberg + + CMakeLists.txt: s/PKG_CONFIG/PKGCONFIG/, s/REQUIRED_/REQUIRES_/. + 2022-03-31 Werner Lemberg * Version 2.12.0 released. diff --git a/README.md b/README.md index 1fc1a9f..4f059f1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -FreeType 2.12.0 +FreeType 2.12.1 ========================= ###### FreeType Windows libraries (win32/win64) Compiled with VS 2022 (SDK 10.0.22000) @@ -11,12 +11,12 @@ Compiled with VS 2022 (SDK 10.0.22000) ###### Hash values for DLL files | filename | sha256 | | :-- | :-- | -| release dll\\win32\\**freetype.dll** | `0A66849B19BBE7DAD47539A610C2AE873A51B1DBD08897F7D90C770073D28BCE` | -| release dll\\win32\\**freetype.lib** | `26F02C71ACCA73AC620D19D6C0767D1B2271F59452C10C9B7FE87429B8616E42` | -| release dll\\win64\\**freetype.dll** | `2C497B7152108309B48EF76ADB6040EE0B909CBA06C7777F2BAAA68B50C80B6F` | -| release dll\\win64\\**freetype.lib** | `41C66B459234B265C34F3C90B0ECD3045A6987DF0FFCBDD27C9B0B262F715A4E` | +| release dll\\win32\\**freetype.dll** | `9B820ABCBB06B5508B3FDB7DB0FE62F2E6ECD4ABCB641726BA1147AF5025984D` | +| release dll\\win32\\**freetype.lib** | `8401F44029CE3CDB0D424F0ED2F265D85EBF262878E26CAAA41524B9551FA23B` | +| release dll\\win64\\**freetype.dll** | `4D8A9B352D21EBBBE9006FF4340ACE97DD67D57D801333D6A3D43F178C3109B2` | +| release dll\\win64\\**freetype.lib** | `A2D8DD42110E63645B43E91EA0C8ED4C4CAFFA7491FE25296C2D1FDF0C5BF0C2` | ###### Hash values for static library files | filename | sha256 | | :-- | :-- | -| release static\\vs2015-2022\\win32\\**freetype.lib** | `21C0F38F5A709967C0F3DDFCE930B15617DD058127A0E4820CC771F31BF1D543` | -| release static\\vs2015-2022\\win64\\**freetype.lib** | `0AC3002E138592FC0E22090FAB41A84F885F24AF401B792BE40319B40AAB502E` | +| release static\\vs2015-2022\\win32\\**freetype.lib** | `C6FBD7C6BB39AA5BA413D9EBE709AA1E2A480CB23BF28992FF3E92152905642E` | +| release static\\vs2015-2022\\win64\\**freetype.lib** | `A17A15AB461DB016706CD026D1789C78DB8F9980831A78C2D3B51ADF8B43C7AF` | diff --git a/demos/win32/freetype.dll b/demos/win32/freetype.dll index ab241be..9a7558e 100644 Binary files a/demos/win32/freetype.dll and b/demos/win32/freetype.dll differ diff --git a/demos/win32/ftbench.exe b/demos/win32/ftbench.exe index dce1a12..80ddfba 100644 Binary files a/demos/win32/ftbench.exe and b/demos/win32/ftbench.exe differ diff --git a/demos/win32/ftdump.exe b/demos/win32/ftdump.exe index b61450e..3bffa18 100644 Binary files a/demos/win32/ftdump.exe and b/demos/win32/ftdump.exe differ diff --git a/demos/win32/ftgamma.exe b/demos/win32/ftgamma.exe index 523d996..e5968d1 100644 Binary files a/demos/win32/ftgamma.exe and b/demos/win32/ftgamma.exe differ diff --git a/demos/win32/ftgrid.exe b/demos/win32/ftgrid.exe index 5069144..fc2e48b 100644 Binary files a/demos/win32/ftgrid.exe and b/demos/win32/ftgrid.exe differ diff --git a/demos/win32/ftlint.exe b/demos/win32/ftlint.exe index 1a4fb6b..9ae60dc 100644 Binary files a/demos/win32/ftlint.exe and b/demos/win32/ftlint.exe differ diff --git a/demos/win32/ftstring.exe b/demos/win32/ftstring.exe index 8c38b4e..420d3a3 100644 Binary files a/demos/win32/ftstring.exe and b/demos/win32/ftstring.exe differ diff --git a/demos/win32/ftview.exe b/demos/win32/ftview.exe index 5f7ed74..433a910 100644 Binary files a/demos/win32/ftview.exe and b/demos/win32/ftview.exe differ diff --git a/demos/win64/freetype.dll b/demos/win64/freetype.dll index 6cb1d13..4a0b8d7 100644 Binary files a/demos/win64/freetype.dll and b/demos/win64/freetype.dll differ diff --git a/demos/win64/ftbench.exe b/demos/win64/ftbench.exe index d90df69..7092081 100644 Binary files a/demos/win64/ftbench.exe and b/demos/win64/ftbench.exe differ diff --git a/demos/win64/ftdump.exe b/demos/win64/ftdump.exe index d03a07b..7f22941 100644 Binary files a/demos/win64/ftdump.exe and b/demos/win64/ftdump.exe differ diff --git a/demos/win64/ftgamma.exe b/demos/win64/ftgamma.exe index 4f43f8c..c4de579 100644 Binary files a/demos/win64/ftgamma.exe and b/demos/win64/ftgamma.exe differ diff --git a/demos/win64/ftgrid.exe b/demos/win64/ftgrid.exe index f968ed3..5c4d07e 100644 Binary files a/demos/win64/ftgrid.exe and b/demos/win64/ftgrid.exe differ diff --git a/demos/win64/ftlint.exe b/demos/win64/ftlint.exe index 2b8439d..77ccf5e 100644 Binary files a/demos/win64/ftlint.exe and b/demos/win64/ftlint.exe differ diff --git a/demos/win64/ftstring.exe b/demos/win64/ftstring.exe index 748aced..7a5368b 100644 Binary files a/demos/win64/ftstring.exe and b/demos/win64/ftstring.exe differ diff --git a/demos/win64/ftview.exe b/demos/win64/ftview.exe index 72757fa..e70fc51 100644 Binary files a/demos/win64/ftview.exe and b/demos/win64/ftview.exe differ diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index f2a5ac9..4558819 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -4942,7 +4942,7 @@ FT_BEGIN_HEADER */ #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 12 -#define FREETYPE_PATCH 0 +#define FREETYPE_PATCH 1 /************************************************************************** diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h index 4a7368d..f0266e3 100644 --- a/include/freetype/ftcolor.h +++ b/include/freetype/ftcolor.h @@ -528,14 +528,14 @@ FT_BEGIN_HEADER * @fields: * num_color_stops :: * The number of color stops for the requested glyph index. Set by - * @FT_Get_Colorline_Stops. + * @FT_Get_Paint. * * current_color_stop :: * The current color stop. Set by @FT_Get_Colorline_Stops. * * p :: - * An opaque pointer into 'COLR' table data. The caller must set this - * to `NULL` before the first call of @FT_Get_Colorline_Stops. + * An opaque pointer into 'COLR' table data. Set by @FT_Get_Paint. + * Updated by @FT_Get_Colorline_Stops. * * @since: * 2.11 -- **currently experimental only!** There might be changes diff --git a/release dll/win32/freetype.dll b/release dll/win32/freetype.dll index ab241be..9a7558e 100644 Binary files a/release dll/win32/freetype.dll and b/release dll/win32/freetype.dll differ diff --git a/release dll/win32/freetype.lib b/release dll/win32/freetype.lib index c4f5dc4..f8a8bd7 100644 Binary files a/release dll/win32/freetype.lib and b/release dll/win32/freetype.lib differ diff --git a/release dll/win64/freetype.dll b/release dll/win64/freetype.dll index 6cb1d13..4a0b8d7 100644 Binary files a/release dll/win64/freetype.dll and b/release dll/win64/freetype.dll differ diff --git a/release dll/win64/freetype.lib b/release dll/win64/freetype.lib index 81764b2..6b3d672 100644 Binary files a/release dll/win64/freetype.lib and b/release dll/win64/freetype.lib differ diff --git a/release static/vs2015-2022/win32/freetype.lib b/release static/vs2015-2022/win32/freetype.lib index c193954..e2b1cbf 100644 Binary files a/release static/vs2015-2022/win32/freetype.lib and b/release static/vs2015-2022/win32/freetype.lib differ diff --git a/release static/vs2015-2022/win64/freetype.lib b/release static/vs2015-2022/win64/freetype.lib index f94dbd8..6710317 100644 Binary files a/release static/vs2015-2022/win64/freetype.lib and b/release static/vs2015-2022/win64/freetype.lib differ