1. 23 Apr, 2003 1 commit
  2. 15 Mar, 2003 1 commit
  3. 14 Mar, 2003 1 commit
  4. 13 Mar, 2003 1 commit
    • David Turner's avatar
      * src/base/ftdbgmem.c, docs/DEBUG.TXT: added new environment variables · ad1ceca2
      David Turner authored
          to control memory debugging with FreeType. See the description of
          "FT2_DEBUG_MEMORY", "FT2_ALLOC_TOTAL_MAX" and "FT2_ALLOC_COUNT_MAX"
          in DEBUG.TXT
      
          * src/cache/ftccache.c, src/cache/ftccmap.c, src/cache/ftcsbits.c,
          ftlru.c: fixed the cache sub-system to correctly deal with out-of-memory
          conditions.
      
          * src/pfr/pfrobjs.c, src/pfr/pfrsbits.c: fixing compiler warnings and a
          small memory leak
      
          * src/psaux/psobjs.c (t1_reallocate_table): fixed a bug (memory leak) that
          only happened when trying to resize an array would end in an OOM.
      
          * src/smooth/ftgrays.c: removed compiler warnings / volatile bug
      
          * src/truetype/ttobjs.c: removed segmentation fault that happened in
          tight memory environments.
      ad1ceca2
  5. 25 Feb, 2003 1 commit
  6. 18 Feb, 2003 1 commit
  7. 13 Feb, 2003 1 commit
  8. 30 Jan, 2003 1 commit
  9. 12 Jan, 2003 1 commit
    • David Turner's avatar
      2003-01-11 David Chester <davidchester@qmx.net> · 7f0c4e9c
      David Turner authored
              * include/freetype/config/ftoption.h, src/autohint/ahglobal.h,
              src/autohint/ahglobal.c, src/autohint/ahglyph.c,
              src/autohint/ahtypes.h:
      
                included David Chester's patches to the auto-hinter in order to
                slightly improve the output. Note that everything is controlled
                through the new FT_CONFIG_OPTION_CHESTER_HINTS defined at the
                end of "ftoption.h", there are also individual FT_CONFIG_CHESTER_XXX
                macros to control individual "features".
      
                Note that all improvements are enabled by default, but can be
                tweaked for optimization and testing purpose. The configuration
                macros will most likely disappear in the short future.
      
      2003-01-11  David Turner  <david@freetype.org>
      
              * include/freetype/internal/fnttypes.h: fixed a structure field
              definition to avoid memory overwrites
      7f0c4e9c
  10. 08 Jan, 2003 1 commit
  11. 06 Nov, 2002 1 commit
    • David Turner's avatar
      2002-11-05 David Turner <david@freetype.org> · 6c993554
      David Turner authored
              * include/freetype/config/ftoption.h, src/gzip/ftgzip.c: added
              support for the FT_CONFIG_OPTION_SYSTEM_ZLIB option, used to specify
              the use of system-wide zlib.
      
              Note that this macro, as well as FT_CONFIG_OPTION_BYTECODE_INTERPRETER,
              is not #undef-ed anymore. This allows the build system to define them
              depending on the configuration (typically by adding -D flags at
              compile time).
      
              * src/sfnt/ttcmap0.c (tt_face_build_cmaps): removed compiler warnings
              in optimized mode relative to the "volatile" local variables. This was
              not a compiler bug after all, but the fact that a pointer to a volatile
              variable is not the same than a volatile pointer to a variable :-)
      
              the fix was to change  "volatile FT_Byte*  p"
              into                   "FT_Byte* volatile  p"
      
              * src/pfr/pfrload.c, src/pfr/pfrdrivr.c, src/gzip/inftrees.c: removed
              compiler warnings in optimized modes
      
              * src/gzip/*.[hc]: modified our ZLib copy in order to prevent exporting
              any zlib function names outside of the component. This prevents linking
              problems on some platforms, when applications want to link FreeType
              _and_ ZLib together.
      
      
      2002-11-05  Juliusz  <jch@pps.jussieu.fr>
      
              * src/psaux/psobjs.c (ps_table_add): modified increment loop in
              order to implement exponential behaviour
      6c993554
  12. 21 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · 065b2614
      Werner Lemberg authored
      * src/truetype/ttdriver.c (Load_Glyph): Fourth parameter must be
      FT_Int32.
      * src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph):
      Ditto.
      065b2614
  13. 09 Sep, 2002 1 commit
    • David Turner's avatar
      * src/cache/ftccache.i: fixed a bug that prevented compilation in · 8bea7d26
      David Turner authored
              debug mode of template instantiation
      
              * src/cff/cffparse.c: fixed the CFF table loader. It didn't accept
              empty arrays, and this prevented the loading of certain fonts.
      
              * src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.c: adding fix to
              prevent seg fault when hints are provided in an empty glyph !!
      
              * include/freetype/ftimage.h: removed incorrect "zft_" definitions
              and updated constants documentation comments
      
              * include/freetype/freetype.h (FT_FaceRec): updating documentation
              comment. The "descender" value is always *negative*, not positive !
      8bea7d26
  14. 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
  15. 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
  16. 21 Aug, 2002 1 commit
    • Werner Lemberg's avatar
      · 8cb11c96
      Werner Lemberg authored
      * src/truetype/ttgload.c (TT_Get_Metrics): Add guard for k = 0.
      8cb11c96
  17. 16 Aug, 2002 1 commit
    • Werner Lemberg's avatar
      · b4816762
      Werner Lemberg authored
      Add support for Apple composite glyphs.
      
      * include/freetype/config/ftoption.h
      (TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED): New macro.
      
      * src/truetype/ttgload.c (OVERLAP_COMPOUND, SCALED_COMPONENT_OFFSET,
      UNSCALED_COMPONENT_OFFSET): New macros for additional OpenType
      glyph loading flags.
      (load_truetype_glyph): Implement it.
      b4816762
  18. 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
  19. 01 Aug, 2002 1 commit
  20. 28 Jul, 2002 1 commit
    • Werner Lemberg's avatar
      · 5e6cd65d
      Werner Lemberg authored
      s/ft_memset/FT_MEM_SET/.
      s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
      5e6cd65d
  21. 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
  22. 24 Jul, 2002 1 commit
  23. 18 Jul, 2002 1 commit
  24. 17 Jul, 2002 1 commit
  25. 26 Jun, 2002 1 commit
  26. 20 Jun, 2002 1 commit
    • Werner Lemberg's avatar
      · 7395da84
      Werner Lemberg authored
      * src/base/ftoutln.c (FT_Vector_Transform): Fix serious typo
      (xy <-> yx).
      * src/truetype/ttgload.c (load_truetype_glyph): Replace `|' with
      `||' to make code easier to read.
      7395da84
  27. 21 May, 2002 1 commit
    • Werner Lemberg's avatar
      · 1b547d80
      Werner Lemberg authored
      * src/bdf/README: Mention Microsoft's SBIT tool.
      
      * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c,
      src/truetype/ttdriver.c, src/type1/t1driver.c,
      src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c
      [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed.  It has
      been never used.
      1b547d80
  28. 05 May, 2002 1 commit
    • Werner Lemberg's avatar
      · 43284a06
      Werner Lemberg authored
      formatting
      43284a06
  29. 04 May, 2002 1 commit
    • David Turner's avatar
      * src/truetype/ttgload.c (TT_Load_Glyph): finally fixing the last · c9484caf
      David Turner authored
                bug that prevented FreeType 2.x and FreeType 1.x to produce
                bit-by-bit identical monochrome glyph bitmaps with native TrueType
                hinting. The culprit was a single-bit flag that wasn't set
                correctly by the TrueType glyph loader !!
      
              * src/otlayout/otlayout.h,
                src/otlayout/otlbase.c,
                src/otlayout/otlbase.h,
                src/otlayout/otlconf.h,
                src/otlayout/otlgdef.c,
                src/otlayout/otlgdef.h,
                src/otlayout/otlgpos.c,
                src/otlayout/otlgpos.h,
                src/otlayout/otlgsub.c,
                src/otlayout/otlgsub.h,
                src/otlayout/otljstf.c,
                src/otlayout/otljstf.h,
                src/otlayout/otltable.c,
                src/otlayout/otltable.h,
                src/otlayout/otltags.h:
      
                  adding OpenType Layout source files. Module is still incomplete
      c9484caf
  30. 30 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · b5127306
      Werner Lemberg authored
      `interface' is reserved on the Mac.
      
      * include/freetype/ftoutln.h, include/freetype/internal/sfnt.h,
      src/base/ftoutln.c: s/interface/func_interface/.
      * src/base/ftbbox.c (FT_Outline_Get_BBox):
      s/interface/bbox_interface/.
      * src/cff/cffdrivr.c: s/interface/module_interface/.
      * src/cff/cffload.c, src/cff/cffload.h:
      s/interface/psnames_interface/.
      * src/cid/cidriver.c: s/interface/cid_interface/.
      * src/sfnt/sfdriver.c: s/interface/module_interface/.
      * src/smooth/ftgrays.c: s/interface/func_interface/.
      * src/truetype/ttdriver.c: s/interface/tt_interface/.
      * src/type1/t1driver.c: s/interface/t1_interface/.
      b5127306
  31. 01 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · 546305fd
      Werner Lemberg authored
      * src/truetype/ttgload.c: 16bit fixes.
      (TT_Load_Simple_Glyph): Improve debug messages.
      (load_truetype_glyph): Remove dead code.
      * src/truetype/ttinterp.c: 16bit fixes.
      * src/truetype/ttobjs.c: Ditto.
      
      * include/freetype/ftsnames.h, include/freetype/internal/sfnt.h,
      src/cff/cffload.h, src/psaux/psobjs.h, src/truetype/ttinterp.[ch],
      src/sfnt/ttpost.h: s/index/idx/.
      
      formatting, copyright updates.
      546305fd
  32. 31 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · 9bba0634
      Werner Lemberg authored
      * src/truetype/ttobjs.c (TT_Size_Init): Fix typo.
      
      * src/otlayout/otlcommn.c, src/otlayout/otlcommn.h: s/index/idx/.
      9bba0634
  33. 30 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · f387e07c
      Werner Lemberg authored
      * src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message.
      
      * src/cff/cffobjs.c (CFF_Driver_Init, CFF_Driver_Done)
      [TT_CONFIG_OPTION_EXTEND_ENGINE]: Removed.
      * src/cff/sfobjs.c (SFNT_Load_Face)
      [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
      * src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver)
      [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
      
      * src/truetype/ttdriver.c, src/truetype/ttobjs.c,
      src/truetype/ttobjs.h: Renaming driver functions to the
      FT_<Subject>_<Action> scheme:
      
        TT_Init_Driver => TT_Driver_Init
        TT_Done_Driver => TT_Driver_Done
        TT_Init_Face   => TT_Face_Init
        TT_Done_Face   => TT_Face_Done
        TT_Init_Size   => TT_Size_Init
        TT_Done_Size   => TT_Size_Done
        TT_Reset_Size  => TT_Size_Reset
      f387e07c
  34. 29 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · 471b953a
      Werner Lemberg authored
      * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to
      FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h
      files.
      * builds/unix/ftconfig.in: Add argument to FT_LOCAL and
      FT_LOCAL_DEF.
      * src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/.
      * builds/unix/configure.ac: Temporarily deactivate creation of
      ../../Jamfile.
      * builds/unix/configure: Updated.
      471b953a
  35. 25 Mar, 2002 1 commit
  36. 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
  37. 20 Mar, 2002 1 commit
  38. 14 Mar, 2002 2 commits
    • David Turner's avatar
      no message · 0a86d632
      David Turner authored
      0a86d632
    • David Turner's avatar
      * include/freetype/internal/psglobals.h (removed), · ad4597ba
      David Turner authored
                include/freetype/internal/pshints.h,
                src/pshinter/pshglob.h: removing obsolete file
      
              * include/freetype/internal/tttypes.h,
                include/freetype/internal/sfnt.h,
                src/base/ftnames.c, src/cff/cffdrivr.c,
                src/sfnt/*.c, src/truetype/*.c: updated SFNT/TrueType type
                definitions
      ad4597ba