summaryrefslogtreecommitdiff
path: root/src/type42
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2015-04-12 23:16:48 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2015-04-12 23:16:48 -0400
commiteabc8d72e0dddf8fa85ba07677ba4ba565283e1e (patch)
tree04a9f46f890c34b129dd133ef2eb5132beef7db1 /src/type42
parentadb08efcf1c661bbff0b71672a293f06c51e58a4 (diff)
downloadfreetype2-eabc8d72e0dddf8fa85ba07677ba4ba565283e1e.tar.gz
[psaux,psnames,type1,type42] NULL.
Diffstat (limited to 'src/type42')
-rw-r--r--src/type42/t42objs.c16
-rw-r--r--src/type42/t42parse.c4
2 files changed, 10 insertions, 10 deletions
diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c
index d0a05d6b7..2756adfee 100644
--- a/src/type42/t42objs.c
+++ b/src/type42/t42objs.c
@@ -92,8 +92,8 @@
/* the `lengths' field must be released later */
type1->glyph_names_block = loader.glyph_names.block;
type1->glyph_names = (FT_String**)loader.glyph_names.elements;
- loader.glyph_names.block = 0;
- loader.glyph_names.elements = 0;
+ loader.glyph_names.block = NULL;
+ loader.glyph_names.elements = NULL;
/* we must now build type1.encoding when we have a custom array */
if ( type1->encoding_type == T1_ENCODING_TYPE_ARRAY )
@@ -285,7 +285,7 @@
/* no embedded bitmap support */
root->num_fixed_sizes = 0;
- root->available_sizes = 0;
+ root->available_sizes = NULL;
/* Load the TTF font embedded in the T42 font */
{
@@ -461,8 +461,8 @@
FT_FREE( face->unicode_map.maps );
face->unicode_map.num_maps = 0;
- face->root.family_name = 0;
- face->root.style_name = 0;
+ face->root.family_name = NULL;
+ face->root.style_name = NULL;
}
@@ -632,10 +632,10 @@
slot->bitmap_left = 0;
slot->bitmap_top = 0;
slot->num_subglyphs = 0;
- slot->subglyphs = 0;
- slot->control_data = 0;
+ slot->subglyphs = NULL;
+ slot->control_data = NULL;
slot->control_len = 0;
- slot->other = 0;
+ slot->other = NULL;
slot->format = FT_GLYPH_FORMAT_NONE;
slot->linearHoriAdvance = 0;
diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c
index d046408ae..109e996e0 100644
--- a/src/type42/t42parse.c
+++ b/src/type42/t42parse.c
@@ -142,11 +142,11 @@
FT_Long size;
- psaux->ps_parser_funcs->init( &parser->root, 0, 0, memory );
+ psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory );
parser->stream = stream;
parser->base_len = 0;
- parser->base_dict = 0;
+ parser->base_dict = NULL;
parser->in_memory = 0;
/*******************************************************************/