[base] Fix Netpbm tracing message.
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Don't emit Netpbm warning if there is nothing to output.
This commit is contained in:
parent
d924a66a5c
commit
947e475283
|
@ -1,3 +1,10 @@
|
||||||
|
2021-02-04 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[base] Fix Netpbm tracing message.
|
||||||
|
|
||||||
|
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Don't emit Netpbm
|
||||||
|
warning if there is nothing to output.
|
||||||
|
|
||||||
2021-02-04 Werner Lemberg <wl@gnu.org>
|
2021-02-04 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`.
|
* src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`.
|
||||||
|
|
|
@ -4733,11 +4733,11 @@
|
||||||
|
|
||||||
/* we use FT_TRACE7 in this block */
|
/* we use FT_TRACE7 in this block */
|
||||||
if ( !error &&
|
if ( !error &&
|
||||||
ft_trace_levels[trace_checksum] >= 7 )
|
ft_trace_levels[trace_checksum] >= 7 &&
|
||||||
|
slot->bitmap.buffer )
|
||||||
{
|
{
|
||||||
if ( slot->bitmap.rows < 128U &&
|
if ( slot->bitmap.rows < 128U &&
|
||||||
slot->bitmap.width < 128U &&
|
slot->bitmap.width < 128U )
|
||||||
slot->bitmap.buffer )
|
|
||||||
{
|
{
|
||||||
int rows = (int)slot->bitmap.rows;
|
int rows = (int)slot->bitmap.rows;
|
||||||
int width = (int)slot->bitmap.width;
|
int width = (int)slot->bitmap.width;
|
||||||
|
|
Loading…
Reference in New Issue