[woff2] Formatting.

* src/sfnt/sfobjs.c, src/sfnt/sfwoff2.c: Better formatting.
This commit is contained in:
Nikhil Ramakrishnan 2019-08-14 17:39:55 +05:30
parent 73dc5ef018
commit 3f35a033b6
2 changed files with 194 additions and 191 deletions

View File

@ -1542,9 +1542,11 @@
return FT_THROW( Invalid_Table );
}
table.dst_offset = dest_offset;
if( reconstruct_hmtx( stream, table.src_length, info->num_glyphs,
info->num_hmetrics, info->x_mins, &checksum,
&sfnt, sfnt_size, &dest_offset, memory ) )
if ( reconstruct_hmtx( stream, table.src_length,
info->num_glyphs, info->num_hmetrics,
info->x_mins, &checksum,
&sfnt, sfnt_size,
&dest_offset, memory ) )
return FT_THROW( Invalid_Table );
}
else
@ -1969,7 +1971,8 @@
temp_indices[nn] = indices[ttc_font->table_indices[nn]];
/* Resize array to required size. */
if( FT_RENEW_ARRAY( indices, woff2.num_tables,
if ( FT_RENEW_ARRAY( indices,
woff2.num_tables,
ttc_font->num_tables ) )
goto Exit;