1. 17 Aug, 2003 1 commit
    • David Turner's avatar
      * include/freetype/config/ftoption.h, devel/ftoption.h, · 7ea3d3e3
      David Turner authored
              include/freetype/internal/ftobjs.h, include/freetype/internal/tttypes.h,
              src/truetype/ttinterp.c, src/truetype/ttobjs.c, src/truetype/ttobjs.h:
      
              changed the name of TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING to
              the simpler TT_CONFIG_OPTION_UNPATENTED_HINTING
      
              removed the macro TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING. Instead,
              the same effect can be used by setting a debug-hook with
              FT_DEBUG_HOOK_UNPATENTED_HINTING globally with FT_Set_Debug_Hook()
      7ea3d3e3
  2. 18 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 8575434b
      Werner Lemberg authored
      * include/freetype/freetype.h (FT_Open_Flags): Replaced with
      #defines for the constants.
      (FT_Open_Args): Change type of `flags' to FT_UInt.
      (FT_GlyphSlot): Move `flags' to FT_Slot_Internal.
      
      * include/freetype/ftimage.h (FT_Outline_Flags, FT_Raster_Flag):
      Replaced with #defines for the constants.
      
      * include/freetype/internal/ftobjs.h (FT_Slot_Internal): New
      field `flags' (from FT_GlyphSlot).
      Updated all affected source files.
      (FT_GLYPH_OWN_BITMAP): New macro (from ftgloadr.h).
      
      * include/freetype/internal/ftgloadr.h (FT_GLYPH_OWN_BITMAP): Moved
      to ftobjs.h.
      
      * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Use dummy
      FT_GlyphSlot_Internal object.
      8575434b
  3. 17 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · e847caa3
      Werner Lemberg authored
      * include/freetype/ftglyph.h (ft_glyph_bbox_unscaled,
      ft_glyph_bbox_subpixels, ft_glyph_bbox_gridfit,
      ft_glyph_bbox_truncate, ft_glyph_bbox_pixels): Replaced with
      FT_GLYPH_BBOX_UNSCALED, FT_GLYPH_BBOX_SUBPIXELS,
      FT_GLYPH_BBIX_GRIDFIT, FT_GLYPH_BBOX_TRUNCATE, FT_GLYPH_BBOX_PIXELS.
      The lowercase variants are now (deprecated aliases) to the uppercase
      versions.
      Updated all other files.
      
      * include/freetype/ftmodule.h (ft_module_font_driver,
      ft_module_renderer, ft_module_hinter, ft_module_styler,
      ft_module_driver_scalable, ft_module_driver_no_outlines,
      ft_module_driver_has_hinter): Replaced with FT_MODULE_FONT_DRIVER,
      FT_MODULE_RENDERER, FT_MODULE_HINTER, FT_MODULE_STYLER,
      FT_MODULE_DRIVER_SCALABLE, FT_MODULE_DRIVER_NO_OUTLINES,
      FT_MODULE_DRIVER_HAS_HINTER.
      The lowercase variants are now (deprecated aliases) to the uppercase
      versions.
      Updated all other files.
      
      * src/base/ftglyph.c (FT_Glyph_Get_CBox): Handle bbox_mode better
      as enumeration.
      
      * src/pcf/pcfdrivr.c (pcf_driver_class), src/winfonts/winfnt.c
      (winfnt_driver_class), src/bdf/bdfdrivr.c (bdf_driver_class): Add
      the FT_MODULE_DRIVER_NO_OUTLINES flag.
      e847caa3
  4. 09 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 02b2fa64
      Werner Lemberg authored
      * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Handle Z_STREAM_END
      correctly.
      
      * src/pshinter/pshglob.c (psh_globals_new): Change calculation of
      dim->stdw.count to avoid compiler problem.
      
      * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Move the block
      variables to the beginning of the function to avoid compiler
      problems.
      Add casts necessary for 16bit compilers.
      
      * src/pfr/rules.mk (PFR_DRV_SRC): Add pfrsbit.c.
      (PFR_DRV_H): Add pfrtypes.h.
      
      * include/freetype/config/ftconfig.h: s/__MWKS__/__MWERKS__/.
      
      * src/pfr/pfrsbit.c (pfr_bitwriter_init): Change type of third
      argument to FT_Bool.
      (pfr_lookup_bitmap_data): Change type of third and fourth argument
      to FT_UInt.  Updated caller.
      (pfr_load_bitmap_bits): Change type of fourth argument to FT_Bool.
      02b2fa64
  5. 05 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 3c63bf28
      Werner Lemberg authored
      * include/freetype/internal/ftdriver.h,
      include/freetype/internal/ftobjs.h,
      include/freetype/internal/psaux.h, src/cid/cidgload.c,
      src/psaux/psobjs.c, src/psaux/t1decode.c, src/psaux/psobjs.h,
      src/pshinter/pshrec.c, src/pshinter/pshalgo.c,
      src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfobjs.c,
      src/smooth/ftgrays.c, src/smooth/ftsmooth.c, src/truetype/ttobjs.c,
      src/truetype/ttdriver.c, src/truetype/ttgload.c, src/type1/t1afm.c,
      src/type1/t1gload.c, src/type1/t1gload.h, src/type1/t1load.c,
      src/type1/t1objs.c, src/type42/t42parse.c, src/type42/t42parse.h:
      Many casts and slight argument type changes to make it work with
      a 16bit compiler.
      3c63bf28
  6. 03 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 375da610
      Werner Lemberg authored
      * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed.  Just a
      wrapper for ah_hint_edges.
      (ah_hint_edges): Renamed to...
      (ah_hinter_hint_edges): This.
      
      * src/base/ftobjs.c (FT_Set_Hint_Flags): Removed.  Unused.
      
      * include/freetype/internal/ftobjs.h (FT_Face_InternalRec),
      include/freetype/internal/psaux.h (T1_DecoderRec),
      src/cff/cffgload.h (CFF_Builder): Remove `hint_flags' field.
      Unused.
      
      * src/cff/cffgload.c (cff_builder_init): Updated.
      (cff_decoder_parse_charstrings) <cff_op_endchar>: Call hinter->apply
      with decoder->hint_mode instead of builder->hint_flags.
      * src/psaux/t1decode.c (t1_decoder_init): Updated.
      
      * src/base/ftstroker.c (ft_stroke_border_export): s/index/idx/.
      
      * src/sfnt/sfobjs.c (sfnt_load_face): Commented out code which
      increased root->height by 15% if the line gap was zero.  There exist
      fonts (containing e.g. form drawing characters) which intentionally
      have a zero line gap value.
      375da610
  7. 23 Apr, 2003 1 commit
    • Werner Lemberg's avatar
      Fixing bugs reported by Nelson Beebe. · c23ce7db
      Werner Lemberg authored
      * src/base/ftstroker.c (FT_Stroker_ParseOutline): Remove unused
      variable `in_path'.
      
      * src/base/ftobjs (ft_glyphslot_set_bitmap): Change type of
      second argument to `FT_Byte*'.
      * include/freetype/internal/ftobjs.h: Updated.
      
      * src/bdf/bdflib.c (_bdf_readstream): Remove unused variable `res'.
      (_bdf_parse_glyphs): Remove unused variable `next'.
      Mark `call_data' as unused.
      
      * src/cache/ftlru.c (FT_LruList_Lookup): Remove unused variable
      `plast'.
      
      * src/pcf/pcfread.c (pcf_seek_to_table_type): Slight recoding to
      actually use `error'.
      (pcf_load_font): Remove unused variable `avgw'.
      
      * src/pfr/pfrobjs.c (pfr_face_get_kerning): Change return type
      to `void'.
      Mark `error' as unused.
      * src/pfr/pfrobjs.h: Updated.
      * src/pfr/pfrdrivr.c (pfr_get_kerning): Updated.
      
      * src/sfnt/ttload.c (sfnt_dir_check): Remove unused variable
      `format_tag'.
      
      * src/sfnt/ttcmap0.c (tt_cmap6_validate, tt_cmap10_validate): Remove
      unused variable `start'.
      (tt_cmap10_char_next): Remove unused variable `result'
      
      * src/sfnt/sfobjs.c (tt_face_get_name): Mark `error' as unused.
      
      * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Mark `error' as
      unused.
      
      * src/type1/t1objs.c (T1_Face_Init): Remove unused variable
      `pshinter'.
      
      * src/type1/t1gload.c (T1_Load_Glyph): Use `glyph_data_loaded'
      only for FT_CONFIG_OPTION_INCREMENTAL.
      c23ce7db
  8. 22 Apr, 2003 1 commit
  9. 20 Mar, 2003 1 commit
    • David Turner's avatar
      * docs/*: serious rewriting of the documentation · 95688472
      David Turner authored
          * include/freetype/internal/ftobjs.h, src/base/ftobjs.c, src/bdf/bdfdrivr.c,
          src/pcf/pcfdriver.c, src/pfr/pfrsbit.c, src/sfnt/ttsbit.c,
          src/type42/t42objs.c, src/winfonts/winfnt.c: introduced three new functions
          to deal with glyph bitmaps within FT_GlyphSlot objects. these are:
      
            ft_glyphslot_free_bitmap
            ft_glyphslot_alloc_bitmap
            ft_glyphslot_set_bitmap
      
          these are much more convenient to use than managing the FT_GLYPH_OWN_BITMAP
          flag manually. the font drivers have been modified to use them as well.
      
          * src/cache/ftlru.c: fixed an invalid assertion check
      95688472
  10. 22 Jan, 2003 1 commit
  11. 27 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · ab219bb2
      Werner Lemberg authored
      * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names,
      tt_face_get_ps_name): Replace switch statement with if clauses to
      make it more portable.
      
      * src/cff/cffobjs.c (cff_face_init): Ditto.
      
      * include/freetype/ftmodule.h (FT_Module_Class): Use `FT_Long' for
      `module_size'.
      * include/freetype/ftrender.h (FT_Glyph_Class_): Use `FT_Long' for
      `glyph_size'.
      
      * src/base/ftobjs.c (FT_Render_Glyph): Change second parameter to
      `FT_Render_Mode'.
      (FT_Render_Glyph_Internal): Change third parameter to
      `FT_Render_Mode'.
      * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Change second parameter
      to `FT_Render_Mode'.
      
      * src/raster/ftrend1.c (ft_raster1_render): Change third parameter
      to `FT_Render_Mode'.
      * src/smooth/ftsmooth.c (ft_smooth_render, ft_smooth_render_lcd,
      ft_smooth_render_lcd_v): Ditto.
      (ft_smooth_render_generic): Change third and fifth parameter to
      `FT_Render_Mode'.
      
      * include/freetype/freetype.h, include/freetype/internal/ftobjs.h,
      include/freetype/ftglyph.h: Updated.
      
      * src/cff/cffdrivr.c (Load_Glyph), src/pcf/pcfdriver.c
      (PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load),
      src/winfonts/winfnt.c (FNT_Load_Glyph), src/t42/t42objs.c
      (T42_GlyphSlot_Load), src/bdf/bdfdrivr.c (BDF_Glyph_Load): Change
      fourth parameter to `FT_Int32'.
      
      * src/pfr/pfrobjs.c (pfr_face_init): Add two missing parameters
      and declare them as unused.
      
      * src/cid/cidparse.h (CID_Parser): Use FT_Long for `postscript_len'.
      
      * src/psnames/psnames.h (PS_Unicode_Value_Func): Change return
      value to FT_UInt32.
      * src/psnames/psmodule.c (ps_unicode_value, ps_build_unicode_table):
      Updated accordingly.
      
      * src/cff/cffdrivr.c (Get_Kerning): Use FT_Long for `middle'.
      (cff_get_glyph_name): Use cast for result of ft_strlen.
      * src/cff/cffparse.c (cff_parse_real): User cast for assigning
      `exp'.
      * src/cff/cffload.c (cff_index_get_pointers): Use FT_ULong for
      some local variables.
      (cff_charset_load, cff_encoding_load): Use casts to FT_UInt for some
      switch statements.
      (cff_font_load): Use cast in call to CFF_Load_FD_Select.
      * src/cff/cffobjs.c (cff_size_init): Use more casts.
      (cff_face_init): Use FT_Int32 for `flags'.
      * src/cff/cffgload.c (cff_operator_seac): Use cast for assigning
      `adx' and `ady'.
      (cff_decoder_parse_charstrings): Use FT_ULong for third parameter.
      Use more casts.
      * src/cff/cffcmap.c (cff_cmap_unicode_init): Use cast for `count'.
      
      * src/cid/cidload.c (cid_read_subrs): Use FT_ULong for `len'.
      * src/cid/cidgload.c (cid_load_glyph): Add missing cast for
      `cid_get_offset'.
      
      * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <18>: Use
      cast for `num_points'.
      (t1_decoder_init): Use cast for assigning `decoder->num_glyphs'.
      
      * src/base/ftdebug.c (ft_debug_init): Use FT_Int.
      * include/freetype/internal/ftdriver.h (FT_Slot_LoadFunc): Use
      `FT_Int32' for fourth parameter.
      * src/base/ftobjs.c (open_face): Use cast for calling
      clazz->init_face.
      
      * src/raster/ftraster.c (Set_High_Precision): Use `1' instead of
      `1L'.
      (Finalize_Profile_Table, Line_Up, ft_black_init): Use casts.
      * src/raster/ftrend1.c (ft_raster1_render): Ditto.
      
      * src/sfnt/sfnt_dir_check: Compare `magic' with unsigned long
      constant.
      
      * builds/amiga/include/freetype/config/ftmodule.h: Updated.
      ab219bb2
  12. 05 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · d6f74d3b
      Werner Lemberg authored
      * src/cid/cidobjs.c (CID_Size_Init): Renamed to...
      (cid_size_init): This.
      * src/psaux/psobjs.c (T1_Builder_Add_Point1): Renamed to...
      (t1_builder_add_point1): This.
      
      Updated all affected code.
      
      * src/pshinter/pshalgo3.c (psh3_hint_align): Fix compiler warnings.
      * src/type1/t1gload.c (T1_Compute_Max_Advance): Ditto.
      
      Formatting, minor doc fixes.
      d6f74d3b
  13. 27 Aug, 2002 1 commit
    • David Turner's avatar
      * massive re-formatting changes to many, many source files. I don't · b16ccfc5
      David Turner authored
          want to list them all here. The operations performed were all logical
          transformations of the sources:
      
            - trying to convert all enums and constants to CAPITALIZED_STYLE, with
              #define definitions like
      
                #define  my_old_constants   MY_NEW_CONSTANT
      
            - big, big update of the documentation comments
      
          * include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
          include/freetype/ftimage.h: adding support for LCD-optimized rendering
          though the new constants/enums:
      
            FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
            FT_PIXEL_MODE_LCD,  FT_PIXEL_MODE_LCD_V
      
          this is still work in progress, don't expect everything to work correctly
          though most of the features have been implemented.
      
          * adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
          targets:
      
            FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
            FT_LOAD_TARGET_MONO   :: monochrome bitmaps
            FT_LOAD_TARGET_LCD    :: horizontal RGB/BGR decimated hinting & rendering
            FT_LOAD_TARGET_LCD_V  :: vertical RGB/BGR decimated hinting & rendering
      
          note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
          behaviour of the font engine is _unchanged_.
      b16ccfc5
  14. 06 Aug, 2002 1 commit
    • Werner Lemberg's avatar
      · cbfc9791
      Werner Lemberg authored
      Some formatting.
      
      * src/cff/cffcmap.c: Remove compiler warnings.
      * src/cache/ftccache.c, src/cache/ftccache.i,
      src/pfr/pfrload.c, src/pfr/pfrgload.c: s/index/idx/.
      * src/cff/cffload.c: s/select/fdselect/.
      * src/raster/ftraster.c: s/wait/waiting/.
      cbfc9791
  15. 01 Aug, 2002 1 commit
  16. 26 Jul, 2002 1 commit
    • Werner Lemberg's avatar
      · c5f6cd72
      Werner Lemberg authored
      Fixing ChangeLog entries.
      Some formatting.
      
      * src/truetype/ttgload.c (load_truetype_glyph)
      [FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/.
      
      * src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning.
      * src/cff/cffload.c (cff_encoding_load): Remove `memory' variable.
      * src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames'
      variable.
      * src/truetype/ttgload.c (load_truetype_glyph): Remove statement
      without effect.
      * src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
      c5f6cd72
  17. 11 Jul, 2002 1 commit
  18. 08 Jul, 2002 1 commit
    • David Turner's avatar
      * include/freetype/freetype.h, src/base/ftobjs.h, · 32e50721
      David Turner authored
          freetype/internal/ftobjs.h, freetype/internal/psaux.h,
          freetype/internal/pshints.h, src/psaux/t1decode.c, src/cff/cffgload.h,
          src/cff/cffgload.c, src/pshinter/pshalgo1.h, src/pshinter/pshalgo1.c,
          src/pshinter/pshalgo2.h, src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.h,
          src/pshinter/pshalgo3.c: Adding support for hinter-specific bit flags,
          and the new FT_Set_Hint_Flags high-level API
      32e50721
  19. 10 Jun, 2002 1 commit
    • David Turner's avatar
      * include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c, · 6e09a971
      David Turner authored
          src/base/ftobjs.c, src/objs/fttype1.c, src/sfnt/ttcmap0.c,
          src/smooth/ftgrays.c: changed uses of "setjmp" and "longjmp"
          to "ft_setjmp" and "ft_lonjmp". Removed direct references to
          <stdio.h> and <setjmp.h> when appropriate, to eventually replace
          them with a FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86
          Font Server backend based on FT2.
      6e09a971
  20. 14 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · be60044e
      Werner Lemberg authored
      * src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
      compiler warning.
      
      formatting/fixing ChangeLog
      be60044e
  21. 12 Apr, 2002 1 commit
    • David Turner's avatar
      * README.UNX: updated the Unix-specific quick-compilation guide to · 4ef3ec7c
      David Turner authored
                warn about the GNU Make requirement at compile time..
      
              * include/freetype/config/ftstdlib.h,
                include/freetype/config/ftconfig.h,
                include/freetype/config/ftheader.h,
                include/freetype/internal/ftmemory.h,
                include/freetype/internal/ftobjs.h,
      
                src/autohint/ahoptim.c,
      
                src/base/ftdbgmem.c, src/base/ftdebug.c,
                src/base/ftmac.c,    src/base/ftobjs.c,
                src/base/ftsystem.c,
      
                src/cache/ftcimage.c, src/cache/ftcsbits.c,
      
                src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,
      
                src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,
      
                src/pcf/pcfdriver.c, src/pcf/pcfread.c,
      
                src/psaux/t1cmap.c, src/psaux/t1decode.c,
      
                src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
                src/pshinter/pshrec.c,
      
                src/psnames/psmodule.c,
      
                src/raster/ftraster.c,
      
                src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,
      
                src/smooth/ftgrays.c,
      
                src/type1/t1afm.c,  src/type1/t1driver.c, src/type1/t1gload.c,
                src/type1/t1load.c, src/type1/t1objs.c,   src/type1/t1parse.c:
      
                  added the new configuration file "ftstdlib.h" used to define
                  aliases for all ISO C library functions used by the engine
                  (e.g. strlen, qsort, setjmp, etc...)
      
                  this eases the porting of FreeType 2 to exotic environments like
                  XFree86 modules/extensions..
      
                  also removed many #include <string.h>, #include <stdlib.h>, etc...
                  from the engine's sources where they're not needed..
      4ef3ec7c
  22. 29 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · 2b5f1a9b
      Werner Lemberg authored
      formatting
      2b5f1a9b
  23. 22 Mar, 2002 2 commits
  24. 20 Mar, 2002 1 commit
  25. 14 Mar, 2002 2 commits
    • David Turner's avatar
      * include/freetype/internal/ftobjs.h, · 5693e4d0
      David Turner authored
                src/base/ftapi.c, src/base/ftobjs.c: updated a few face method
                definitions:
      
                  FT_PSName_Requester     => FT_Face_GetPostscriptNameFunc
                  FT_Glyph_Name_Requester => FT_Face_GetGlyphNameFunc
                  FT_Name_Index_Requester => FT_Face_GetGlyphNameIndexFunc
      5693e4d0
    • David Turner's avatar
      * include/freetype/internal/ftdriver.h, · 9e1cfb80
      David Turner authored
                include/freetype/internal/ftobjs.h,
                src/base/ftapi.c, src/base/ftobjs.c,
                src/cff/cffdrivr.c, src/cff/cffdrivr.h,
                src/cid/cidriver.c, src/cid/cidriver.h,
                src/pcf/pcfdriver.c, src/pcf/pcfdriver.h,
                src/truetype/ttdriver.c, src/truetype/ttdriver.h,
                src/type1/t1driver.c, src/type1/t1driver.h,
                src/winfonts/winfnt.c, src/winfonts/winfnt.h:
                updating the type definitions for font font drivers
      9e1cfb80
  26. 06 Mar, 2002 1 commit
  27. 01 Mar, 2002 1 commit
  28. 28 Feb, 2002 1 commit
  29. 27 Feb, 2002 1 commit
  30. 24 Feb, 2002 3 commits
    • David Turner's avatar
      * renaming stream functions to the FT_Subject_Action scheme: · 5be6ec34
      David Turner authored
                FT_Seek_Stream         => FT_Stream_Seek
                FT_Skip_Stream         => FT_Stream_Skip
                FT_Read_Stream         => FT_Stream_Read
                FT_Read_Stream_At      => FT_Stream_Read_At
                FT_Access_Frame        => FT_Stream_Enter_Frame
                FT_Forget_Frame        => FT_Stream_Exit_Frame
                FT_Extract_Frame       => FT_Stream_Extract_Frame
                FT_Release_Frame       => FT_Stream_Release_Frame
                FT_Get_XXXX            => FT_Stream_Get_XXXX
                FT_Read_XXXX           => FT_Stream_Read_XXXX
      
                note also that:
      
                FT_New_Stream( filename, stream ) =>
                  FT_Stream_Open( stream, filename )
      
                (the function doesn't create the FT_Stream structure, it simply
                 initializes it for reading)
      
                FT_New_Memory_Stream( library, FT_Byte*  base, size, stream ) =>
                  FT_Stream_Open_Memory( stream, const FT_Byte* base, size )
      
                FT_Done_Stream => FT_Stream_Close
      
                note that the name of the stream methods, defined in
                "include/freetype/ftsystem.h" have also been changed without
                problems:
      
                  FT_Stream_IO    => FT_Stream_IOFunc
                  FT_Stream_Close => FT_Stream_CloseFunc
      5be6ec34
    • David Turner's avatar
      * moving all code related to glyph loaders to "internal/ftgloadr.h" · 76c7bd0d
      David Turner authored
              and "src/base/ftgloadr.c".
      
              Note also that the type "FT_GlyphLoader" is now a pointer to the
              structure "FT_GlyphLoaderRec"..
      76c7bd0d
    • David Turner's avatar
      6c0fedce
  31. 22 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · fb87c42c
      Werner Lemberg authored
      * include/freetype/internal/ftdebug.h (FT_Trace): Remove comma in
      enum to avoid compiler warnings.
      fb87c42c
  32. 21 Feb, 2002 1 commit
    • David Turner's avatar
      * include/freetype/internal/ftdebug.h, src/base/ftdebug.c: modified · 677dc0f7
      David Turner authored
              the debug sub-system initialization. trace levels can now be specified
              within the "FT2_DEBUG" environment variable. See the comments within
              "ftdebug.c" for more details
      
              * include/freetype/internal/fttrace.h: new file to define the trace
              levels used for debugging. it is used both to define enums and
              toggle names for FT2_DEBUG
      
              * src/base/ftobjs.c, src/base/ftstream.c: FT_Assert renamed to
              FT_ASSERT
      
              * include/freetype/internal/ftextend.h, src/base/ftextend.c,
              src/base/Jamfile, src/base/rules.mk: removing "ftextend" from the
              library, since it is now completely obsolete..
      677dc0f7
  33. 19 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · cc0039b5
      Werner Lemberg authored
      * src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused
      variables.
      * src/autohint/ahhint.c (ah_align_serif_edge): Use FT_UNUSED instead
      of UNUSED.
      * src/autohint/ahmodule.c (ft_autohinter_reset): Ditto.
      * src/pshinter/pshrec.c (ps_mask_table_merge): Fix typo in variable
      swapping code.
      * src/pshinter/pshglob.h (PSH_Blue_Align): Add PSH_BLUE_ALIGN_NONE.
      * src/pshinter/pshglob.c (psh_blues_snap_stem): Use it.
      * src/pshinter/pshalgo1.c (psh1_hint_table_optimize): Ditto.
      * src/pshinter/pshalgo2.c (psh2_hint_align): Ditto.
      * include/freetype/internal/ftobjs.h (UNUSED): Removed.
      cc0039b5
  34. 05 Dec, 2001 1 commit
    • Werner Lemberg's avatar
      · 05f271b5
      Werner Lemberg authored
      Formatting.
      
      Cleaning up of ChangeLog.
      
      * docs/license.txt: s/X Windows/X Window System/.
      
      * src/raster/ftraster.c: Fix definition condition of MEM_Set().
      * src/smooth/ftgrays.c (M_Y): Change value to 192.
      * src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
      Remove unused variable.
      * src/cache/ftcimage.c (ftc_image_node_init,
      ftc_image_node_compare): Remove unused variables.
      * src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
      variable.
      * src/raster/ftraster.c (MEM_Set): Move definition down to avoid
      compiler warning.
      * src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
      avoid compiler warnings.
      * src/pcf/pcfread.c (tableNames): Use `const'.
      (pcf_read_TOC): Change counter name to avoid compiler warning.
      Use `const'.
      * src/pshinter/pshrec.c (ps_hints_close): Remove redundant
      declaration.
      * src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
      to avoid shadowing.
      * src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
      * src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
      and `T1_Size_Done()'.
      05f271b5
  35. 18 Oct, 2001 1 commit
  36. 17 Oct, 2001 1 commit