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 5 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. 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
  7. 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
  8. 08 Feb, 2002 1 commit
    • Werner Lemberg's avatar
      · efb5eb98
      Werner Lemberg authored
      some cleaning
      efb5eb98
  9. 07 Feb, 2002 1 commit
  10. 06 Feb, 2002 3 commits
  11. 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
  12. 28 Jan, 2002 3 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
    • Werner Lemberg's avatar
      · 5e99e926
      Werner Lemberg authored
      * src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
      bad rendering of thin lines (less than one pixel thick).
      5e99e926
  13. 25 Jan, 2002 2 commits
    • Werner Lemberg's avatar
      · 2ee087e4
      Werner Lemberg authored
      * src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
      actually.
      2ee087e4
    • Werner Lemberg's avatar
      · 840c2f26
      Werner Lemberg authored
      * src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
      compilation warnings.
      * src/base/descrip.mms (OBJS): Add `ftmm.obj'.
      * src/cache/descrip.mms (ftcache.obj): Dependencies added.
      840c2f26
  14. 09 Jan, 2002 2 commits
  15. 07 Jan, 2002 2 commits
  16. 06 Jan, 2002 2 commits
  17. 04 Jan, 2002 1 commit
  18. 03 Jan, 2002 2 commits
    • Werner Lemberg's avatar
      · 1ccd917e
      Werner Lemberg authored
      * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
      warning.
      1ccd917e
    • David Turner's avatar
      * src/type1/t1objs.c (T1_Face_Init): fixed a bug that crashed the · 1c2ef2b9
      David Turner authored
              library when dealing with certain weird fonts (like "Stalingrad",
              in "sadn.pfb". This font has no full font name entry.. )
      
              * src/base/ftoutln.c, include/freetype/ftoutln.h: added the
              FT_Outline_Check API to check the consistency of outline data
      
              * src/base/ftobjs.c (FT_Load_Glyph): added a call to the new
              FT_Outline_Check to ensure that loaded glyphs are valid. This
              allows certain fonts like "tt1095m_.ttf" to be loaded even though
              it appears they contain really funky glyphs..
      
              there still is a bug there though.. !!
      1c2ef2b9
  19. 30 Dec, 2001 1 commit
  20. 23 Dec, 2001 2 commits
    • Werner Lemberg's avatar
      · 39defae4
      Werner Lemberg authored
      * src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE'
      and fix incorrect computation of `available_sizes'.
      39defae4
    • Werner Lemberg's avatar
      · 964dd10d
      Werner Lemberg authored
      Formatting.
      964dd10d
  21. 22 Dec, 2001 2 commits
    • David Turner's avatar
    • Werner Lemberg's avatar
      · 4770f01c
      Werner Lemberg authored
      * builds/amiga/*: Adaptations to latest changes.
      Support added for MorphOS.
      
      * src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
      (ps_mask_table_merge, ps_hints_open, ps_hints_stem,
      ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
      FT_ERROR messages.
      * src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
      `trace_pshalgo1'.
      * src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
      `trace_pshalgo2'.
      * include/freetype/internal/ftdebug.h (FT_Trace): Updated.
      
      * docs/modules.txt: New file.
      4770f01c