diff options
author | Christian Strømme <christian.stromme@qt.io> | 2023-08-03 11:07:36 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2023-08-08 07:02:39 +0000 |
commit | 0bdd01b7f7c248543c3cd44509d79011f7babd8a (patch) | |
tree | 7bafdce21f02c9e731f66710913428e59fb8983b /src/3rdparty/freetype/src/sfnt/ttload.c | |
parent | a2c8524ad7dd59f31b400b5da8979138dc835fcc (diff) |
Update to Freetype 2.13.1
The build fix applied to the 2.13.0 update has also been applied to
this update.
Pick-to: 6.6 6.5 5.15
Fixes: QTBUG-115340
Change-Id: I970b560948af3472b222690019a85a79c537b7d9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/3rdparty/freetype/src/sfnt/ttload.c')
-rw-r--r-- | src/3rdparty/freetype/src/sfnt/ttload.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/freetype/src/sfnt/ttload.c b/src/3rdparty/freetype/src/sfnt/ttload.c index 14f625c824..7b44e9cd2e 100644 --- a/src/3rdparty/freetype/src/sfnt/ttload.c +++ b/src/3rdparty/freetype/src/sfnt/ttload.c @@ -504,6 +504,13 @@ FT_FRAME_EXIT(); + if ( !valid_entries ) + { + FT_TRACE2(( "tt_face_load_font_dir: no valid tables found\n" )); + error = FT_THROW( Unknown_File_Format ); + goto Exit; + } + FT_TRACE2(( "table directory loaded\n" )); FT_TRACE2(( "\n" )); |