1. 28 Feb, 2002 1 commit
  2. 27 Feb, 2002 2 commits
  3. 24 Feb, 2002 3 commits
    • David Turner's avatar
      * renaming stream functions to the FT_Subject_Action scheme: · 5be6ec34
      David Turner authored
                FT_Seek_Stream         => FT_Stream_Seek
                FT_Skip_Stream         => FT_Stream_Skip
                FT_Read_Stream         => FT_Stream_Read
                FT_Read_Stream_At      => FT_Stream_Read_At
                FT_Access_Frame        => FT_Stream_Enter_Frame
                FT_Forget_Frame        => FT_Stream_Exit_Frame
                FT_Extract_Frame       => FT_Stream_Extract_Frame
                FT_Release_Frame       => FT_Stream_Release_Frame
                FT_Get_XXXX            => FT_Stream_Get_XXXX
                FT_Read_XXXX           => FT_Stream_Read_XXXX
      
                note also that:
      
                FT_New_Stream( filename, stream ) =>
                  FT_Stream_Open( stream, filename )
      
                (the function doesn't create the FT_Stream structure, it simply
                 initializes it for reading)
      
                FT_New_Memory_Stream( library, FT_Byte*  base, size, stream ) =>
                  FT_Stream_Open_Memory( stream, const FT_Byte* base, size )
      
                FT_Done_Stream => FT_Stream_Close
      
                note that the name of the stream methods, defined in
                "include/freetype/ftsystem.h" have also been changed without
                problems:
      
                  FT_Stream_IO    => FT_Stream_IOFunc
                  FT_Stream_Close => FT_Stream_CloseFunc
      5be6ec34
    • David Turner's avatar
      * moving all code related to glyph loaders to "internal/ftgloadr.h" · 76c7bd0d
      David Turner authored
              and "src/base/ftgloadr.c".
      
              Note also that the type "FT_GlyphLoader" is now a pointer to the
              structure "FT_GlyphLoaderRec"..
      76c7bd0d
    • David Turner's avatar
      6c0fedce
  4. 22 Feb, 2002 7 commits
  5. 21 Feb, 2002 1 commit
    • David Turner's avatar
      * include/freetype/internal/ftdebug.h, src/base/ftdebug.c: modified · 677dc0f7
      David Turner authored
              the debug sub-system initialization. trace levels can now be specified
              within the "FT2_DEBUG" environment variable. See the comments within
              "ftdebug.c" for more details
      
              * include/freetype/internal/fttrace.h: new file to define the trace
              levels used for debugging. it is used both to define enums and
              toggle names for FT2_DEBUG
      
              * src/base/ftobjs.c, src/base/ftstream.c: FT_Assert renamed to
              FT_ASSERT
      
              * include/freetype/internal/ftextend.h, src/base/ftextend.c,
              src/base/Jamfile, src/base/rules.mk: removing "ftextend" from the
              library, since it is now completely obsolete..
      677dc0f7
  6. 20 Feb, 2002 2 commits
  7. 19 Feb, 2002 2 commits
    • Werner Lemberg's avatar
      · 81cb1bb9
      Werner Lemberg authored
      * builds/freetype.mk (FT_CFLAGS): Use $(INCLUDE_FLAGS) first.
      
      * src/cache/ftccache.c (ftc_cache_resize): Mark `error' as unused
      to avoid compiler warning.
      * src/cff/cffload.c (CFF_Get_String): Ditto.
      * src/cff/cffobjs.c (CFF_StrCopy): Ditto.
      * src/psaux/psobjs.c (PS_Table_Done): Ditto.
      * src/pcf/pcfread.c (pcf_seek_to_table_type): Ditto.
      * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto.
      (pcf_get_bitmaps): The same for `sizebitmaps'.
      * src/psaux/t1decode.c (T1_Decode_Parse_Charstrings): The same for
      `orig_y'.
      (t1operator_seac): Comment out more dead code.
      * src/pshinter/pshalgo2.c (ps2_hints_apply): Add `DEBUG_HINTER'
      conditional.
      * src/truetype/ttgload.c (TT_Process_Simple_Glyph,
      load_truetype_glyph): Add `TT_CONFIG_OPTION_BYTECODE_INTERPRETER'
      conditional.
      81cb1bb9
    • Werner Lemberg's avatar
      · cc0039b5
      Werner Lemberg authored
      * src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused
      variables.
      * src/autohint/ahhint.c (ah_align_serif_edge): Use FT_UNUSED instead
      of UNUSED.
      * src/autohint/ahmodule.c (ft_autohinter_reset): Ditto.
      * src/pshinter/pshrec.c (ps_mask_table_merge): Fix typo in variable
      swapping code.
      * src/pshinter/pshglob.h (PSH_Blue_Align): Add PSH_BLUE_ALIGN_NONE.
      * src/pshinter/pshglob.c (psh_blues_snap_stem): Use it.
      * src/pshinter/pshalgo1.c (psh1_hint_table_optimize): Ditto.
      * src/pshinter/pshalgo2.c (psh2_hint_align): Ditto.
      * include/freetype/internal/ftobjs.h (UNUSED): Removed.
      cc0039b5
  8. 10 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · 8f2aa064
      Werner Lemberg authored
      Add support for ISOLatin1 PS encoding.
      
      * include/freetype/freetype.h (ft_encoding_latin_1): New tag
      (`lat1').
      * include/freetype/internal/t1types.h (T1_Encoding_Type): Add
      `t1_encoding_isolatin1'.
      * src/type1/t1driver.c (Get_Char_Index, Get_Next_Char): Handle
      ft_encoding_latin_1.
      * src/type1/t1load.c (parse_encoding): Handle `ISOLatin1Encoding'.
      * src/type1/t1objs.c (T1_Face_Init): Handle `t1_encoding_isolatin1'.
      8f2aa064
  9. 09 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · 1481a93d
      Werner Lemberg authored
      * README: Fix typo.
      * docs/CHANGES: Minor fixes.
      1481a93d
  10. 08 Feb, 2002 5 commits
  11. 07 Feb, 2002 1 commit
  12. 06 Feb, 2002 3 commits
  13. 04 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · 08270698
      Werner Lemberg authored
      Adding the function `FT_Get_Next_Char', doing the obvious thing
      w.r.t. the selected charmap.
      
      * include/freetype/freetype.h: Add prototype.
      * include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar'
      typedef.
      (FT_Driver_Class): Use it.
      * include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func'
      typedef.
      (PSNames_Interface): Use it.
      * include/freetype/internal/tttypes.h: Add `TT_CharNext_Func'
      typedef.
      (TT_CMapTable): Use it.
      
      * src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing
      high-level API.
      * src/cff/cffdrivr.c (cff_get_next_char): New function.
      (cff_driver_class): Add it.
      * src/cid/cidriver.c (Cid_Get_Next_Char): New function.
      (t1cid_driver_class): Add it.
      * src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function.
      (pcf_driver_class): Add it.
      * src/psnames/psmodule.c (PS_Next_Unicode): New function.
      (psnames_interface): Add it.
      * src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4,
      code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary
      functions.
      (TT_CharMap_Load): Use them.
      * src/truetype/ttdriver.c (Get_Next_Char): New function.
      (tt_driver_class): Add it.
      * src/type1/t1driver.c (Get_Next_Char): New function.
      (t1_driver_class): Add it.
      * src/winfnt/winfnt.c (FNT_Get_Next_Char): New function.
      (winfnt_driver_class): Add it.
      
      * src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for
      Unicode and Latin 1 encodings.
      08270698
  14. 02 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · 5b469127
      Werner Lemberg authored
      * builds/unix/freetype-config.in: Add missing `fi'.
      5b469127
  15. 01 Feb, 2002 2 commits
  16. 31 Jan, 2002 1 commit
  17. 30 Jan, 2002 2 commits
  18. 29 Jan, 2002 2 commits
    • David Turner's avatar
      fixed the "configure" script in the top-level directory.. · 8ac794cf
      David Turner authored
      It didn't work correctly when several arguments were passed
      to it. For example, when typing:
      
        ./configure --disable-shared --prefix=/usr
      
      the "--prefix=/usr" was incorrectly sent to the "make" program..
      8ac794cf
    • Werner Lemberg's avatar
      · 43e5b114
      Werner Lemberg authored
      * README.UNX: Fix typo.
      * builds/unix/install.mk (uninstall): Fix library name for libtool.
      43e5b114
  19. 28 Jan, 2002 2 commits
    • Werner Lemberg's avatar
      · e8d3b9b7
      Werner Lemberg authored
      * src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of
      the face object (face->toc.tables, face->root.family_name,
      face->root.available_size, face->charset_encoding,
      face->charset_registry are now freed).  Thanks to Niels Moseley.
      e8d3b9b7
    • Werner Lemberg's avatar
      · 7c836c22
      Werner Lemberg authored
      * src/type1/t1load.c (parse_encoding): Set `loader->num_chars'.
      
      * src/type1/t1load.c (parse_subrs, parse_charstrings): Use copy
      of `base' string for decrypting to not modify the original data.
      7c836c22