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. 16 Aug, 2003 1 commit
  3. 06 Aug, 2003 2 commits
    • Werner Lemberg's avatar
      · cb23fe6e
      Werner Lemberg authored
      * src/type1/t1gload.c (T1_Load_Glyph), src/cff/cffgload.c
      (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph): Fix
      previous change.
      cb23fe6e
    • Werner Lemberg's avatar
      · a38af1f5
      Werner Lemberg authored
      * src/type1/t1gload.c (T1_Load_Glyph), src/cff/cffgload.c
      (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph): Apply
      font matrix to advance also.
      * docs/CHANGES: Updated.
      a38af1f5
  4. 26 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · e7cd6e5f
      Werner Lemberg authored
      * builds/unix/configure.ac (version_info): Set to 9:4:3.
      * builds/unix/configure: Updated.
      * docs/CHANGES, docs/VERSION.DLL: Updated.
      
      * include/freetype/freetype.h (FT_GlyphSlot): Change 2003-06-16
      also breaks binary compatibility.  Reintroduce an unsigned integer
      at the old position of `flags' called `reserved'.
      e7cd6e5f
  5. 25 Jul, 2003 4 commits
    • Werner Lemberg's avatar
      · d66a56a3
      Werner Lemberg authored
      * src/tools/docmaker/tohtml.py
      (chapter_inter, chapter_footer): Add <li> and use special <ul>
      class.
      (toc_exit): Don't emit </table>.
      d66a56a3
    • Werner Lemberg's avatar
      · 940f5aba
      Werner Lemberg authored
      (code_header, code_footer): Don't change font colour directly but
      use a special <pre> class.
      940f5aba
    • Werner Lemberg's avatar
      · e7df0f90
      Werner Lemberg authored
      Make reference valid HTML 4.01 transitional.
      
      * src/tools/docmaker/tohtml.py (html_header_1): Add doctype
      and charset.
      (html_header_2): Fix style elements and add some more.
      Fix syntax.
      (block_header, block_footer, description_header, description_footer,
      marker_header, marker_footer, source_header, source_footer,
      chapter_header, chapter_footer): Don't use <center>...</center> but
      `align=center' table attribute.
      Use double quotes around table widths given in percent.
      (keyword_prefix, keyword_suffix): Don't change font colour directly
      but use a new <span> class.
      (section_synopsis_header, section_synopsis_footer): Don't change
      colour.
      (print_html_field): <tr> gets the `valign' attribute, not <table>.
      (print_html_field_list): Ditto.
      (index_exit): Don't use <center>...</center> but `align=center'
      table attribute.
      (toc_exit, section_enter): Ditto.
      (block_enter): Use <h4><a>, not <a><h4>.
      
      
      This change reimplements fix from 2003-05-30 without breaking
      binary compatibility.
      
      * include/freetype/t1tables.h (PS_FontInfoRec): `italic_angle',
      `is_fixed_pitch', `underline_position', `underline_thickness' are
      reverted to be normal values.
      
      * include/freetype/internal/psaux.h (T1_FieldType): Remove
      `T1_FIELD_TYPE_BOOL_P', `T1_FIELD_TYPE_INTEGER_P',
      `T1_FIELD_TYPE_FIXED_P', `T1_FIELD_TYPE_FIXED_1000_P'.
      (T1_FIELD_TYPE_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P,
      T1_FIELD_FIXED_1000_P): Removed.
      (T1_FIELD_TYPE_BOOL): Renamed to...
      (T1_FIELD_BOOL): New macro.  Updated all callers.
      
      * src/type42/t42parse.c: `italic_angle', `is_fixed_pitch',
      `underline_position', `underline_thickness', `paint_type',
      `stroke_width' are reverted to be normal values.
      (T42_KEYWORD_COUNT): New macro.
      (t42_parse_dict): New array `keyword_flags' to mark that a value has
      already been assigned to a dictionary entry.
      * src/type42/t42objs.c (T42_Face_Init, T42_Face_Done): Updated.
      
      * src/cid/cidtoken.h: `italic_angle', `is_fixed_pitch',
      `underline_position', `underline_thickness' are reverted to be
      normal values.
      * src/cid/cidobjs.c (cid_face_done, cid_face_init): Updated.
      
      * src/psaux/psobjs.c (ps_parser_load_field): Updated.
      
      * src/type1/t1tokens.h: `italic_angle', `is_fixed_pitch',
      `underline_position', `underline_thickness', `paint_type',
      `stroke_width' are reverted to be normal values.
      * src/type1/t1objs.c (T1_Face_Done, T1_Face_Init): Updated.
      * src/type1/t1load.c (T1_FIELD_COUNT): New macro.
      (parse_dict): Add parameter for keyword flags.
      Record only first instance of a field.
      (T1_Open_Face): New array `keyword_flags'.
      e7df0f90
    • Werner Lemberg's avatar
      · 083aec66
      Werner Lemberg authored
      * include/freetype/freetype.h (FREETYPE_PATCH): Set to 5.
      * builds/unix/configure.ac (version_info): Set to 10:0:3.
      * builds/unix/configure: Updated.
      * builds/freetype.mk (refdoc): Fix --title.
      
      * docs/CHANGES, docs/VERSION.DLL, README: Updated.
      
      * src/tools/docmaker/sources.py (re_crossref): Fix regular
      expression to handle trailing punctuation characters.
      * src/tools/docmaker/tohtml.py (make_html_word): Updated.
      
      * docs/release: New file.
      083aec66
  6. 24 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · 3543ad61
      Werner Lemberg authored
      * include/freetype/internal/psaux.h (PS_Parser_FuncsRec): New
      member function `to_bytes'.
      
      * src/psaux/psauxmod.c (ps_parser_funcs): New member
      `ps_parser_to_bytes'.
      (psaux_module_class): Increase version to 0x20000L.
      
      * src/psaux/psobjs.c (IS_T1_LINESPACE): Add \f.
      (IS_T1_NULLSPACE): New macro.
      (IS_T1_SPACE): Add it.
      (skip_spaces, skip_alpha): New functions.
      (ps_parser_skip_spaces, ps_parser_skip_alpha): Use them.
      (ps_tobytes, ps_parser_to_bytes): New functions.
      3543ad61
  7. 09 Jul, 2003 4 commits
    • Werner Lemberg's avatar
      · d62e6432
      Werner Lemberg authored
      New file.
      d62e6432
    • Werner Lemberg's avatar
      dummy files · 50c1fec2
      Werner Lemberg authored
      50c1fec2
    • Werner Lemberg's avatar
      Initial revision · 9df34623
      Werner Lemberg authored
      9df34623
    • Werner Lemberg's avatar
      · a3d21b81
      Werner Lemberg authored
      * builds/freetype.mk (DOC_DIR): New variable.
      (refdoc): Use *_DIR variables.
      (distclean): Remove documentation files.
      
      * builds/detect.mk (std_setup, dos_setup): Mention `make refdoc'.
      
      * configure: Set DOC_DIR variable.
      
      * builds/freetype.mk (refdoc): New target to build the
      documentation.
      (.PHONY): Updated.
      
      * include/freetype/freetype.h: Improve documentation of FT_CharMap.
      * include/freetype/ftimage,h: Fix documentation of FT_OUTLINE_FLAGS.
      * include/freetype/tttables.h: Document FT_Sfnt_Tag.
      a3d21b81
  8. 07 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · 27a825e5
      Werner Lemberg authored
      * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfread.c
      (pcf_load_font): Fix computation of height if PIXEL_SIZE property is
      missing.
      27a825e5
  9. 05 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · 5a79a463
      Werner Lemberg authored
      formatting
      5a79a463
  10. 03 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · c8cbf832
      Werner Lemberg authored
      formatting, improving documentation
      c8cbf832
  11. 02 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · 3d6ad172
      Werner Lemberg authored
      * src/cache/ftcsbits.c (ftc_sbit_node_compare): Only add `size' if
      there is no error.  Reported by Knut St. Osmundsen
      <bird-freetype@anduin.net>.
      3d6ad172
  12. 01 Jul, 2003 1 commit
    • Werner Lemberg's avatar
      · a9c7e677
      Werner Lemberg authored
      A new try to synchronize bitmap font access.
      
      include/freetype/freetype.h (FT_Bitmap_Size): `height' is now
      defined to return the baseline-to-baseline distance.  This was
      already the value returned by the BDF and PCF drivers.
      
      The `width' field now gives the average width.  I wasn't able to
      find something better.  It should be taken as informative only.
      
      New fields `size', `x_ppem', and `y_ppem'.
      
      * src/pcf/pcfread.c (pcf_load_font): Updated to properly fill
      FT_Bitmap_Size.
      Do proper rounding and conversion from 72.27 to 72 points.
      
      * src/bdf/bdfdrivr.c (BDF_Face_Init): Updated to properly fill
      FT_Bitmap_Size.
      Do proper rounding and conversion from 72.27 to 72 points.
      
      * src/sfnt/sfobjs.c (sfnt_load_face): Updated to properly fill
      FT_Bitmap_Size.
      
      * src/winfonts/winfnt.c (FNT_Face_Init): Updated to properly fill
      FT_Bitmap_Size.
      
      Redesigning the FNT driver to return multiple faces, not multiple
      strikes.  At least one font (app850.fon from WinME) contains
      different FNT charmaps for its subfonts.  Consequently, the previous
      design of having multiple bitmap strikes in a single font face fails
      since we have only one charmap per face.
      
      * include/freetype/internal/fnttypes.h (FNT_Size_Rec): Removed.
      (FNT_FaceRec): Remove `num_fonts' field and replace `fonts' with
      `font'.
      
      * src/base/ftwinfnt.c (FT_Get_WinFNT_Header): Updated.
      
      * src/winfonts/winfnt.c (fnt_font_load): Don't set pixel_width equal
      to pixel_height.
      (fnt_face_done_fonts): Removed.
      (fnt_face_get_dll_fonts): Renamed to...
      (fnt_face_get_dll_font): This.  Add second function argument to
      select face index.
      Updated to load just one subfont.
      (fnt_font_done, FNT_Face_Done): Updated.
      (FNT_Face_Init): Handle `face_index'.
      Updated.
      (FNT_Size_Set_Pixels): Simplified; similar to BDF and PCF, the
      bitmap width is now ignored.
      (FNT_Load_Glyph): Updated.
      Fix glyph index computation.
      (winfnt_driver_class): Updated.
      a9c7e677
  13. 30 Jun, 2003 1 commit
  14. 25 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 64557805
      Werner Lemberg authored
      * src/cff/cffdrivr.c (cff_get_glyph_name): Protect agains zero
      glyph name pointer.  Reported by Mikey Anbary <manbary@vizrt.com>.
      64557805
  15. 23 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 1d5cb2c4
      Werner Lemberg authored
      * src/tools/glnames.py: Updated to AGL 2.0.
      * src/psnames/pstables.h: Regenerated.
      
      
      * include/freetype/cache/ftcglyph.h, include/freetype/ttnameid.h,
      src/base/ftcalc.c, src/base/fttrigon.c, src/cff/cffgload.c,
      src/otlayout/otlgsub.c, src/pshinter/pshrec.c,
      src/psnames/psmodule.c, src/sfnt/sfobjs.c, src/truetype/ttdriver.c:
      Decorate constants with `U' and `L' if appropriate.
      
      * include/freetype/ftmoderr.h: Updated to include recent module
      additions.
      
      * src/pshinter/pshnterr.h (FT_ERR_BASE): Define as
      `FT_Mod_Err_PShinter'.
      * src/type42/t42error.h (FT_ERR_BASE): Define as
      `FT_Mod_Err_Type42'.
      
      * src/pshinter/pshrec.h (PS_HINTS_MAGIC): Removed.  Not used.
      
      
      * include/freetype/config/ftconfig.h [__MWERKS__]: Define FT_LONG64
      and FT_INT64.
      1d5cb2c4
  16. 22 Jun, 2003 2 commits
    • Werner Lemberg's avatar
      *** empty log message *** · 5049b3fc
      Werner Lemberg authored
      5049b3fc
    • Werner Lemberg's avatar
      · 949bca55
      Werner Lemberg authored
      * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in
      computation of glyph_index.
      (FNT_Size_Set_Pixels): To find a strike, first check pixel_height
      only, then try to find a better hit by comparing pixel_width also.
      Without this fix it isn't possible to access all strikes.
      Also compute metrics.max_advance to be in sync with other bitmap
      drivers.
      
      * src/base/ftobjs.c (FT_Set_Char_Size): Remove redundant code.
      (FT_Set_Pixel_Size): Assign value to `metrics' after validation of
      arguments.
      
      
      Synchronize computation of height and width for bitmap strikes.  The
      `width' field in the FT_Bitmap_Size structure is now only useful to
      enumerate different strikes.  The `max_advance' field of the
      FT_Size_Metrics structure should be used to get the (maximum) width
      of a strike.
      
      * src/bdf/bdfdrivr.c (BDF_Face_Init): Don't use AVERAGE_WIDTH for
      computing `available_sizes->width' but make it always equal to
      `available_sizes->height'.
      
      * src/pcf/pcfread.c (pcf_load_font): Don't use RESOLUTION_X for
      computing `available_sizes->width' but make it always equal to
      `available_sizes->height'.
      
      * src/truetype/ttdriver.c (Set_Pixel_Sizes): Pass only single
      argument to function.
      
      * src/psnames/psmodule.c (ps_unicode_value): Handle `.' after
      `uniXXXX' and `uXXXX[X[X]]'.
      
      
      * src/bdf/bdfdrivr.c: s/FT_Err_/BDF_Err/.
      * src/cache/ftccache.c, src/cache/ftcsbits.c, src/cache/ftlru.c:
      s/FT_Err_/FTC_Err_/.
      * src/cff/cffcmap.c: s/FT_Err_/CFF_Err_/.
      * src/pcf/pcfdrivr.c: s/FT_Err_/PCF_Err_/.
      * src/psaux/t1cmap.c: Include psauxerr.h.
      s/FT_Err_/PSaux_Err_/.
      * src/pshinter/pshnterr.h: New file.
      * src/pshinter/rules.mk: Updated.
      * src/pshinter/pshalgo.c, src/pshinter/pshrec.c: Include pshnterr.h.
      s/FT_Err_/PSH_Err_/.
      * src/pfr/pfrdrivr.c, src/pfr/pfrobjs.c, src/pfr/pfrsbit.c:
      s/FT_Err_/PFR_Err_/.
      * src/sfnt/sfdriver.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
      src/sfnt/ttload.c: s/FT_Err_/SFNT_Err_/.
      * src/truetype/ttgload.c: s/FT_Err_/TT_Err_/.
      * src/gzip/ftgzip.c: Load FT_MODULE_ERRORS_H and define
      FT_ERR_PREFIX and FT_ERR_BASE.
      s/FT_Err_/Gzip_Err_/.
      949bca55
  17. 20 Jun, 2003 2 commits
    • Werner Lemberg's avatar
      · ad6e67f0
      Werner Lemberg authored
      * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt,
      otherwise adding 1 might wrap the result.
      ad6e67f0
    • Werner Lemberg's avatar
      · 8048e39c
      Werner Lemberg authored
      * src/psnames/psmodule.c (ps_unicode_value): Add support to
      recognize `uXXXX[X[X]]' glyph names.
      Don't handle glyph names starting with `uni' which have more than
      four digits.
      8048e39c
  18. 18 Jun, 2003 2 commits
    • Werner Lemberg's avatar
      · c2452e76
      Werner Lemberg authored
      updated
      c2452e76
    • Werner Lemberg's avatar
      · 8575434b
      Werner Lemberg authored
      * include/freetype/freetype.h (FT_Open_Flags): Replaced with
      #defines for the constants.
      (FT_Open_Args): Change type of `flags' to FT_UInt.
      (FT_GlyphSlot): Move `flags' to FT_Slot_Internal.
      
      * include/freetype/ftimage.h (FT_Outline_Flags, FT_Raster_Flag):
      Replaced with #defines for the constants.
      
      * include/freetype/internal/ftobjs.h (FT_Slot_Internal): New
      field `flags' (from FT_GlyphSlot).
      Updated all affected source files.
      (FT_GLYPH_OWN_BITMAP): New macro (from ftgloadr.h).
      
      * include/freetype/internal/ftgloadr.h (FT_GLYPH_OWN_BITMAP): Moved
      to ftobjs.h.
      
      * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Use dummy
      FT_GlyphSlot_Internal object.
      8575434b
  19. 17 Jun, 2003 2 commits
    • Werner Lemberg's avatar
      · 7ee7894a
      Werner Lemberg authored
      * builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS):
      Add -fno-strict-aliasing to get rid of zillion warnings from gcc
      version 3.3.
      7ee7894a
    • Werner Lemberg's avatar
      · e847caa3
      Werner Lemberg authored
      * include/freetype/ftglyph.h (ft_glyph_bbox_unscaled,
      ft_glyph_bbox_subpixels, ft_glyph_bbox_gridfit,
      ft_glyph_bbox_truncate, ft_glyph_bbox_pixels): Replaced with
      FT_GLYPH_BBOX_UNSCALED, FT_GLYPH_BBOX_SUBPIXELS,
      FT_GLYPH_BBIX_GRIDFIT, FT_GLYPH_BBOX_TRUNCATE, FT_GLYPH_BBOX_PIXELS.
      The lowercase variants are now (deprecated aliases) to the uppercase
      versions.
      Updated all other files.
      
      * include/freetype/ftmodule.h (ft_module_font_driver,
      ft_module_renderer, ft_module_hinter, ft_module_styler,
      ft_module_driver_scalable, ft_module_driver_no_outlines,
      ft_module_driver_has_hinter): Replaced with FT_MODULE_FONT_DRIVER,
      FT_MODULE_RENDERER, FT_MODULE_HINTER, FT_MODULE_STYLER,
      FT_MODULE_DRIVER_SCALABLE, FT_MODULE_DRIVER_NO_OUTLINES,
      FT_MODULE_DRIVER_HAS_HINTER.
      The lowercase variants are now (deprecated aliases) to the uppercase
      versions.
      Updated all other files.
      
      * src/base/ftglyph.c (FT_Glyph_Get_CBox): Handle bbox_mode better
      as enumeration.
      
      * src/pcf/pcfdrivr.c (pcf_driver_class), src/winfonts/winfnt.c
      (winfnt_driver_class), src/bdf/bdfdrivr.c (bdf_driver_class): Add
      the FT_MODULE_DRIVER_NO_OUTLINES flag.
      e847caa3
  20. 14 Jun, 2003 2 commits
    • Werner Lemberg's avatar
      · 09752876
      Werner Lemberg authored
      Minor documentation typos.
      09752876
    • Werner Lemberg's avatar
      · 29f8e355
      Werner Lemberg authored
      * src/pfr/pfrobjs.c (pfr_slot_load): Apply font matrix.
      
      * src/cid/cidload.c: Remove parse_font_bbox code (already enclosed
      with #if 0 ... #endif).
      
      * src/type1/t1tokens.h: Handle /FontName.
      * src/type1/t1load.c (parse_font_name): Removed.
      Remove parse_font_bbox code (already enclosed with #if 0 ...
      #endif).
      
      * src/type42/t42parse.c (t42_parse_font_name): Removed.
      Remove t42_parse_font_bbox code (already enclosed with #if 0 ...
      #endif).
      (t42_keywords): Handle /FontName with T1_FIELD_KEY.
      29f8e355
  21. 13 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 142d6f35
      Werner Lemberg authored
      * builds/dos/detect.mk: Test not only for `Dos' but for `DOS' also.
      
      * builds/dos/dos-emx.mk, builds/compiler/emx.mk: New files for
      EMX gcc compiler.
      * builds/dos/detect.mk: Add target `emx'.
      
      * builds/compiler/watcom.mk (LINK_LIBRARY): GNU Make for DOS doesn't
      like a trailing semicolon; add a dummy command.
      142d6f35
  22. 12 Jun, 2003 3 commits
    • Werner Lemberg's avatar
      · 8934eb01
      Werner Lemberg authored
      * include/freetype/internal/psaux.h (T1_FieldType): Add
      T1_FIELD_TYPE_KEY.
      (T1_FIELD_KEY): New macro.
      * src/psaux/psobjs.c (ps_parser_load_field): Handle
      T1_FIELD_TYPE_KEY.
      
      * src/cid/cidtoken.h: Use T1_FIELD_KEY for /CIDFontName.
      
      
      * src/cache/ftlru.c (FT_LruList_Remove_Selection): Decrease
      number of nodes.
      (FT_LruList_Lookup): Fix assertion for out-of-memory case.
      8934eb01
    • Werner Lemberg's avatar
      · 3064272c
      Werner Lemberg authored
      * src/cid/cidload.c (cid_decrypt): Removed.
      (cid_read_subrs): Use t1_decrypt from psaux module.
      * src/cid/cidload.h: Updated.
      * src/cid/cidgload.c (cid_load_glyph): Use t1_decrypt from psaux
      module.
      3064272c
    • Werner Lemberg's avatar
      · e398340d
      Werner Lemberg authored
      * src/cid/cidobjs.c: Apply change 2003-05-31 from <Ron.Dev@gmx.de>.
      Compute style flags.
      Fix computation of root->height.
      * src/cid/cidtoken.h: Handle FontBBox.
      * src/cid/cidload.c (cid_load_keyword): Handle
      T1_FIELD_LOCATION_BBOX.
      (parse_font_bbox): Commented out.
      (cid_field_record): Comment out element for parsing FontBBox.
      
      * src/type42/t42parse.c (t42_parse_font_bbox): Commented out.
      (t42_keywords): Handle FontBBox with T1_FIELD_BBOX, not with
      T1_FIELD_CALLBACK.
      (t42_parse_font_bbox): Commented out.
      (t42_load_keyword): Handle T1_FIELD_LOCATION_BBOX.
      * src/type42/t42objs.c (T42_Face_Init): Apply change 2003-05-31
      from <Ron.Dev@gmx.de>.
      e398340d
  23. 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
  24. 09 Jun, 2003 3 commits
    • Werner Lemberg's avatar
      · 4e9526d6
      Werner Lemberg authored
      * src/gzip/ftgzip.c: (inflate_mask): Replaced with...
      (NO_INFLATE_MASK): This.
      * src/gzip/infutil.h: Declare `inflate_mask' conditionally by
      NO_INFLATE_MASK.
      4e9526d6
    • Werner Lemberg's avatar
      · 02b2fa64
      Werner Lemberg authored
      * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Handle Z_STREAM_END
      correctly.
      
      * src/pshinter/pshglob.c (psh_globals_new): Change calculation of
      dim->stdw.count to avoid compiler problem.
      
      * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Move the block
      variables to the beginning of the function to avoid compiler
      problems.
      Add casts necessary for 16bit compilers.
      
      * src/pfr/rules.mk (PFR_DRV_SRC): Add pfrsbit.c.
      (PFR_DRV_H): Add pfrtypes.h.
      
      * include/freetype/config/ftconfig.h: s/__MWKS__/__MWERKS__/.
      
      * src/pfr/pfrsbit.c (pfr_bitwriter_init): Change type of third
      argument to FT_Bool.
      (pfr_lookup_bitmap_data): Change type of third and fourth argument
      to FT_UInt.  Updated caller.
      (pfr_load_bitmap_bits): Change type of fourth argument to FT_Bool.
      02b2fa64
    • 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
      <ali@avrc.city.ac.uk>.
      * 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.
      0f19a8b5