formatting

This commit is contained in:
Werner Lemberg 2000-11-27 19:23:05 +00:00
parent 788d724886
commit f2b2e249a3
1 changed files with 12 additions and 12 deletions

View File

@ -850,20 +850,19 @@
{ {
args = stack; args = stack;
/* If there is a number here, it is either a difference against */
/* `nominal_width', or it is a width itself. */
if ( num_args > 0 && decoder->read_width ) if ( num_args > 0 && decoder->read_width )
{ {
/* If `nominal_width' is non-zero, the number is really a difference */ /* If `nominal_width' is non-zero, the number is really a */
/* against `nominal_width'. Else, the number here is truly a width, */ /* difference against `nominal_width'. Else, the number here */
/* not a difference against `nominal_width'. If the font does not */ /* is truly a width, not a difference against `nominal_width'. */
/* set `nominal_width', then `nominal_width' defaults to zero, and */ /* If the font does not set `nominal_width', then */
/* so we can set 'glyph_width' to `nominal_width' plus number on the */ /* `nominal_width' defaults to zero, and so we can set */
/* stack -- for either case. */ /* `glyph_width' to `nominal_width' plus number on the stack */
/* -- for either case. */
FT_Int set_width_ok; FT_Int set_width_ok;
switch ( op ) switch ( op )
{ {
case t2_op_hmoveto: case t2_op_hmoveto:
@ -887,14 +886,15 @@
if ( set_width_ok ) if ( set_width_ok )
{ {
decoder->glyph_width = decoder->nominal_width + ( stack[0] >> 16 ); decoder->glyph_width = decoder->nominal_width +
( stack[0] >> 16 );
num_args--; num_args--;
args++; args++;
} }
} }
decoder->read_width = 0; decoder->read_width = 0;
req_args = 0; req_args = 0;
} }
req_args &= 15; req_args &= 15;