* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix


			
			
				BRANCH-2-1-5
			
			
		
Werner Lemberg 23 years ago
parent c511ad734b
commit 840c2f268e
  1. 17
      ChangeLog
  2. 2
      builds/vms/descrip.mms
  3. 2
      src/autohint/descrip.mms
  4. 4
      src/base/descrip.mms
  5. 5
      src/cache/descrip.mms
  6. 4
      src/cache/ftccache.c
  7. 8
      src/cff/cffdrivr.c
  8. 2
      src/cff/descrip.mms
  9. 2
      src/cid/descrip.mms
  10. 2
      src/pcf/descrip.mms
  11. 2
      src/psaux/descrip.mms
  12. 2
      src/pshinter/descrip.mms
  13. 2
      src/psnames/descrip.mms
  14. 2
      src/raster/descrip.mms
  15. 2
      src/sfnt/descrip.mms
  16. 4
      src/sfnt/sfdriver.c
  17. 2
      src/smooth/descrip.mms
  18. 2
      src/truetype/descrip.mms
  19. 2
      src/type1/descrip.mms
  20. 2
      src/winfonts/descrip.mms

@ -1,7 +1,18 @@
2002-01-21 Antoine Leca <Antoine-Freetype@Leca-Marti.org>
2002-01-25 Martin Zinser <zinser@decus.de>
* docs/PATENTS: Typo fixed (Thanks to Detlef "Hawkeye"
Wuerkner) in the URL for the on-line resource.
* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
compilation warnings.
* src/base/descrip.mms (OBJS): Add `ftmm.obj'.
* src/cache/descrip.mms (ftcache.obj): Dependencies added.
2002-01-25 WANG Yi <wangyi@founder.com.cn>
* src/cff/cffdrivr.c (cff_get_name_index): Fix deallocation bug.
2002-01-21 Antoine Leca <Antoine-Freetype@Leca-Marti.org>
* docs/PATENTS: Typo fixed (thanks to Detlef "Hawkeye" Würkner) in
the URL for the online resource.
2002-01-18 Ian Brown <ian.brown@printsoft.de>

@ -18,7 +18,7 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([],[--.include],[--.src.base])
OBJS=ftsystem.obj
all : $(OBJS)
library/create [--.lib]freetype.olb $(OBJS)
library/create [--.lib]freetype.olb $(OBJS)
ftsystem.obj : ftsystem.c ftconfig.h

@ -20,6 +20,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/incl=([--.include],[--.src.autohint])
OBJS=autohint.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -15,9 +15,9 @@
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.builds.vms],[--.include],[--.src.base])
OBJS=ftbase.obj,ftinit.obj,ftglyph.obj,ftdebug.obj
OBJS=ftbase.obj,ftinit.obj,ftglyph.obj,ftdebug.obj,ftmm.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,9 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cache])
OBJS=ftcache.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
ftcache.obj : ftcache.c ftlru.c ftcmanag.c ftccache.c ftcglyph.c ftcimage.c \
ftcsbits.c ftccmap.c
# EOF

@ -44,7 +44,7 @@
family = entry->family;
/* remove from parent set table - eventually destroy the set */
if ( --family->num_nodes <= 0 )
if ( --family->num_nodes == 0 )
FT_LruList_Remove( cache->families, (FT_LruNode) family );
}
@ -213,7 +213,7 @@
FREE( node );
/* check, just in case of general corruption :-) */
if ( manager->num_nodes <= 0 )
if ( manager->num_nodes == 0 )
FT_ERROR(( "ftc_node_destroy: invalid cache node count! = %d\n",
manager->num_nodes ));
}

@ -344,6 +344,7 @@
FT_String* name;
FT_UShort sid;
FT_UInt i;
FT_Int result;
cff = face->extra.data;
@ -361,7 +362,12 @@
else
name = (FT_String *)psnames->adobe_std_strings( sid );
if ( !strcmp( glyph_name, name ) )
result = strcmp( glyph_name, name );
if ( sid > 390 )
FREE( name );
if ( !ret )
return i;
}

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cff])
OBJS=cff.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cid])
OBJS=type1cid.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -30,6 +30,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.pcf])
OBJS=pcf.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.psaux])
OBJS=psaux.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -20,4 +20,4 @@ OBJS=pshinter.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.psnames])
OBJS=psnames.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.raster])
OBJS=raster.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.sfnt])
OBJS=sfnt.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -121,8 +121,8 @@
if ( face->root.internal->postscript_name )
return face->root.internal->postscript_name;
/* scan the name table to see if we have a Postscript name here, either */
/* in Macintosh or Windows platform encodings.. */
/* scan the name table to see whether we have a Postscript name here, */
/* either in Macintosh or Windows platform encodings */
for ( n = 0; n < face->num_names; n++ )
{
TT_NameRec* name = face->name_table.names + n;

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.smooth])
OBJS=smooth.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.truetype])
OBJS=truetype.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.type1])
OBJS=type1.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

@ -18,6 +18,6 @@ CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.winfonts])
OBJS=winfnt.obj
all : $(OBJS)
library [--.lib]freetype.olb $(OBJS)
library [--.lib]freetype.olb $(OBJS)
# EOF

Loading…
Cancel
Save