Formatting.
This commit is contained in:
parent
535c67dda7
commit
80b13f5732
|
@ -1162,8 +1162,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* read top level fields */
|
/* read top level fields */
|
||||||
if ( FT_READ_ULONG( regionListOffset ) ||
|
if ( FT_READ_ULONG( regionListOffset ) ||
|
||||||
FT_READ_USHORT( dataCount ) )
|
FT_READ_USHORT( dataCount ) )
|
||||||
goto Exit;
|
goto Exit;
|
||||||
|
|
||||||
/* make temporary copy of item variation data offsets; */
|
/* make temporary copy of item variation data offsets; */
|
||||||
|
|
|
@ -837,7 +837,7 @@
|
||||||
FT_ULong table_pos, table_len;
|
FT_ULong table_pos, table_len;
|
||||||
FT_ULong storage_start, storage_limit;
|
FT_ULong storage_start, storage_limit;
|
||||||
TT_NameTable table;
|
TT_NameTable table;
|
||||||
TT_Name names = NULL;
|
TT_Name names = NULL;
|
||||||
TT_LangTag langTags = NULL;
|
TT_LangTag langTags = NULL;
|
||||||
|
|
||||||
static const FT_Frame_Field name_table_fields[] =
|
static const FT_Frame_Field name_table_fields[] =
|
||||||
|
@ -947,7 +947,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
table->langTags = langTags;
|
table->langTags = langTags;
|
||||||
langTags = NULL;
|
langTags = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
FT_FRAME_EXIT();
|
FT_FRAME_EXIT();
|
||||||
|
@ -1008,8 +1008,8 @@
|
||||||
FT_MEM_QRENEW_ARRAY( names,
|
FT_MEM_QRENEW_ARRAY( names,
|
||||||
table->numNameRecords,
|
table->numNameRecords,
|
||||||
valid );
|
valid );
|
||||||
table->names = names;
|
table->names = names;
|
||||||
names = NULL;
|
names = NULL;
|
||||||
table->numNameRecords = valid;
|
table->numNameRecords = valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1476,8 +1476,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
face->gasp.gaspRanges = gasp_ranges;
|
face->gasp.gaspRanges = gasp_ranges;
|
||||||
gasp_ranges = NULL;
|
gasp_ranges = NULL;
|
||||||
face->gasp.numRanges = num_ranges;
|
face->gasp.numRanges = num_ranges;
|
||||||
|
|
||||||
FT_FRAME_EXIT();
|
FT_FRAME_EXIT();
|
||||||
|
|
||||||
|
|
|
@ -117,9 +117,9 @@
|
||||||
goto Exit;
|
goto Exit;
|
||||||
|
|
||||||
blend->num_default_design_vector = 0;
|
blend->num_default_design_vector = 0;
|
||||||
blend->weight_vector = NULL;
|
blend->weight_vector = NULL;
|
||||||
blend->default_weight_vector = NULL;
|
blend->default_weight_vector = NULL;
|
||||||
blend->design_pos[0] = NULL;
|
blend->design_pos[0] = NULL;
|
||||||
|
|
||||||
face->blend = blend;
|
face->blend = blend;
|
||||||
}
|
}
|
||||||
|
@ -858,9 +858,9 @@
|
||||||
T1_TokenRec design_tokens[T1_MAX_MM_DESIGNS];
|
T1_TokenRec design_tokens[T1_MAX_MM_DESIGNS];
|
||||||
FT_Int num_designs;
|
FT_Int num_designs;
|
||||||
FT_Int num_axis = 0; /* make compiler happy */
|
FT_Int num_axis = 0; /* make compiler happy */
|
||||||
T1_Parser parser = &loader->parser;
|
T1_Parser parser = &loader->parser;
|
||||||
FT_Memory memory = face->root.memory;
|
FT_Memory memory = face->root.memory;
|
||||||
FT_Error error = FT_Err_Ok;
|
FT_Error error = FT_Err_Ok;
|
||||||
FT_Fixed* design_pos[T1_MAX_MM_DESIGNS];
|
FT_Fixed* design_pos[T1_MAX_MM_DESIGNS];
|
||||||
|
|
||||||
|
|
||||||
|
@ -886,7 +886,7 @@
|
||||||
{
|
{
|
||||||
FT_Byte* old_cursor = parser->root.cursor;
|
FT_Byte* old_cursor = parser->root.cursor;
|
||||||
FT_Byte* old_limit = parser->root.limit;
|
FT_Byte* old_limit = parser->root.limit;
|
||||||
FT_Int n,nn;
|
FT_Int n, nn;
|
||||||
PS_Blend blend;
|
PS_Blend blend;
|
||||||
|
|
||||||
|
|
||||||
|
@ -965,7 +965,7 @@
|
||||||
for ( n = 0; n < num_designs; n++ )
|
for ( n = 0; n < num_designs; n++ )
|
||||||
{
|
{
|
||||||
blend->design_pos[n] = design_pos[n];
|
blend->design_pos[n] = design_pos[n];
|
||||||
design_pos[n] = NULL;
|
design_pos[n] = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue