1. 22 Mar, 2002 2 commits
    • David Turner's avatar
      * include/freetype/internal/ftmemory.h, and a lot of other files !!: · d8021097
      David Turner authored
                  changed the names of memory macros. Examples:
      
                    MEM_Set   => FT_MEM_SET
                    MEM_Copy  => FT_MEM_COPY
                    MEM_Move  => FT_MEM_MOVE
      
                    ALLOC     => FT_ALLOC
                    FREE      => FT_FREE
                    REALLOC   = >FT_REALLOC
      
                  FT_NEW was introduced to allocate a new object from a _typed_
                  pointer..
      
                  note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
                  by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
                  arguments.
      
                  This results in _lots_ of sources being changed, but makes the
                  code more generic and less error-prone..
      d8021097
    • David Turner's avatar
      * include/freetype/internal/ftstream.h, · c9bcd833
      David Turner authored
                src/base/ftstream.c, src/cff/cffload.c, src/pcf/pcfread.c,
                src/sfnt/ttcmap.c, src/sfnt/ttcmap0.c, src/sfnt/ttload.c,
                src/sfnt/ttpost.c, src/sfnt/ttsbit.c,
                src/truetype/ttgload.c, src/truetype/ttpload.c,
                src/winfonts/winfnt.c:
      
                  changed the definitions of stream macros. Examples:
      
                    NEXT_Byte     => FT_NEXT_BYTE
                    NEXT_Short    => FT_NEXT_SHORT
                    NEXT_UShortLE => FT_NEXT_USHORT_LE
                    READ_Short    => FT_READ_SHORT
                    GET_Long      => FT_GET_LONG
                    etc..
      
                  also introduced the FT_PEEK_XXXX functions..
      c9bcd833
  2. 21 Mar, 2002 3 commits
  3. 20 Mar, 2002 6 commits
  4. 14 Mar, 2002 10 commits
  5. 13 Mar, 2002 1 commit
  6. 07 Mar, 2002 2 commits
    • Werner Lemberg's avatar
      · 8b3551a7
      Werner Lemberg authored
      * src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
      8b3551a7
    • Werner Lemberg's avatar
      · 769430fc
      Werner Lemberg authored
      * src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
      ft_mem_table_set, ft_mem_debug_alloc, ft_mem_debug_free,
      ft_mem_debug_realloc, ft_mem_debug_done, FT_Alloc_Debug,
      FT_Realloc_Debug, FT_Free_Debug): Fix compiler warnings.
      * src/base/ftcalc.c (FT_MulFix): Ditto.
      * src/cff/cffdrivr.c (cff_get_name_index): Ditto.
      * src/cff/cffobjs.c (CFF_Size_Get_Global_Funcs, CFF_Size_Init,
      CFF_GlyphSlot_Init): Ditto.
      * src/cid/cidobjs.c (CID_GlyphSlot_Init,
      CID_Size_Get_Globals_Funcs): Ditto.
      * src/type1/t1objs.c (T1_Size_Get_Globals_Funcs, T1_GlyphSlot_Init):
      Ditto.
      * src/pshinter/pshmod.c (pshinter_interface): Use `static const'.
      * src/winfonts/winfnt.c (FNT_Get_Next_Char): Remove unused
      variables.
      
      * include/freetype/internal/psaux.h (T1_Builder_Funcs): Renamed
      to...
      (T1_Builder_FuncsRec): This.
      (T1_Builder_Funcs): New typedef.
      (PSAux_Interface): Remove compiler warnings.
      * src/psaux/psauxmod.c (t1_builder_funcs), src/psaux/psobjs.h
      (t1_builder_funcs): Updated.
      
      * src/pshinter/pshglob.h (PSH_Blue_Align): Replaced with ...
      (PSH_BLUE_ALIGN_{NONE,TOP,BOT}): New defines.
      (PSH_AlignmentRec): Updated.
      
      * include/freetype/internal/ftstream.h (GET_Char, GET_Byte): Fix
      typo.
      * include/freetype/internal/ftgloadr.h (FT_SubGlyph): Ditto.
      * src/base/ftstream (FT_Get_Char): Rename to...
      (FT_Stream_Get_Char): This.
      
      * src/base/ftnames.c (FT_Get_Sfnt_Name): s/index/idx/ -- `index' is
      a built-in function in gcc, causing warning messages with gcc 3.0.
      * src/autohint/ahglyph.c (ah_outline_load): Ditto.
      * src/autohint/ahglobal.c (ah_hinter_compute_blues): Ditto.
      * src/cache/ftcmanag.c (ftc_family_table_alloc,
      ftc_family_table_free, FTC_Manager_Done, FTC_Manager_Register_Cache):
      Ditto.
      * src/cff/cffload.c (cff_new_index, cff_done_index,
      cff_explicit_index, CFF_Access_Element, CFF_Forget_Element,
      CFF_Get_Name, CFF_Get_String, CFF_Load_SubFont, CFF_Load_Font,
      CFF_Done_Font): Ditto.
      * src/psaux/psobjs.c (PS_Table_Add, PS_Parser_LoadField): Ditto.
      * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Ditto.
      * src/pshinter/pshrec.c (ps_mask_test_bit, ps_mask_clear_bit,
      ps_mask_set_bit, ps_dimension_add_t1stem, ps_hints_t1stem3,
      * src/pshinter/pshalgo1.c (psh1_hint_table_record,
      psh1_hint_table_record_mask, psh1_hint_table_activate_mask): Ditto.
      * src/pshinter/pshalgo2.c (psh2_hint_table_record,
      psh2_hint_table_record_mask, psh2_hint_table_activate_mask): Ditto.
      * src/sfnt/ttpost.c (Load_Format_20, Load_Format_25,
      TT_Get_PS_Name): Ditto.
      * src/truetype/ttgload.c (TT_Get_Metrics, Get_HMetrics,
      load_truetype_glyph): Ditto.
      * src/type1/t1load.c (parse_subrs, T1_Open_Face): Ditto.
      * src/type1/t1afm.c (T1_Get_Kerning): Ditto.
      * include/freetype/cache/ftcmanag.h (ftc_family_table_free): Ditto.
      769430fc
  7. 06 Mar, 2002 5 commits
  8. 05 Mar, 2002 4 commits
    • David Turner's avatar
      * src/sfnt/ttload.c (TT_Load_Names), src/sfnt/sfobjs.c (Get_Name), · ec208f00
      David Turner authored
      	src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fixed the loader so
      	that it accepts broken fonts like "foxjump.ttf", which made FreeType
      	crash when trying to load them.
      
      	Also improved the name table parser to be able to load
      	Windows-encoded entries before Macintosh or Unicode ones, since it
      	seems some fonts don't have reliable values here anyway.
      ec208f00
    • David Turner's avatar
      * src/cid/cidriver.c (cid_get_postscript_name): fixed a bug that · 57cd33e0
      David Turner authored
              caused the CID driver to return Postscript font names with a leading
              slash ("/") as in "/MOEKai-Regular"
      57cd33e0
    • David Turner's avatar
      * src/type1/t1objs.c (T1_Face_Init), · e826d875
      David Turner authored
                src/cff/cffobjs.c (CFF_Face_Init),
                src/cid/cidobjs.c (CID_Face_Init):
      
                  removing the bug that returned global BBox values in
                  16.16 fixed format (instead of integer font units).
      e826d875
    • Werner Lemberg's avatar
      · 9eddcfc1
      Werner Lemberg authored
      * builds/unix/aclocal.m4, builds/unix/ltmain.sh: Update to libtool
      1.4.2.
      Apply a small patch for AIX to make shared libraries work (this
      patch is already in the CVS version of libtool).
      
      * builds/unix/config.sub, builds/unix/config.guess: Updated to
      recent versions.
      
      * builds/unix/configure.ac: Fix typo
      (AC_CONFIG_FILE->AC_CONFIG_FILES).
      
      * builds/unix/configure: Regenerated.
      9eddcfc1
  9. 01 Mar, 2002 1 commit
  10. 28 Feb, 2002 4 commits
  11. 27 Feb, 2002 2 commits