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. 05 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 0dbd2658
      Werner Lemberg authored
      * include/freetype/config/ftoption.h: Defining
      TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING by default is a bad idea
      since some fonts (e.g. Arial) produce worse results than without
      hinting.  Reverted.
  3. 04 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 124d3334
      Werner Lemberg authored
      * src/truetype/ttgload.c (load_truetype_glyph)
      FT_GlyphLoader_CheckPoints before adding phantom points.  This fixes
      a segfault bug with fonts (e.g. htst3.ttf) which have nested
      subglyphs more than one level deep.  Reported by Anthony Fok.
      * include/freetype/config/ftoption.h: Define
  4. 18 May, 2003 1 commit
    • Werner Lemberg's avatar
      · 9e47f219
      Werner Lemberg authored
      * src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test.
      * include/freetype/config/ftoption.h [FT_CONFIG_OPTION_MAC_FONTS]:
      New macro.
      * src/base/ftobjs.c: Use it to control mac font support on non-mac
      Implement partial support of Mac fonts on non-Mac platforms.
      * src/base/ftobjs.c (memory_stream_close, new_memory_stream,
      open_face_from_buffer, Mac_Read_POST_Resource,
      Mac_Read_sfnt_Resource, IsMacResource, IsMacBinary, load_mac_face)
      [!FT_MACINTOSH]: New functions.
      (FT_Open_Face) [!FT_MACINTOSH]: Use load_mac_face.
      * src/base/ftobjs.c (FT_Load_Glyph): Scale linear advance width only
      if FT_FACE_FLAG_SCALABLE is set (otherwise we have a division by
      zero since FNT and friends don't define `face->units_per_EM').
  5. 29 Apr, 2003 1 commit
  6. 25 Apr, 2003 1 commit
  7. 21 Apr, 2003 2 commits
  8. 30 Jan, 2003 1 commit
  9. 24 Jan, 2003 1 commit
  10. 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
  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
  12. 31 Oct, 2002 1 commit
  13. 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.
  14. 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.
  15. 18 Jul, 2002 1 commit
  16. 08 Jun, 2002 1 commit
  17. 07 Jun, 2002 1 commit
  18. 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.
  19. 15 Apr, 2002 2 commits
  20. 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
  21. 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.
  22. 22 Mar, 2002 1 commit
  23. 01 Mar, 2002 1 commit
  24. 24 Feb, 2002 1 commit
  25. 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..
  26. 07 Jan, 2002 1 commit
  27. 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.
  28. 21 Dec, 2001 1 commit
  29. 20 Dec, 2001 1 commit
  30. 19 Dec, 2001 1 commit
  31. 10 Dec, 2001 1 commit
  32. 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()'.
  33. 24 Oct, 2001 1 commit
  34. 22 Oct, 2001 3 commits
  35. 18 Oct, 2001 1 commit
  36. 21 Aug, 2001 1 commit