Skip to content

Commit

Permalink
Use sources 2.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ubawurinna committed May 2, 2022
1 parent 4061ae3 commit 6de8c68
Show file tree
Hide file tree
Showing 26 changed files with 171 additions and 11 deletions.
160 changes: 160 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,163 @@
2022-05-01 Werner Lemberg <wl@gnu.org>

* 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 <anuj@posteo.net>

[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 <wl@gnu.org>

* src/sfnt/sfobjs.c (sfnt_load_face): Set `FT_FACE_FLAG_COLOR` for SVG fonts.

Fixes #1151.

2022-04-27 Brendan Shanks <bshanks@codeweavers.com>

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 <apodtele@gmail.com>

[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 <apodtele@gmail.com>

[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 <xavier.claessens@collabora.com>

[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 <wl@gnu.org>

* 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 <georg@python.org>

* 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 <robux4@ycbcr.xyz>

.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 <bungeman@chromium.org>

[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 <wl@gnu.org>

* 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 <wl@gnu.org>

* src/sfnt/sfwoff.c (reconstruct_glyf): Fix gcc 10 warning.

2022-04-01 Werner Lemberg <wl@gnu.org>

[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 <wl@gnu.org>

Whitespace.

2022-04-01 Ben Wagner <bungeman@chromium.org>

[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 <wl@gnu.org>

CMakeList.txt: Update code to handle recent changes for `freetype.pc`.

Fixes #1144.

2022-03-31 Werner Lemberg <wl@gnu.org>

CMakeLists.txt: s/PKG_CONFIG/PKGCONFIG/, s/REQUIRED_/REQUIRES_/.

2022-03-31 Werner Lemberg <wl@gnu.org>

* Version 2.12.0 released.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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` |
Binary file modified demos/win32/freetype.dll
Binary file not shown.
Binary file modified demos/win32/ftbench.exe
Binary file not shown.
Binary file modified demos/win32/ftdump.exe
Binary file not shown.
Binary file modified demos/win32/ftgamma.exe
Binary file not shown.
Binary file modified demos/win32/ftgrid.exe
Binary file not shown.
Binary file modified demos/win32/ftlint.exe
Binary file not shown.
Binary file modified demos/win32/ftstring.exe
Binary file not shown.
Binary file modified demos/win32/ftview.exe
Binary file not shown.
Binary file modified demos/win64/freetype.dll
Binary file not shown.
Binary file modified demos/win64/ftbench.exe
Binary file not shown.
Binary file modified demos/win64/ftdump.exe
Binary file not shown.
Binary file modified demos/win64/ftgamma.exe
Binary file not shown.
Binary file modified demos/win64/ftgrid.exe
Binary file not shown.
Binary file modified demos/win64/ftlint.exe
Binary file not shown.
Binary file modified demos/win64/ftstring.exe
Binary file not shown.
Binary file modified demos/win64/ftview.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion include/freetype/freetype.h
Original file line number Diff line number Diff line change
Expand Up @@ -4942,7 +4942,7 @@ FT_BEGIN_HEADER
*/
#define FREETYPE_MAJOR 2
#define FREETYPE_MINOR 12
#define FREETYPE_PATCH 0
#define FREETYPE_PATCH 1


/**************************************************************************
Expand Down
6 changes: 3 additions & 3 deletions include/freetype/ftcolor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified release dll/win32/freetype.dll
Binary file not shown.
Binary file modified release dll/win32/freetype.lib
Binary file not shown.
Binary file modified release dll/win64/freetype.dll
Binary file not shown.
Binary file modified release dll/win64/freetype.lib
Binary file not shown.
Binary file modified release static/vs2015-2022/win32/freetype.lib
Binary file not shown.
Binary file modified release static/vs2015-2022/win64/freetype.lib
Binary file not shown.

0 comments on commit 6de8c68

Please sign in to comment.