forked from minhngoc25a/freetype2
[woff2] Formatting.
* src/sfnt/sfobjs.c, src/sfnt/sfwoff2.c: Better formatting.
This commit is contained in:
parent
73dc5ef018
commit
3f35a033b6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue