ref: e1ee5476a4345f8531d03bdbd131337c2534f864
parent: 1c6fd994376c182f07cd59558a2f9bdd082b9509
author: Werner Lemberg <[email protected]>
date: Sun Nov 6 07:39:05 EST 2016
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Fix tracing.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2016-11-06 Werner Lemberg <[email protected]>
+ * src/base/ftobjs.c (FT_Render_Glyph_Internal): Fix tracing.
+
+2016-11-06 Werner Lemberg <[email protected]>
+
[sfnt] Improve FT_LOAD_BITMAP_METRICS_ONLY for `sbix' format.
It's unavoidable to call the PNG engine, but to get the metrics it
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -4217,7 +4217,7 @@
if ( ft_trace_levels[trace_bitmap] >= 3 )
{
/* we convert to a single bitmap format for computing the checksum */
- if ( !error )
+ if ( !error && slot->bitmap.buffer )
{
FT_Bitmap bitmap;
FT_Error err;