diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-12-07 11:20:37 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-12-07 12:13:37 +0000 |
commit | b20b66200381b4e348931b97187ef7b93ab4e655 (patch) | |
tree | 1ab0ebf6ee1eff60a455edb98acddef5a0639025 /freetype/src/cache/ftcbasic.c | |
parent | 6f29f18171aaf772fbfe6d6ea5b7d40acbd89a0f (diff) | |
download | ghostpdl-b20b66200381b4e348931b97187ef7b93ab4e655.tar.gz |
Update freetype to 2.11.1
Diffstat (limited to 'freetype/src/cache/ftcbasic.c')
-rw-r--r-- | freetype/src/cache/ftcbasic.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/freetype/src/cache/ftcbasic.c b/freetype/src/cache/ftcbasic.c index 43ea314d4..1760c5fbd 100644 --- a/freetype/src/cache/ftcbasic.c +++ b/freetype/src/cache/ftcbasic.c @@ -4,7 +4,7 @@ * * The FreeType basic cache interface (body). * - * Copyright (C) 2003-2020 by + * Copyright (C) 2003-2021 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, @@ -108,12 +108,16 @@ if ( error || !face ) return result; +#ifdef FT_DEBUG_LEVEL_TRACE if ( (FT_ULong)face->num_glyphs > FT_UINT_MAX || 0 > face->num_glyphs ) + { FT_TRACE1(( "ftc_basic_family_get_count:" - " the number of glyphs in this face is %ld,\n" - " " - " which is too much and thus truncated\n", + " the number of glyphs in this face is %ld,\n", face->num_glyphs )); + FT_TRACE1(( " " + " which is too much and thus truncated\n" )); + } +#endif if ( !error ) result = (FT_UInt)face->num_glyphs; |