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
              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()
  2. 09 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 0f19a8b5
      Werner Lemberg authored
      Completely revised FreeType's make management.
      . In all makefiles `/' is used as the path separator.  The
        conversion to the real path separators is done as late as
        possible using $(subst ...).
      . $(HOSTSEP) no longer exists.  Now, $(SEP) gives the path separator
        for the operating system, and the new $(COMPILER_SEP) the path
        separator for the compiler tools.
      . $(BUILD) has been renamed to $(BUILD_DIR).  In general, all
        directory variables end with `_DIR'.  The variants ending in `_'
        (like `BASE_' have been removed).
      The following ChangeLog entries only describe changes which are
      not related to the redesign.
      * builds/beos/beos-def.mk (BUILD_DIR): Fix typo.
      * builds/compiler/watcom.mk (LINK_LIBRARY): Fix linker call to avoid
      overlong arguments as suggested by J. Ali Harlow
      * builds/dos/dos-wat.mk: New file.
      * builds/freetype.mk (FREETYPE_H): Include header files from the
      `devel' subdirectory.
      * builds/os2/os2-dev.mk, builds/unix/unixddef.mk,
      builds/unix/unixddef.mk, builds/win32/w32-bccd.mk,
      builds/win32/w32-dev.mk (BUILD_DIR): Fix path.
      * builds/unix/configure.ac, builds/unic/configure: Updated.
      * builds/unix/unix-def.in (DISTCLEAN): Add `freetype2.pc'.
      * devel/ftoption.h: Updated.
  3. 22 Apr, 2003 1 commit
  4. 21 Apr, 2003 1 commit
  5. 25 Feb, 2003 1 commit
  6. 30 Jan, 2003 1 commit
  7. 24 Jan, 2003 1 commit
  8. 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
  9. 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
  10. 31 Oct, 2002 1 commit
  11. 16 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · 1313646d
      Werner Lemberg authored
      Making ftgrays.c compile stand-alone again.
      * include/freetype/ftimage.h: Include ft2build.h only if _STANDALONE_
      isn't defined.
      * src/smooth/ftgrays.c [_STANDALONE_]: Define ft_memset,
      (FT_MEM_ZERO): Define.
      (TRaster) [GRAYS_USE_GAMMA]: Use `unsigned char' instead of FT_Byte.
      (gray_render_span, gray_init_gamma): Don't use `FT_UInt'.
      Don't cast with `FT_Byte'.
      (grays_init_gamma): Don't use `FT_UInt'.
      * src/base/ftinit.c (FT_Add_Default_Modules): Improve error message.
      * src/pcf/pcfdriver.c (PCF_Face_Done): Improve tracing message.
      * include/freetype/config/ftoption.h (FT_MAX_MODULES): Increased
      to 32.
  12. 16 Aug, 2002 1 commit
    • Werner Lemberg's avatar
      · b4816762
      Werner Lemberg authored
      Add support for Apple composite glyphs.
      * include/freetype/config/ftoption.h
      * 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.
  13. 18 Jul, 2002 1 commit
  14. 08 Jun, 2002 1 commit
  15. 07 Jun, 2002 1 commit
  16. 19 Apr, 2002 1 commit
    • David Turner's avatar
      * src/type1/t1gload.h, src/type1/t1gload.c: fixed incorrect · 596ba532
      David Turner authored
                parameter sign-ness in callback function
              * include/freetype/config/ftmodule.h,
                src/Jamfile, src/pfr/*:
                adding a PFR font driver to the FreeType sources. Not that it
                doesn't support embedded bitmaps or kerning tables for now..
              * include/freetype/internal/ftmemory.h: adding the FT_MEM_ZERO
                and FT_ZERO macros
              * include/freetype/internal/ftstream.h: adding the FT_NEXT_OFF3,
                FT_NEXT_UOFF3, FT_NEXT_OFF3_LE and FT_NEXT_UOFF3_LE to parse
                in-memory 24-bit integers.
  17. 15 Apr, 2002 2 commits
  18. 02 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · de757dd1
      Werner Lemberg authored
      Fixes from the stable branch:
      * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_OLD_CALCS):
      * include/freetype/internal/ftcalc.h, src/base/ftcalc.c
      * src/base/fttrigon.c (FT_Vector_Length): Change algorithm to match
      output of FreeType 1.
      * src/pshinter/pshglob.c (psh_globals_scale_widths): Fixed a small
      bug that created un-even stem widths when hinting Postscript fonts.
      formatting, updating copyright
  19. 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
      * builds/unix/ftconfig.in: Add argument to FT_LOCAL and
      * src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/.
      * builds/unix/configure.ac: Temporarily deactivate creation of
      * builds/unix/configure: Updated.
  20. 22 Mar, 2002 1 commit
  21. 01 Mar, 2002 1 commit
  22. 24 Feb, 2002 1 commit
  23. 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
              * 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..
  24. 07 Jan, 2002 1 commit
  25. 22 Dec, 2001 1 commit
    • Werner Lemberg's avatar
      · 4770f01c
      Werner Lemberg authored
      * builds/amiga/*: Adaptations to latest changes.
      Support added for MorphOS.
      * src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
      (ps_mask_table_merge, ps_hints_open, ps_hints_stem,
      ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
      FT_ERROR messages.
      * src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
      * src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
      * include/freetype/internal/ftdebug.h (FT_Trace): Updated.
      * docs/modules.txt: New file.
  26. 21 Dec, 2001 1 commit
  27. 20 Dec, 2001 1 commit
  28. 19 Dec, 2001 1 commit
  29. 10 Dec, 2001 1 commit
  30. 05 Dec, 2001 1 commit
    • Werner Lemberg's avatar
      · 05f271b5
      Werner Lemberg authored
      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
      * 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
      * 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()'.
  31. 24 Oct, 2001 1 commit
  32. 22 Oct, 2001 3 commits
  33. 18 Oct, 2001 1 commit
  34. 21 Aug, 2001 1 commit
  35. 28 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      · 08146ba1
      Werner Lemberg authored
      finishing function header formatting
      updating copyrights
  36. 18 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      Minor cleanups to remove compiler warnings. · b90818ed
      Werner Lemberg authored
      * include/freetype/cache/ftcmanag.h (FTC_MAX_BYTES_DEFAULT): Use
      `L' for constant.
      * include/freetype/config/ftoption.h (FT_RENDER_POOL_SIZE): Ditto.
      * src/base/ftcalc.c (FT_MulDiv): Use `L' for constant.
      * src/base/ftglyph.c (FT_Glyph_Get_CBox): Remove `error' variable.
      * src/base/fttrigon.c (ft_trig_arctan_table): Use `L' for constants.
      * src/base/ftobjs.c (FT_Done_Size): Fix return value.
      (FT_Set_Char_Size, FT_Set_Pixel_Sizes, FT_Get_Kerning): Remove
      unused `memory' variable.
      * src/autohint/ahglyph.c (ah_get_orientation): Use `L' for constant.
      * src/autohint/ahhint.c (ah_hint_edges_3,
      ah_hinter_align_edge_points): Remove unused `before' and `after'
      (ah_hinter_align_weak_points): Remove unused `edge_limit' variable.
      (ah_hinter_load): Remove unused `new_advance', `start_contour',
      and `metrics' variables.
      * src/cff/cffload.c (CFF_Load_Encoding): Remove dead code to avoid
      compiler warning.
      * src/cff/cffobjs.c (CFF_Init_Face): Remove unused `base_offset'
      * src/cff/cffgload.c (CFF_Parse_CharStrings): Remove unused
      `outline' variable.
      (cff_compute_bias): Use `U' for constant.
      * src/cid/cidload.c (cid_decrypt): Ditto.
      * src/psaux/psobjs.c (T1_Decrypt): Ditto.
      * src/psaux/t1decode.c (T1_Decoder_Parse_CharStrings): Ditto.
      * src/sfnt/ttload.c (TT_Load_Kern): Remove unused `version'
      * src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top'
      * src/truetype/ttgload.c (load_truetype_glyph): Remove unused
      `num_contours' and `ins_offset' variables.
      (compute_glyph_metrics): Remove unused `Top' and `x_scale'
      (TT_Load_Glyph): Remove unused `memory' variable.
      * src/smooth/ftgrays.c (grays_raster_render): Use `L' for constants.
  37. 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.