[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 34e4673: [sfnt] Correctly handle missing bitmaps in s
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 34e4673: [sfnt] Correctly handle missing bitmaps in sbix format (#53404). |
Date: |
Fri, 23 Mar 2018 01:15:42 -0400 (EDT) |
branch: master
commit 34e467332b0b5ecb03641540e715202204616139
Author: Ben Wagner <address@hidden>
Commit: Werner Lemberg <address@hidden>
[sfnt] Correctly handle missing bitmaps in sbix format (#53404).
* src/sfnt/ttfsbit.c (tt_face_load_sbix_image): Fix return value.
---
ChangeLog | 6 ++++++
src/sfnt/ttsbit.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5f415bf..c6ed98d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2018-03-23 Ben Wagner <address@hidden>
+ [sfnt] Correctly handle missing bitmaps in sbix format (#53404).
+
+ * src/sfnt/ttfsbit.c (tt_face_load_sbix_image): Fix return value.
+
+2018-03-23 Ben Wagner <address@hidden>
+
[truetype] Fix advance of empty glyphs in bitmap fonts (#53393).
* src/truetype/ttgload.c (TT_Load_Glyph): Apply scaling to metrics
diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index 53e6175..33b8640 100644
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -1514,7 +1514,7 @@
FT_FRAME_EXIT();
if ( glyph_start == glyph_end )
- return FT_THROW( Invalid_Argument );
+ return FT_THROW( Missing_Bitmap );
if ( glyph_start > glyph_end ||
glyph_end - glyph_start < 8 ||
face->ebdt_size - strike_offset < glyph_end )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 34e4673: [sfnt] Correctly handle missing bitmaps in sbix format (#53404).,
Werner LEMBERG <=