[cff,cid,pfr,sfnt,winfonts] NULL.

This commit is contained in:
Alexei Podtelezhnikov 2015-04-15 23:20:23 -04:00
parent eae1b3e371
commit 792db0b9a9
9 changed files with 20 additions and 20 deletions

View File

@ -273,8 +273,8 @@
builder->current = &loader->current.outline;
FT_GlyphLoader_Rewind( loader );
builder->hints_globals = 0;
builder->hints_funcs = 0;
builder->hints_globals = NULL;
builder->hints_funcs = NULL;
if ( hinting && size )
{
@ -2872,7 +2872,7 @@
/* fonts. */
if ( face->root.internal->incremental_interface )
{
glyph->root.control_data = 0;
glyph->root.control_data = NULL;
glyph->root.control_len = 0;
}
else

View File

@ -342,7 +342,7 @@
FT_LOCAL_DEF( void )
cff_slot_done( FT_GlyphSlot slot )
{
slot->internal->glyph_hints = 0;
slot->internal->glyph_hints = NULL;
}

View File

@ -47,7 +47,7 @@
FT_ULong fd_select;
FT_Stream stream = face->cid_stream;
FT_Error error = FT_Err_Ok;
FT_Byte* charstring = 0;
FT_Byte* charstring = NULL;
FT_Memory memory = face->root.memory;
FT_ULong glyph_length = 0;
PSAux_Service psaux = (PSAux_Service)face->psaux;

View File

@ -413,7 +413,7 @@
FT_Int n;
CID_Subrs subr;
FT_UInt max_offsets = 0;
FT_ULong* offsets = 0;
FT_ULong* offsets = NULL;
PSAux_Service psaux = (PSAux_Service)face->psaux;

View File

@ -49,7 +49,7 @@
FT_LOCAL_DEF( void )
cid_slot_done( FT_GlyphSlot slot )
{
slot->internal->glyph_hints = 0;
slot->internal->glyph_hints = NULL;
}
@ -122,7 +122,7 @@
if ( funcs )
funcs->destroy( (PSH_Globals)cidsize->internal );
cidsize->internal = 0;
cidsize->internal = NULL;
}
}
@ -243,8 +243,8 @@
FT_FREE( cid->registry );
FT_FREE( cid->ordering );
cidface->family_name = 0;
cidface->style_name = 0;
cidface->family_name = NULL;
cidface->style_name = NULL;
FT_FREE( face->binary_data );
FT_FREE( face->cid_stream );
@ -421,7 +421,7 @@
/* no embedded bitmap support */
cidface->num_fixed_sizes = 0;
cidface->available_sizes = 0;
cidface->available_sizes = NULL;
cidface->bbox.xMin = cid->font_bbox.xMin >> 16;
cidface->bbox.yMin = cid->font_bbox.yMin >> 16;

View File

@ -192,7 +192,7 @@
pfrface->style_name = phy_font->style_name;
pfrface->num_fixed_sizes = 0;
pfrface->available_sizes = 0;
pfrface->available_sizes = NULL;
pfrface->bbox = phy_font->bbox;
pfrface->units_per_EM = (FT_UShort)phy_font->outline_resolution;

View File

@ -376,8 +376,8 @@
FT_FREE( stream->base );
stream->size = 0;
stream->base = 0;
stream->close = 0;
stream->base = NULL;
stream->close = NULL;
}
@ -1570,7 +1570,7 @@
FT_FREE( face->postscript_name );
face->sfnt = 0;
face->sfnt = NULL;
}

View File

@ -163,8 +163,8 @@
FT_Int num_glyphs;
FT_UShort num_names;
FT_UShort* glyph_indices = 0;
FT_Char** name_strings = 0;
FT_UShort* glyph_indices = NULL;
FT_Char** name_strings = NULL;
if ( FT_READ_USHORT( num_glyphs ) )
@ -316,7 +316,7 @@
FT_Error error;
FT_Int num_glyphs;
FT_Char* offset_table = 0;
FT_Char* offset_table = NULL;
FT_UNUSED( post_limit );

View File

@ -201,7 +201,7 @@
FT_FREE( font->family_name );
FT_FREE( font );
face->font = 0;
face->font = NULL;
}
@ -277,7 +277,7 @@
WinMZ_HeaderRec mz_header;
face->font = 0;
face->font = NULL;
/* does it begin with an MZ header? */
if ( FT_STREAM_SEEK( 0 ) ||