Formatting.

This commit is contained in:
Werner Lemberg 2021-10-26 10:57:17 +02:00
parent 535c67dda7
commit 80b13f5732
3 changed files with 16 additions and 16 deletions

View File

@ -1162,8 +1162,8 @@
}
/* read top level fields */
if ( FT_READ_ULONG( regionListOffset ) ||
FT_READ_USHORT( dataCount ) )
if ( FT_READ_ULONG( regionListOffset ) ||
FT_READ_USHORT( dataCount ) )
goto Exit;
/* make temporary copy of item variation data offsets; */

View File

@ -837,7 +837,7 @@
FT_ULong table_pos, table_len;
FT_ULong storage_start, storage_limit;
TT_NameTable table;
TT_Name names = NULL;
TT_Name names = NULL;
TT_LangTag langTags = NULL;
static const FT_Frame_Field name_table_fields[] =
@ -947,7 +947,7 @@
}
table->langTags = langTags;
langTags = NULL;
langTags = NULL;
}
FT_FRAME_EXIT();
@ -1008,8 +1008,8 @@
FT_MEM_QRENEW_ARRAY( names,
table->numNameRecords,
valid );
table->names = names;
names = NULL;
table->names = names;
names = NULL;
table->numNameRecords = valid;
}
@ -1476,8 +1476,8 @@
}
face->gasp.gaspRanges = gasp_ranges;
gasp_ranges = NULL;
face->gasp.numRanges = num_ranges;
gasp_ranges = NULL;
face->gasp.numRanges = num_ranges;
FT_FRAME_EXIT();

View File

@ -117,9 +117,9 @@
goto Exit;
blend->num_default_design_vector = 0;
blend->weight_vector = NULL;
blend->default_weight_vector = NULL;
blend->design_pos[0] = NULL;
blend->weight_vector = NULL;
blend->default_weight_vector = NULL;
blend->design_pos[0] = NULL;
face->blend = blend;
}
@ -858,9 +858,9 @@
T1_TokenRec design_tokens[T1_MAX_MM_DESIGNS];
FT_Int num_designs;
FT_Int num_axis = 0; /* make compiler happy */
T1_Parser parser = &loader->parser;
FT_Memory memory = face->root.memory;
FT_Error error = FT_Err_Ok;
T1_Parser parser = &loader->parser;
FT_Memory memory = face->root.memory;
FT_Error error = FT_Err_Ok;
FT_Fixed* design_pos[T1_MAX_MM_DESIGNS];
@ -886,7 +886,7 @@
{
FT_Byte* old_cursor = parser->root.cursor;
FT_Byte* old_limit = parser->root.limit;
FT_Int n,nn;
FT_Int n, nn;
PS_Blend blend;
@ -965,7 +965,7 @@
for ( n = 0; n < num_designs; n++ )
{
blend->design_pos[n] = design_pos[n];
design_pos[n] = NULL;
design_pos[n] = NULL;
}
}