1. 17 Aug, 2003 1 commit
    • David Turner's avatar
      * Jamfile: adding the "refdoc" target to the Jamfile in order to · 1b1f7b92
      David Turner authored
              build the API Reference in "docs/reference" automatically
      
              * include/freetype/t1tables.h, src/cid/cidtoken.h, src/type1/t1tokens.h,
              src/type42/t42parse.c:
      
              re-setting the types of "italic_angle", "underline_position" and
              "underline_thickness" to their previous values (i.e. long, short and
              ushort), in order to avoid breaking binary compatibility
      
              * include/freetype/ttunpath.h: fixing documentation comment
      1b1f7b92
  2. 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
  3. 25 Jul, 2003 1 commit
    • 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
  4. 17 Jun, 2003 1 commit
    • 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
  5. 14 Jun, 2003 1 commit
    • 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
  6. 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
  7. 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
      <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
  8. 06 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 31d783b1
      Werner Lemberg authored
      * include/freetype/internal/psaux.h (T1_FieldType): Add
      T1_FIELD_TYPE_FIXED_1000 and T1_FIELD_TYPE_FIXED_1000_P.
      (T1_FIELD_FIXED_1000, T1_FIELD_FIXED_1000_P): New macros.
      * src/psaux/psobjs.c (ps_parser_load_field): Handle
      T1_FIELD_TYPE_FIXED_1000 and T1_FIELD_TYPE_FIXED_1000_P.
      
      * src/cff/cffparse.c (cff_kind_fixed_thousand): New enumeration.
      (CFF_FIELD_FIXED_1000): New macro.
      (cff_parser_run): Handle cff_kind_fixed_thousand.
      * src/cff/cfftoken.h: Use CFF_FIELD_FIXED_1000 for blue_scale.
      * src/cff/cffload (cff_subfont_load): Fix default values of
      expansion_factor and blue_scale.
      
      * src/cif/cidtoken.h, src/type1/t1tokens.h: Use T1_FIELD_FIXED_1000
      for blue_scale.
      
      * src/pshinter/pshglob.c (psh_globals_new): Fix default value of
      blue_scale.
      31d783b1
  9. 05 Jun, 2003 1 commit
    • Werner Lemberg's avatar
      · 3c63bf28
      Werner Lemberg authored
      * include/freetype/internal/ftdriver.h,
      include/freetype/internal/ftobjs.h,
      include/freetype/internal/psaux.h, src/cid/cidgload.c,
      src/psaux/psobjs.c, src/psaux/t1decode.c, src/psaux/psobjs.h,
      src/pshinter/pshrec.c, src/pshinter/pshalgo.c,
      src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfobjs.c,
      src/smooth/ftgrays.c, src/smooth/ftsmooth.c, src/truetype/ttobjs.c,
      src/truetype/ttdriver.c, src/truetype/ttgload.c, src/type1/t1afm.c,
      src/type1/t1gload.c, src/type1/t1gload.h, src/type1/t1load.c,
      src/type1/t1objs.c, src/type42/t42parse.c, src/type42/t42parse.h:
      Many casts and slight argument type changes to make it work with
      a 16bit compiler.
      3c63bf28
  10. 30 May, 2003 1 commit
    • Werner Lemberg's avatar
      · e7d4fea8
      Werner Lemberg authored
      Avoid overwriting of numeric font dictionary entries for synthetic
      fonts. Additionally, some entries were handled as `integer' instead
      of `number'.
      
      * include/freetype/internal/psaux.h (T1_FieldType): Add
      T1_FIELD_TYPE_BOOL_P, T1_FIELD_TYPE_INTEGER_P, and
      T1_FIELD_TYPE_FIXED_P.
      (T1_FIELD_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P): New macros.
      * src/psaux/psobjs.c (ps_parser_load_field): Handle new field types.
      
      * include/freetype/internal/cfftypes.h (CFF_FontRecDict),
      src/cff/cfftoken.h: Change type of underline_position and
      underline_thickness to FT_Fixed.
      * src/cff/cffload.c (cff_subfont_load): Fix default values of
      underline_position and underline_thickness.
      * src/cff/cffobjs.c (cff_face_init): Set underline_position
      and underline_thickness in `root'.
      
      * include/freetype/internal/t1types.h (T1_Font): Change point_type
      and stroke_width to pointers.
      * include/freetype/t1tables.h (PS_FontInfo): Change italic_angle,
      is_fixed_pitch, underline_position, and underline_thickness to
      pointers.
      * src/type1/t1tokens.h: Change italic_angle, is_fixed_pitch,
      underline_position, and underline_thickness to pointers.  Change
      the type of the latter two to `fixed'.
      Change type of stroke_width to `fixed' and make it a pointer.
      Change paint_type to pointer.
      * src/type1/t1objs.c (T1_Face_Done): Updated.
      (T1_Face_Init): Updated.
      Fix assignment of underline_position and underline_thickness.
      
      * src/cid/cidtoken.h: Change italic_angle, is_fixed_pitch,
      underline_position, and underline_thickness to pointers.  Change
      the type of the latter two to `fixed'.
      Change type of stroke_width to `fixed'.
      * src/cid/cidobjs.c (cid_face_done): Updated.
      (cid_face_init): Updated.
      Fix assignment of underline_position and underline_thickness.
      
      * src/type42/t42parse.c: Change italic_angle, is_fixed_pitch,
      underline_position, and underline_thickness to pointers.  Change the
      type of the latter two to `fixed'.
      Change type of stroke_width to `fixed' and make it a pointer.
      Change paint_type to pointer.
      * src/type42/t42objs.c (T42_Face_Init): Updated.
      Fix assignment of underline_position and underline_thickness.
      (T42_Face_Done): Updated.
      
      * src/base/ftobjs.c (open_face_from_buffer): Fix compiler warning.
      * src/pshinter/pshglob.c, src/pshinter/pshglob.h
      (psh_globals_set_scale): Make it a local function.
      
      * test/gview.c: Fix remaming ps3->ps typo.
      Formatting.
      e7d4fea8
  11. 07 May, 2003 1 commit
  12. 25 Apr, 2003 1 commit
    • Werner Lemberg's avatar
      * src/bdf/bdflib.c (hash_bucket, hash_lookup): Use `const' for first · ead81ae2
      Werner Lemberg authored
      argument.
      (bdf_get_font_property): Use `const' for third argument.
      Updated all callers.
      * src/bdf/bdfdrivr.c (BDF_Face_Init): Set pixel width and height
      similar to the PCF driver.
      * src/bdf/bdf.h (_hashnode): Use `const' for `key'.
      Updated.
      
      * src/gzip/ftgzip.c: C++ doesn't like that the array `inflate_mask'
      is declared twice.  It is perhaps better to modify the zlip source
      files directly instead of this hack.
      (zcalloc, zfree, ft_gzip_stream_close, ft_gzip_stream_io): Add casts
      to make build with g++ successful.
      ead81ae2
  13. 23 Apr, 2003 1 commit
  14. 13 Feb, 2003 1 commit
  15. 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
      6c993554
  16. 27 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · ab219bb2
      Werner Lemberg authored
      * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names,
      tt_face_get_ps_name): Replace switch statement with if clauses to
      make it more portable.
      
      * src/cff/cffobjs.c (cff_face_init): Ditto.
      
      * include/freetype/ftmodule.h (FT_Module_Class): Use `FT_Long' for
      `module_size'.
      * include/freetype/ftrender.h (FT_Glyph_Class_): Use `FT_Long' for
      `glyph_size'.
      
      * src/base/ftobjs.c (FT_Render_Glyph): Change second parameter to
      `FT_Render_Mode'.
      (FT_Render_Glyph_Internal): Change third parameter to
      `FT_Render_Mode'.
      * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Change second parameter
      to `FT_Render_Mode'.
      
      * src/raster/ftrend1.c (ft_raster1_render): Change third parameter
      to `FT_Render_Mode'.
      * src/smooth/ftsmooth.c (ft_smooth_render, ft_smooth_render_lcd,
      ft_smooth_render_lcd_v): Ditto.
      (ft_smooth_render_generic): Change third and fifth parameter to
      `FT_Render_Mode'.
      
      * include/freetype/freetype.h, include/freetype/internal/ftobjs.h,
      include/freetype/ftglyph.h: Updated.
      
      * src/cff/cffdrivr.c (Load_Glyph), src/pcf/pcfdriver.c
      (PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load),
      src/winfonts/winfnt.c (FNT_Load_Glyph), src/t42/t42objs.c
      (T42_GlyphSlot_Load), src/bdf/bdfdrivr.c (BDF_Glyph_Load): Change
      fourth parameter to `FT_Int32'.
      
      * src/pfr/pfrobjs.c (pfr_face_init): Add two missing parameters
      and declare them as unused.
      
      * src/cid/cidparse.h (CID_Parser): Use FT_Long for `postscript_len'.
      
      * src/psnames/psnames.h (PS_Unicode_Value_Func): Change return
      value to FT_UInt32.
      * src/psnames/psmodule.c (ps_unicode_value, ps_build_unicode_table):
      Updated accordingly.
      
      * src/cff/cffdrivr.c (Get_Kerning): Use FT_Long for `middle'.
      (cff_get_glyph_name): Use cast for result of ft_strlen.
      * src/cff/cffparse.c (cff_parse_real): User cast for assigning
      `exp'.
      * src/cff/cffload.c (cff_index_get_pointers): Use FT_ULong for
      some local variables.
      (cff_charset_load, cff_encoding_load): Use casts to FT_UInt for some
      switch statements.
      (cff_font_load): Use cast in call to CFF_Load_FD_Select.
      * src/cff/cffobjs.c (cff_size_init): Use more casts.
      (cff_face_init): Use FT_Int32 for `flags'.
      * src/cff/cffgload.c (cff_operator_seac): Use cast for assigning
      `adx' and `ady'.
      (cff_decoder_parse_charstrings): Use FT_ULong for third parameter.
      Use more casts.
      * src/cff/cffcmap.c (cff_cmap_unicode_init): Use cast for `count'.
      
      * src/cid/cidload.c (cid_read_subrs): Use FT_ULong for `len'.
      * src/cid/cidgload.c (cid_load_glyph): Add missing cast for
      `cid_get_offset'.
      
      * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <18>: Use
      cast for `num_points'.
      (t1_decoder_init): Use cast for assigning `decoder->num_glyphs'.
      
      * src/base/ftdebug.c (ft_debug_init): Use FT_Int.
      * include/freetype/internal/ftdriver.h (FT_Slot_LoadFunc): Use
      `FT_Int32' for fourth parameter.
      * src/base/ftobjs.c (open_face): Use cast for calling
      clazz->init_face.
      
      * src/raster/ftraster.c (Set_High_Precision): Use `1' instead of
      `1L'.
      (Finalize_Profile_Table, Line_Up, ft_black_init): Use casts.
      * src/raster/ftrend1.c (ft_raster1_render): Ditto.
      
      * src/sfnt/sfnt_dir_check: Compare `magic' with unsigned long
      constant.
      
      * builds/amiga/include/freetype/config/ftmodule.h: Updated.
      ab219bb2
  17. 05 Sep, 2002 1 commit
    • Werner Lemberg's avatar
      · d6f74d3b
      Werner Lemberg authored
      * src/cid/cidobjs.c (CID_Size_Init): Renamed to...
      (cid_size_init): This.
      * src/psaux/psobjs.c (T1_Builder_Add_Point1): Renamed to...
      (t1_builder_add_point1): This.
      
      Updated all affected code.
      
      * src/pshinter/pshalgo3.c (psh3_hint_align): Fix compiler warnings.
      * src/type1/t1gload.c (T1_Compute_Max_Advance): Ditto.
      
      Formatting, minor doc fixes.
      d6f74d3b
  18. 27 Aug, 2002 2 commits
    • David Turner's avatar
      updating sources to support the new FT_LOAD_TARGET_ constants · 71afa750
      David Turner authored
      to support target-specific hinting
      71afa750
    • David Turner's avatar
      * massive re-formatting changes to many, many source files. I don't · b16ccfc5
      David Turner authored
          want to list them all here. The operations performed were all logical
          transformations of the sources:
      
            - trying to convert all enums and constants to CAPITALIZED_STYLE, with
              #define definitions like
      
                #define  my_old_constants   MY_NEW_CONSTANT
      
            - big, big update of the documentation comments
      
          * include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
          include/freetype/ftimage.h: adding support for LCD-optimized rendering
          though the new constants/enums:
      
            FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
            FT_PIXEL_MODE_LCD,  FT_PIXEL_MODE_LCD_V
      
          this is still work in progress, don't expect everything to work correctly
          though most of the features have been implemented.
      
          * adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
          targets:
      
            FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
            FT_LOAD_TARGET_MONO   :: monochrome bitmaps
            FT_LOAD_TARGET_LCD    :: horizontal RGB/BGR decimated hinting & rendering
            FT_LOAD_TARGET_LCD_V  :: vertical RGB/BGR decimated hinting & rendering
      
          note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
          behaviour of the font engine is _unchanged_.
      b16ccfc5
  19. 15 Aug, 2002 2 commits
  20. 28 Jul, 2002 1 commit
    • Werner Lemberg's avatar
      · 5e6cd65d
      Werner Lemberg authored
      s/ft_memset/FT_MEM_SET/.
      s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
      5e6cd65d
  21. 26 Jul, 2002 1 commit
    • Werner Lemberg's avatar
      · c5f6cd72
      Werner Lemberg authored
      Fixing ChangeLog entries.
      Some formatting.
      
      * src/truetype/ttgload.c (load_truetype_glyph)
      [FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/.
      
      * src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning.
      * src/cff/cffload.c (cff_encoding_load): Remove `memory' variable.
      * src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames'
      variable.
      * src/truetype/ttgload.c (load_truetype_glyph): Remove statement
      without effect.
      * src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
      c5f6cd72
  22. 18 Jul, 2002 1 commit
  23. 17 Jul, 2002 1 commit
  24. 21 May, 2002 1 commit
    • Werner Lemberg's avatar
      · 1b547d80
      Werner Lemberg authored
      * src/bdf/README: Mention Microsoft's SBIT tool.
      
      * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c,
      src/truetype/ttdriver.c, src/type1/t1driver.c,
      src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c
      [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed.  It has
      been never used.
      1b547d80
  25. 30 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · b5127306
      Werner Lemberg authored
      `interface' is reserved on the Mac.
      
      * include/freetype/ftoutln.h, include/freetype/internal/sfnt.h,
      src/base/ftoutln.c: s/interface/func_interface/.
      * src/base/ftbbox.c (FT_Outline_Get_BBox):
      s/interface/bbox_interface/.
      * src/cff/cffdrivr.c: s/interface/module_interface/.
      * src/cff/cffload.c, src/cff/cffload.h:
      s/interface/psnames_interface/.
      * src/cid/cidriver.c: s/interface/cid_interface/.
      * src/sfnt/sfdriver.c: s/interface/module_interface/.
      * src/smooth/ftgrays.c: s/interface/func_interface/.
      * src/truetype/ttdriver.c: s/interface/tt_interface/.
      * src/type1/t1driver.c: s/interface/t1_interface/.
      b5127306
  26. 14 Apr, 2002 1 commit
    • Werner Lemberg's avatar
      · be60044e
      Werner Lemberg authored
      * src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
      compiler warning.
      
      formatting/fixing ChangeLog
      be60044e
  27. 12 Apr, 2002 1 commit
    • David Turner's avatar
      * README.UNX: updated the Unix-specific quick-compilation guide to · 4ef3ec7c
      David Turner authored
                warn about the GNU Make requirement at compile time..
      
              * include/freetype/config/ftstdlib.h,
                include/freetype/config/ftconfig.h,
                include/freetype/config/ftheader.h,
                include/freetype/internal/ftmemory.h,
                include/freetype/internal/ftobjs.h,
      
                src/autohint/ahoptim.c,
      
                src/base/ftdbgmem.c, src/base/ftdebug.c,
                src/base/ftmac.c,    src/base/ftobjs.c,
                src/base/ftsystem.c,
      
                src/cache/ftcimage.c, src/cache/ftcsbits.c,
      
                src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,
      
                src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,
      
                src/pcf/pcfdriver.c, src/pcf/pcfread.c,
      
                src/psaux/t1cmap.c, src/psaux/t1decode.c,
      
                src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
                src/pshinter/pshrec.c,
      
                src/psnames/psmodule.c,
      
                src/raster/ftraster.c,
      
                src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,
      
                src/smooth/ftgrays.c,
      
                src/type1/t1afm.c,  src/type1/t1driver.c, src/type1/t1gload.c,
                src/type1/t1load.c, src/type1/t1objs.c,   src/type1/t1parse.c:
      
                  added the new configuration file "ftstdlib.h" used to define
                  aliases for all ISO C library functions used by the engine
                  (e.g. strlen, qsort, setjmp, etc...)
      
                  this eases the porting of FreeType 2 to exotic environments like
                  XFree86 modules/extensions..
      
                  also removed many #include <string.h>, #include <stdlib.h>, etc...
                  from the engine's sources where they're not needed..
      4ef3ec7c
  28. 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):
      Removed.
      [FT_CONFIG_OPTION_OLD_CALCS]: Removed.
      * include/freetype/internal/ftcalc.h, src/base/ftcalc.c
      [FT_CONFIG_OPTION_OLD_CALCS]: Removed.
      
      * 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
      de757dd1
  29. 30 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · f1c46e5e
      Werner Lemberg authored
      formatting, copyright
      f1c46e5e
  30. 22 Mar, 2002 1 commit
    • David Turner's avatar
      * include/freetype/internal/ftmemory.h, and a lot of other files !!: · d8021097
      David Turner authored
                  changed the names of memory macros. Examples:
      
                    MEM_Set   => FT_MEM_SET
                    MEM_Copy  => FT_MEM_COPY
                    MEM_Move  => FT_MEM_MOVE
      
                    ALLOC     => FT_ALLOC
                    FREE      => FT_FREE
                    REALLOC   = >FT_REALLOC
      
                  FT_NEW was introduced to allocate a new object from a _typed_
                  pointer..
      
                  note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
                  by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
                  arguments.
      
                  This results in _lots_ of sources being changed, but makes the
                  code more generic and less error-prone..
      d8021097
  31. 20 Mar, 2002 1 commit
  32. 14 Mar, 2002 2 commits
    • David Turner's avatar
      * include/freetype/internal/psaux.h, · 72a849f3
      David Turner authored
                src/cid/cidload.c, src/cidtoken.h,
                src/psaux/psobjs.c, src/psaux/psobjs.h, src/psaux/t1decode.c,
                stc/type1/t1load.c, src/type1/t1tokens.h: updated common Postscript
                type definitions
      72a849f3
    • David Turner's avatar
      * include/freetype/internal/ftdriver.h, · 9e1cfb80
      David Turner authored
                include/freetype/internal/ftobjs.h,
                src/base/ftapi.c, src/base/ftobjs.c,
                src/cff/cffdrivr.c, src/cff/cffdrivr.h,
                src/cid/cidriver.c, src/cid/cidriver.h,
                src/pcf/pcfdriver.c, src/pcf/pcfdriver.h,
                src/truetype/ttdriver.c, src/truetype/ttdriver.h,
                src/type1/t1driver.c, src/type1/t1driver.h,
                src/winfonts/winfnt.c, src/winfonts/winfnt.h:
                updating the type definitions for font font drivers
      9e1cfb80
  33. 07 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · 769430fc
      Werner Lemberg authored
      * src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
      ft_mem_table_set, ft_mem_debug_alloc, ft_mem_debug_free,
      ft_mem_debug_realloc, ft_mem_debug_done, FT_Alloc_Debug,
      FT_Realloc_Debug, FT_Free_Debug): Fix compiler warnings.
      * src/base/ftcalc.c (FT_MulFix): Ditto.
      * src/cff/cffdrivr.c (cff_get_name_index): Ditto.
      * src/cff/cffobjs.c (CFF_Size_Get_Global_Funcs, CFF_Size_Init,
      CFF_GlyphSlot_Init): Ditto.
      * src/cid/cidobjs.c (CID_GlyphSlot_Init,
      CID_Size_Get_Globals_Funcs): Ditto.
      * src/type1/t1objs.c (T1_Size_Get_Globals_Funcs, T1_GlyphSlot_Init):
      Ditto.
      * src/pshinter/pshmod.c (pshinter_interface): Use `static const'.
      * src/winfonts/winfnt.c (FNT_Get_Next_Char): Remove unused
      variables.
      
      * include/freetype/internal/psaux.h (T1_Builder_Funcs): Renamed
      to...
      (T1_Builder_FuncsRec): This.
      (T1_Builder_Funcs): New typedef.
      (PSAux_Interface): Remove compiler warnings.
      * src/psaux/psauxmod.c (t1_builder_funcs), src/psaux/psobjs.h
      (t1_builder_funcs): Updated.
      
      * src/pshinter/pshglob.h (PSH_Blue_Align): Replaced with ...
      (PSH_BLUE_ALIGN_{NONE,TOP,BOT}): New defines.
      (PSH_AlignmentRec): Updated.
      
      * include/freetype/internal/ftstream.h (GET_Char, GET_Byte): Fix
      typo.
      * include/freetype/internal/ftgloadr.h (FT_SubGlyph): Ditto.
      * src/base/ftstream (FT_Get_Char): Rename to...
      (FT_Stream_Get_Char): This.
      
      * src/base/ftnames.c (FT_Get_Sfnt_Name): s/index/idx/ -- `index' is
      a built-in function in gcc, causing warning messages with gcc 3.0.
      * src/autohint/ahglyph.c (ah_outline_load): Ditto.
      * src/autohint/ahglobal.c (ah_hinter_compute_blues): Ditto.
      * src/cache/ftcmanag.c (ftc_family_table_alloc,
      ftc_family_table_free, FTC_Manager_Done, FTC_Manager_Register_Cache):
      Ditto.
      * src/cff/cffload.c (cff_new_index, cff_done_index,
      cff_explicit_index, CFF_Access_Element, CFF_Forget_Element,
      CFF_Get_Name, CFF_Get_String, CFF_Load_SubFont, CFF_Load_Font,
      CFF_Done_Font): Ditto.
      * src/psaux/psobjs.c (PS_Table_Add, PS_Parser_LoadField): Ditto.
      * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Ditto.
      * src/pshinter/pshrec.c (ps_mask_test_bit, ps_mask_clear_bit,
      ps_mask_set_bit, ps_dimension_add_t1stem, ps_hints_t1stem3,
      * src/pshinter/pshalgo1.c (psh1_hint_table_record,
      psh1_hint_table_record_mask, psh1_hint_table_activate_mask): Ditto.
      * src/pshinter/pshalgo2.c (psh2_hint_table_record,
      psh2_hint_table_record_mask, psh2_hint_table_activate_mask): Ditto.
      * src/sfnt/ttpost.c (Load_Format_20, Load_Format_25,
      TT_Get_PS_Name): Ditto.
      * src/truetype/ttgload.c (TT_Get_Metrics, Get_HMetrics,
      load_truetype_glyph): Ditto.
      * src/type1/t1load.c (parse_subrs, T1_Open_Face): Ditto.
      * src/type1/t1afm.c (T1_Get_Kerning): Ditto.
      * include/freetype/cache/ftcmanag.h (ftc_family_table_free): Ditto.
      769430fc
  34. 06 Mar, 2002 1 commit