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. 10 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · edb31ca7
      Werner Lemberg authored
      * src/truetype/ttinterp.c (SetSuperRound) <0x30>: Follow Apple's
      TrueType specification.
      (Ins_MDRP, Ins_MIRP): Fix single width cut-in test.
      edb31ca7
  3. 03 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 1c524796
      Werner Lemberg authored
      * src/truetype/ttinterp.c (Free_Project, CUR_Func_freeProj):
      Removed.  Unused.
      Updated all callers.
      1c524796
  4. 21 May, 2003 1 commit
    • Werner Lemberg's avatar
      · 834dd305
      Werner Lemberg authored
      * src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
      it has already been fixed differently.
      
      * src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around
      if-clause.
      834dd305
  5. 29 Apr, 2003 1 commit
  6. 25 Apr, 2003 1 commit
  7. 23 Apr, 2003 1 commit
  8. 18 Feb, 2003 1 commit
  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:
      
            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
  10. 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
  11. 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
  12. 25 Mar, 2002 1 commit
  13. 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_
                  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
  14. 14 Mar, 2002 1 commit
    • 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
  15. 01 Mar, 2002 1 commit
  16. 07 Jul, 2001 2 commits
  17. 28 Jun, 2001 2 commits
    • Werner Lemberg's avatar
      · 08146ba1
      Werner Lemberg authored
      finishing function header formatting
      
      updating copyrights
      08146ba1
    • Werner Lemberg's avatar
      · 3544916a
      Werner Lemberg authored
      formatting
      3544916a
  18. 27 Jun, 2001 2 commits
  19. 14 Jun, 2001 1 commit
    • David Turner's avatar
      modified the TrueType interpreter to let it · 686901a1
      David Turner authored
              use the new trigonometric functions provided in "fttrigon.h". This
              gets rid of some old 64-bit computation routines, as well as many
              warnings when compiling the library with the "long long" 64-bit
              integer type.
      686901a1
  20. 08 Jun, 2001 2 commits
    • Werner Lemberg's avatar
      Increase `version_info' to 7:0:1. · 645f60b8
      Werner Lemberg authored
      Fixed a bug that returned an invalid linear width for composite
      TrueType glyphs.
      * include/internal/tttypes.h (TT_Loader_): Two new elements `linear'
      and `linear_def'.
      * src/truetype/ttgload.c (load_truetype_glyph,
      compute_glyph_metrics): Use it.
      * include/fttypes.h (FT_ERROR_BASE): New macro.
      * src/base/ftobjs.c (FT_Open_Face, FT_Render_Glyph_Internal): Use it
      to make source code work with the new error scheme implemented by
      Werner.
      * src/base/ftoutln.c (FT_Outline_Render): Ditto.
      645f60b8
    • David Turner's avatar
      fixed a bug that returned an invalid linear width for composite · 1ad51db6
      David Turner authored
      TrueType glyphs
      
      fixed source code to work with the new error scheme implemented
      by Werner
      1ad51db6
  21. 06 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      Complete redesign of error codes. Please check ftmoderr.h for more · 442b0910
      Werner Lemberg authored
      details.
      
      * include/freetype/internal/cfferrs.h,
      include/freetype/internal/tterrors.h,
      include/freetype/internal/t1errors.h: Removed.  Replaced with files
      local to the module.  All extra error codes have been moved to
      `fterrors.h'.
      
      * 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
      macro.
      * include/freetype/config/ftoption.h
      (FT_CONFIG_OPTION_USE_MODULE_ERRORS): New macro.
      
      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.
      442b0910
  22. 20 Mar, 2001 1 commit
    • 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..
      7dca898c
  23. 13 Dec, 2000 2 commits
    • Werner Lemberg's avatar
      include/freetype/internal/internal.h: Fixed header inclusion macros · f23f4ad1
      Werner Lemberg authored
      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: New files.
      
      * 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.
      
      * src/base/ftdebug.c: Added dummy symbol to avoid empty file if
      conditionals are off.
      f23f4ad1
    • 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..
      10038668
  24. 12 Dec, 2000 2 commits
    • 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 `##'.
      (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
      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,
      FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
      FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
      0f4d90d2
    • Werner Lemberg's avatar
      * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, · 70d92819
      Werner Lemberg authored
      FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##'
      operator to be really ANSI C compliant.
      
      
      * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
      
      
      * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
      70d92819
  25. 08 Dec, 2000 2 commits
  26. 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
      9b9a5ffb
  27. 07 Nov, 2000 1 commit
    • Werner Lemberg's avatar
      · 9e0aabf4
      Werner Lemberg authored
      All function comments are now removed from source files (and moved to the
      header files if necessary).
      
      Some minor fixes to have `make multi' run successfully (with gcc and g++).
      
      Fixing compiler warnings.
      9e0aabf4
  28. 04 Nov, 2000 1 commit
    • David Turner's avatar
      major reformatting of the sources: · d2d17013
      David Turner authored
        FT_EXPORT_DEF    => FT_EXPORT
        FT_EXPORT_FUNC => FT_EXPORT_DEF
        BASE_DEF               => FT_BASE
        BASE_FUNC            => FT_BASE_DEF
        LOCAL_DEF             => FT_LOCAL
        LOCAL_FUNC          => FT_LOCAL_DEF
        LOCAL_FUNC_X     => FT_CALLBACK_DEF
        LOCAL_DEF_X       => FT_CALLBACK_TABLE
        FT_CPLUSPLUS     => FT_CALLBACK_TABLE_DEF
      d2d17013
  29. 02 Nov, 2000 1 commit
    • Werner Lemberg's avatar
      · cf6bc2e2
      Werner Lemberg authored
      More C++ fixes.
      cf6bc2e2
  30. 08 Jul, 2000 2 commits
  31. 05 Jul, 2000 2 commits
    • David Turner's avatar
      fixed a few bugs, cleaned up some code · 43a2f656
      David Turner authored
      43a2f656
    • Werner Lemberg's avatar
      · bd5ae400
      Werner Lemberg authored
      Run g++ on the FreeType library.  This should make the use of code in
      C++ programs easier:
      
        Renamed FT_WordXX to FT_UIntXX.
      
        Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType
        always accesses streams byte-wise, so this makes sense IMHO.
      
        Added a lot of #ifdef __cplusplus to header files (and removed a few).
      
        Other minor syntax fixes (mostly casts).
      
        Replaced the variable `private' with `private_dict' -- `private' is
        reserved in C++.
      bd5ae400