[psaux] Improve tracing message.

* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
Handle plural correctly.
2.6.5
Werner Lemberg 9 years ago
parent c838c4f7b5
commit 7d364b7e51
  1. 7
      ChangeLog
  2. 4
      src/psaux/psobjs.c

@ -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…
Cancel
Save