1. 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
  2. 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
  3. 30 Mar, 2002 1 commit
    • Werner Lemberg's avatar
      · f1c46e5e
      Werner Lemberg authored
      formatting, copyright
      f1c46e5e
  4. 14 Mar, 2002 1 commit
    • 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
  5. 28 Feb, 2002 2 commits
  6. 28 Jun, 2001 1 commit
    • Werner Lemberg's avatar
      · 08146ba1
      Werner Lemberg authored
      finishing function header formatting
      
      updating copyrights
      08146ba1
  7. 06 Jun, 2001 1 commit
    • 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
  8. 24 Aug, 2000 1 commit
    • Werner Lemberg's avatar
      · 1a6f111f
      Werner Lemberg authored
      Formatting, small fixes.
      
      Adding basic input parameter checking for exported functions.
      1a6f111f
  9. 23 Aug, 2000 1 commit
  10. 31 Jul, 2000 1 commit
    • Werner Lemberg's avatar
      · ff0cedbb
      Werner Lemberg authored
      Simplifying the FIELD_* and FRAME_* macros.  Before calling these macros,
      you should #define FT_STRUCTURE to the structure which will be filled.
      
      Replaced FT_FIELD_REF with FT_FIELD_SIZE, FT_FIELD_SIZE_DELTA, and
      FT_FIELD_OFFSET to make the code more readable; additionally, it should be
      more portable because we no longer cast a pointer to an FT_UShort (which
      e.g. fails with Sun's C++ compiler) but computes the difference between two
      pointers which is guaranteed to work.
      
      Fixing warnings (and C++ errors) while using Sun's latest cc and CC
      incarnations.  Most of them are related to variable shadowing.
      ff0cedbb
  11. 01 Jul, 2000 1 commit
    • Werner Lemberg's avatar
      · a8bbc267
      Werner Lemberg authored
      Formatting as usual...
      
      Adding trivial argument checking to some functions.
      
      Added dynamic driver interface to cidriver.
      
      Minor `version' fixes for macfont and psnames modules.
      
      Removed unnecessary files
      a8bbc267
  12. 27 Jun, 2000 1 commit
  13. 16 Jun, 2000 1 commit
    • Werner Lemberg's avatar
      · e3c11d7f
      Werner Lemberg authored
      A new round of formatting, adding/fixing documentation etc.
      e3c11d7f
  14. 01 Jun, 2000 1 commit