1. 05 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 3c63bf28
      Werner Lemberg authored
      * include/freetype/internal/ftdriver.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.
  2. 29 Apr, 2003 1 commit
  3. 25 Apr, 2003 1 commit
  4. 23 Apr, 2003 1 commit
  5. 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
          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
          * 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.
  6. 18 Feb, 2003 1 commit
  7. 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,
                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
  8. 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 !
  9. 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:
          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
            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_.
  10. 01 Aug, 2002 1 commit
  11. 28 Jul, 2002 1 commit
    • Werner Lemberg's avatar
      · 5e6cd65d
      Werner Lemberg authored
      s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
  12. 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'
      * src/truetype/ttgload.c (load_truetype_glyph): Remove statement
      without effect.
      * src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
  13. 24 Jul, 2002 1 commit
  14. 18 Jul, 2002 1 commit
  15. 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.
  16. 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/.
  17. 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)
      * src/cff/sfobjs.c (SFNT_Load_Face)
      * src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver)
      * 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
  18. 22 Mar, 2002 1 commit
    • 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_
                  note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
                  by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
                  This results in _lots_ of sources being changed, but makes the
                  code more generic and less error-prone..
  19. 20 Mar, 2002 1 commit
  20. 14 Mar, 2002 2 commits
    • David Turner's avatar
      no message · 0a86d632
      David Turner authored
    • David Turner's avatar
      * include/freetype/internal/psglobals.h (removed), · ad4597ba
      David Turner authored
                src/pshinter/pshglob.h: removing obsolete file
              * include/freetype/internal/tttypes.h,
                src/base/ftnames.c, src/cff/cffdrivr.c,
                src/sfnt/*.c, src/truetype/*.c: updated SFNT/TrueType type
  21. 01 Mar, 2002 1 commit
  22. 28 Feb, 2002 1 commit
  23. 28 Jun, 2001 2 commits
    • Werner Lemberg's avatar
      · 08146ba1
      Werner Lemberg authored
      finishing function header formatting
      updating copyrights
    • Werner Lemberg's avatar
      · 3544916a
      Werner Lemberg authored
  24. 06 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      Complete redesign of error codes. Please check ftmoderr.h for more · 442b0910
      Werner Lemberg authored
      * include/freetype/internal/cfferrs.h,
      include/freetype/internal/t1errors.h: Removed.  Replaced with files
      local to the module.  All extra error codes have been moved to
      * src/sfnt/ttpost.h: Move error codes to `fterrors.h'.
      * src/autohint/aherrors.h, src/cache/ftcerror.h, src/cff/cfferrs.h,
      src/cid/ciderrs.h, src/pcf/pcferror.h, src/psaux/psauxerr.h,
      src/psnames/psnamerr.h, src/raster/rasterrs.h, src/sfnt/sferrors.h,
      src/smooth/ftsmerrs.h, src/truetype/tterrors.h,
      src/type1/t1errors.h, src/winfonts/fnterrs.h: New files defining the
      error names for the module it belongs to.
      * include/freetype/ftmoderr.h: New file, defining the module error
      offsets.  Its structure is similar to `fterrors.h'.
      * include/freetype/fterrors.h (FT_NOERRORDEF): New macro.
      (FT_ERRORDEF): Redefined to use module error offsets.
      All internal error codes are now public; unused error codes have
      been removed, some are new.
      * include/freetype/config/ftheader.h (FT_MODULE_ERRORS_H): New
      * include/freetype/config/ftoption.h
      All other source files have been updated to use the new error codes;
      some already existing (internal) error codes local to a module have
      been renamed to give them the same name as in the base module.
      All make files have been updated to include the local error files.
      * src/cid/cidtokens.h: Replaced with...
      * src/cid/cidtoken.h: This file for 8+3 consistency.
      * src/raster/ftraster.c: Use macros for header file names.
  25. 02 Apr, 2001 1 commit
    • Werner Lemberg's avatar
      * README: Formatting. · 005b8b99
      Werner Lemberg authored
      * Jamfile: Fix typo.
      * src/cff/cffparse.c: Move error code #defines to...
      * include/freetype/internal/cfferrs.h: This file.
      * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced
      `FT_Err_*' with `CFF_Err_*'.
      * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'.
      * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto.
      * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with
      * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto.
      * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c,
      src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'.
      * include/freetype/internal/cfferrs.h: Add
      * include/freetype/internal/t1errors.h: Add
      * include/freetype/internal/tterrors.h: Add
      * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'
      * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'.
      * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use
      * src/cid/cidobjs.c (CID_Done_Driver): Ditto.
      * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size):
      * src/type1/t1objs.c (T1_Done_Driver): Ditto.
      * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto.
      * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.
  26. 20 Mar, 2001 2 commits
    • David Turner's avatar
      * include/freetype/config/ftheader.h, include/freetype/ftsnames.h: · dd9291c5
      David Turner authored
      	renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H
      	* docs/docmaker.py: added generation of INDEX link in table of contents
    • David Turner's avatar
      * builds/*/*-def.mk: changed the objects directory from "obj" to "objs" · 7dca898c
      David Turner authored
      	* include/freetype/config/ftheader.h: removed obsolete macros like
      	FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that
      	were previously defined in <freetype/ftcache.h>. Added comments to be
      	included in a new API Reference section.
      	* src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component
      	needs to added its own directory to the include path at compile time.
      	Modified all "rules.mk" and "descrip.mms" accordingly..
  27. 13 Dec, 2000 1 commit
    • David Turner's avatar
      * include/freetype/config/ft2build.h, · 10038668
      David Turner authored
      	include/freetype/internal/internal.h: fixed header inclusion macros
      	to use direct definitions. This is the only way to do these things
      	in a portable way :-( The rest of the code should follow shortly
      	though everything compiles now..
      	* builds/compiler/intelc.mk, builds/compiler/watcom.mk,
      	builds/win32/detect.mk: added support for the Intel C/C++ compiler,
      	as well as _preliminary_ (read: doesn't work !!) support for Watcom.
      	Also added a new setup target. Type "make setup list" for a list
      	of supported command-line compilers on Win32..
  28. 12 Dec, 2000 1 commit
    • Werner Lemberg's avatar
      * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): · 0f4d90d2
      Werner Lemberg authored
      Removed.  ANSI C doesn't (explicitly) allow macro expansion in
      arguments using `##'.
      names directly.  Make them configurable.  Use `##' to strip leading
      and trailing spaces from arguments.
      * builds/unix/ft2unix.h: Adapted.
      * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
      ft_close_stream): Use FT_CALLBACK_DEF.
      * builds/unix/ftsystem.c: Use new header scheme.
      (FT_Done_Memory): Use free() from FT_Memory structure.
      * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
      * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
      FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
  29. 08 Dec, 2000 2 commits
  30. 30 Nov, 2000 1 commit
    • David Turner's avatar
      - added support for the free command-line Borland C++ compiler · 9b9a5ffb
      David Turner authored
        in the "builds" directory
      - modified a few files because BCC32 didn't like certain comparisons
        (UInt compared with a UShort, apparently the UShort is promoted to
        an Int)
      - updated the INSTALL file to include IDE compilation, prevent against
        BSD Make, and clarify the use of "make setup" (instead of "make")
        for build configuration
  31. 29 Nov, 2000 1 commit
  32. 07 Nov, 2000 1 commit
    • Werner Lemberg's avatar
      · ee166f01
      Werner Lemberg authored
      Complementing David's changes with formatting, adding documentation, etc.
      More `*'-convention formatting, adding the `a' resp. `an' prefix to
  33. 06 Nov, 2000 1 commit
    • David Turner's avatar
      integrated Yamano-Uchi changes to the base source code. However, · be574d81
      David Turner authored
      I've made a few modifications:
        - there is no new field named "driver" in "FT_SizeRec"
        - the new fields in "TT_SizeRec" are:
             strike_index   :: value 0xFFFF means "no sbit strike selected"
             strike_metrics :: the FT_Size_Metrics structure corresponding to
                               the currently selected strike
        - the code in "ttload.c" has been somewhat cleaned up too
      thanks a lot, Y-U !!
      - David
  34. 04 Nov, 2000 1 commit
    • David Turner's avatar
      major reformatting of the sources: · d2d17013
      David Turner authored
        BASE_DEF               => FT_BASE
        BASE_FUNC            => FT_BASE_DEF
        LOCAL_DEF             => FT_LOCAL
        LOCAL_FUNC          => FT_LOCAL_DEF
  35. 22 Sep, 2000 1 commit
    • Werner Lemberg's avatar
      · 59395eca
      Werner Lemberg authored
      Applied a patch from Hidetoshi for embedded bitmap metrics support.
  36. 06 Aug, 2000 1 commit
    • Werner Lemberg's avatar
      · eedd97d7
      Werner Lemberg authored
      Yamano-uchi added support for SFNT-wrapped CID bitmap font files (with
      minor modifications from WL).