forked from minhngoc25a/freetype2
[psaux] Improve tracing message.
* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>: Handle plural correctly.
This commit is contained in:
parent
c838c4f7b5
commit
7d364b7e51
|
@ -1,3 +1,10 @@
|
|||
2015-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[psaux] Improve tracing message.
|
||||
|
||||
* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
|
||||
Handle plural correctly.
|
||||
|
||||
2015-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[pcf] Fix integer overflows (#45985).
|
||||
|
|
|
@ -1232,10 +1232,10 @@
|
|||
if ( result < 0 || (FT_UInt)result < max_objects )
|
||||
{
|
||||
FT_ERROR(( "ps_parser_load_field:"
|
||||
" expected %d integers in the %s subarray\n"
|
||||
" expected %d integer%s in the %s subarray\n"
|
||||
" "
|
||||
" of /FontBBox in the /Blend dictionary\n",
|
||||
max_objects,
|
||||
max_objects, max_objects > 1 ? "s" : "",
|
||||
i == 0 ? "first"
|
||||
: ( i == 1 ? "second"
|
||||
: ( i == 2 ? "third"
|
||||
|
|
Loading…
Reference in New Issue