1. 28 May, 2003 1 commit
    • Werner Lemberg's avatar
      · 71d5b74f
      Werner Lemberg authored
      * src/pshinter/pshalgo3.c (psh3_glyph_compute_extrema): Skip
      contours with only a single point to avoid segfault.
      * src/autohint/ahtypes.h (AH_OPTION_NO_STRONG_INTERPOLATION):
      Removed since unused.
  2. 21 May, 2003 2 commits
    • 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
    • Werner Lemberg's avatar
      · 22d661dd
      Werner Lemberg authored
      * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro
      for strcat.
      * src/base/ftmac.c (create_lwfn_name): s/isupper/ft_isupper/.
      (parse_font): s/memcpy/ft_memcpy/.
      (is_dfont) [TARGET_API_MAC_CARBON]: s/memcmp/ft_memcmp/.
      * src/base/ftobjs.c (load_mac_face) [FT_MACINTOSH]:
      * src/gzip/zutil.h: s/memset/ft_memset/.
      * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c
      (PCF_Face_Init): Test for charset registry case-insensitively.
      * t1load.c (parse_blend_axis_types): Fix compiler warning.
      * descrip.mms: Removed.  Now created by...
      * vms_make.com: New file.
  3. 20 May, 2003 3 commits
    • Werner Lemberg's avatar
      · 1766aa47
      Werner Lemberg authored
      * t1load.c (parse_blend_axis_types): Fix compiler warning.
      * src/gzip/ftgzip.c (ft_gzip_file_io): Avoid zero value of `delta'
      to prevent infinite loop.
      * docs/VERSION.DLL: Provide better autoconf snippet to check
      FreeType version.
      * src/base/ftobjs.c (open_face): Free `internal' not
      `face->internal' in case of error to avoid possible segfault.
      * src/pshinter/pshalgo3.c (ps3_hints_apply): Check whether we
      actually have an outline.
    • Werner Lemberg's avatar
      · 5a95127a
      Werner Lemberg authored
      * src/pshinter/pshalgo3.c (ps3_hints_apply): Try to optimize
      y_scale so that the top of non-capital letters is aligned on a pixel
      boundary whenever possible.
      * src/autohint/ahhint.c (ah_hint_edges): Make sure that lowercase
      m's maintain their symmetry.
    • Werner Lemberg's avatar
      · ca4ed22d
      Werner Lemberg authored
      * src/autohint/ahhint.c (ah_hinter_load_glyph): Oops!  David's
      patch from yesterday has been resolved already in a different
      way.  Reverted.
  4. 19 May, 2003 3 commits
    • Werner Lemberg's avatar
      · 94ed132e
      Werner Lemberg authored
      * src/autohint/ahhint.c (ah_hinter_load_glyph): Don't scale
      y_scale locally but face->size->metrics.y_scale.
    • Werner Lemberg's avatar
      · c38306a7
      Werner Lemberg authored
      Add comment to #ifdef section in #ifndef.
    • Werner Lemberg's avatar
      · 0e6bdd96
      Werner Lemberg authored
      * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start
      value for `hi' to avoid infinite loop.
  5. 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').
  6. 17 May, 2003 1 commit
    • Werner Lemberg's avatar
      · 6d2bb49e
      Werner Lemberg authored
      * src/base/fttrigon.c (FT_Vector_Rotate): Avoid rounding errors
      for small values.
      * src/autohint/ahtypes.h (AH_PointRec): Remove unused `in_angle'
      and `out_angle' fields.
  7. 15 May, 2003 1 commit
    • Werner Lemberg's avatar
      · de465e40
      Werner Lemberg authored
      * src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also.
      * include/freetype/freetype.h: Fix typo in comment
  8. 11 May, 2003 1 commit
    • Werner Lemberg's avatar
      * builds/unix/aclocal.m4: Comment out definition of · 8a32f50a
      Werner Lemberg authored
      `allow_undefined_flag' for Darwin 1.3.
      * builds/unix/configure.ac: Add option --with-old-mac-fonts.
      * builds/unix/ltmain.sh: Fix version numbering for Darwin 1.3.
      * builds/unix/configure: Regenerated.
      * include/freetype/config/ftconfig.h: Fix conditions for defining
      * src/base/ftbase.c: Include `ftmac.c' conditionally.
      * src/base/ftmac.c: Handle __GNUC__.
  9. 07 May, 2003 2 commits
    • Werner Lemberg's avatar
      * src/cid/cidload.c (is_alpha): Removed. · a8e38093
      Werner Lemberg authored
      (cid_parse_dict): Use `cid_parser_skip_alpha' instead of `is_alpha'.
      * src/autohint/ahoptim.c, src/autohint/ahoptim.h: Obsolete, removed.
    • Werner Lemberg's avatar
      * src/autohint/ahglyph.c (ah_setup_uv): Exchange `for' loop and · 70b09d4b
      Werner Lemberg authored
      `switch' statement to make it run faster.
      (ah_outline_compute_segments): Reset `segment->score' and
      (ah_outline_link_segments): Provide alternative code which does
      the same but runs much faster.
      Handle major direction also.
      (ah_outline_compute_edges): Scale `edge_distance_threshold' down
      after rounding instead of scaling comparison value in loop.
      * src/autohint/ahhint.c (ah_hinter_align_stong_points): Provide
      alternative code which runs faster.
      Handle `before->scale == 0'.
      * src/autohint/ahtypes.h (AH_SegmentRec): Move some fields down.
      (AH_EdgeRec): Move some fields in structure.
      New field `scale'.
      * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Use binary search.
  10. 03 May, 2003 2 commits
  11. 02 May, 2003 2 commits
  12. 29 Apr, 2003 1 commit
  13. 28 Apr, 2003 2 commits
  14. 25 Apr, 2003 7 commits
  15. 24 Apr, 2003 3 commits
  16. 23 Apr, 2003 8 commits
    • Werner Lemberg's avatar
      Fixing bugs reported by Nelson Beebe. · c23ce7db
      Werner Lemberg authored
      * src/base/ftstroker.c (FT_Stroker_ParseOutline): Remove unused
      variable `in_path'.
      * src/base/ftobjs (ft_glyphslot_set_bitmap): Change type of
      second argument to `FT_Byte*'.
      * include/freetype/internal/ftobjs.h: Updated.
      * src/bdf/bdflib.c (_bdf_readstream): Remove unused variable `res'.
      (_bdf_parse_glyphs): Remove unused variable `next'.
      Mark `call_data' as unused.
      * src/cache/ftlru.c (FT_LruList_Lookup): Remove unused variable
      * src/pcf/pcfread.c (pcf_seek_to_table_type): Slight recoding to
      actually use `error'.
      (pcf_load_font): Remove unused variable `avgw'.
      * src/pfr/pfrobjs.c (pfr_face_get_kerning): Change return type
      to `void'.
      Mark `error' as unused.
      * src/pfr/pfrobjs.h: Updated.
      * src/pfr/pfrdrivr.c (pfr_get_kerning): Updated.
      * src/sfnt/ttload.c (sfnt_dir_check): Remove unused variable
      * src/sfnt/ttcmap0.c (tt_cmap6_validate, tt_cmap10_validate): Remove
      unused variable `start'.
      (tt_cmap10_char_next): Remove unused variable `result'
      * src/sfnt/sfobjs.c (tt_face_get_name): Mark `error' as unused.
      * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Mark `error' as
      * src/type1/t1objs.c (T1_Face_Init): Remove unused variable
      * src/type1/t1gload.c (T1_Load_Glyph): Use `glyph_data_loaded'
    • Werner Lemberg's avatar
      * src/sfnt/ttcmap0.c (tt_cmap4_validate): Provide a weak variant · 15dd049a
      Werner Lemberg authored
      of the glyph ID bounding check if FT_VALIDATE_TIGHT is not active.
      Without this change, many CJK fonts from Dynalab are rejected.
    • Werner Lemberg's avatar
      * src/base/ftbdf.c (FT_Get_BDF_Property): Check for valid · dae373bc
      Werner Lemberg authored
    • Werner Lemberg's avatar
    • Werner Lemberg's avatar
      Cleanups. · 2320c784
      Werner Lemberg authored
    • Werner Lemberg's avatar
      Cleanups. · ac9f43cd
      Werner Lemberg authored
    • Werner Lemberg's avatar
      Cleanups. · 3e13e493
      Werner Lemberg authored
    • Werner Lemberg's avatar
      Cleanups. · 17de4818
      Werner Lemberg authored