1. 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
  2. 27 Jun, 2001 9 commits
  3. 26 Jun, 2001 1 commit
  4. 24 Jun, 2001 1 commit
  5. 23 Jun, 2001 2 commits
  6. 22 Jun, 2001 5 commits
  7. 20 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      * include/freetype/config/ftconfig.h: Add two more `L's to · 6b4e8d93
      Werner Lemberg authored
      constants.
      Add missing semicolons.
      
      * builds/toplevel.mk: Do similar change as for
      builds/unix/detect.mk.
      
      * include/freetype/freetype.h (FT_ENC_TAG): New version to make it
      easier to redefine.
      * include/freetype/ftimage.h (FT_IMAGE_TAG): Ditto.
      
      * include/freetype/freetype.h (FT_New_Memory_Face): Updated
      6b4e8d93
  8. 19 Jun, 2001 5 commits
  9. 18 Jun, 2001 2 commits
    • 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'
      variables.
      (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'
      variable.
      * 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'
      variable.
      * src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top'
      variable.
      * src/truetype/ttgload.c (load_truetype_glyph): Remove unused
      `num_contours' and `ins_offset' variables.
      (compute_glyph_metrics): Remove unused `Top' and `x_scale'
      variables.
      (TT_Load_Glyph): Remove unused `memory' variable.
      * src/smooth/ftgrays.c (grays_raster_render): Use `L' for constants.
      b90818ed
    • Werner Lemberg's avatar
      Make the new error scheme source compatible with older FT versions · f8e9f426
      Werner Lemberg authored
      by introducing another layer.
      
      * include/freetype/fterrors.h (FT_ERRORDEF_, FT_NOERRORDEF_): New
      macros.
      (FT_NOERRORDEF): Removed.
      * include/*/*err*.h: Use FT_ERRORDEF_ and FT_NOERRORDEF_.
      f8e9f426
  10. 16 Jun, 2001 2 commits
  11. 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
  12. 11 Jun, 2001 1 commit
  13. 08 Jun, 2001 4 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
    • Werner Lemberg's avatar
      * builds/unix/configure.in: Renamed to ... · 6c01dd82
      Werner Lemberg authored
      * builds/unix/configure.ac: This to make sure that autoconf 2.50 is
      needed.
      Run `autoupdate' on it.
      * builds/unix/configure: Regenerated.
      
      * src/autohint/ahhint.c (ah_hinter_load_glyph): Fixed a bug that
      corrupted transformed glyphs that were auto-hinted (the transform
      was applied twice).
      
      Updating to libtool 1.4.0 and autoconf 2.50.
      6c01dd82
    • David Turner's avatar
      * src/autohint/ahhint.c (ah_hinter_load_glyph): fixed a bug that · c4256c6f
      David Turner authored
              corrupted transformed glyphs that were auto-hinted (the transform
              was applied twice !!)
      c4256c6f
  14. 07 Jun, 2001 2 commits
    • Werner Lemberg's avatar
      · cec2c864
      Werner Lemberg authored
      removed
      cec2c864
    • Werner Lemberg's avatar
      Updating to libtool 1.4.0. · 7840c3cc
      Werner Lemberg authored
      * builds/unix/ltconfig: Removed.
      * builds/unix/ltmain.sh, builds/unix/configure.in,
      builds/unix/aclocal.m4: Updated.
      * builds/unix/configure: Regenerated.
      7840c3cc
  15. 06 Jun, 2001 2 commits
    • 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
    • Werner Lemberg's avatar
      · be0924aa
      Werner Lemberg authored
      Fixed length of `Reserved' array.
      be0924aa