• Show log

    Commit

  • Hash : 75435334
    Author : Werner Lemberg
    Date : 2004-02-25T12:58:54

    Provide generic access to MacOS resource forks. * src/base/ftrfork.c, include/freetype/internal/ftrfork.h: New files. * src/base/ftobjs.c: Include FT_INTERNAL_RFORK_H. (Mac_Read_POST_Resource, Mac_Read_sfnt_Resource): Remove arguments `resource_listoffset' and `resource_data' and adapt code accordingly. These values are calculated outside of the function now. Add new argument `offsets'. (IsMacResource): Use `FT_Raccess_Get_HeaderInfo' and `FT_Raccess_Get_DataOffsets'. (load_face_in_embedded_rfork): New function. (load_mac_face): Use load_face_in_embedded_rfork. (ft_input_stream_new): Renamed to... (FT_Stream_New): This. Use FT_BASE_DEF. Updated all callers. (ft_input_stream_free): Renamed to... (FT_Stream_Free): This. Use FT_BASE_DEF. Updated all callers. * src/base/ftbase.c: Include ftrfork.c. * src/base/rules.mk (BASE_SRC), src/base/Jamfile: Updated. * include/freetype/internal/internal.h (FT_INTERNAL_RFORK_H): New macro. * include/freetype/internal/fttrace.h: Added `rfork' as a new trace definition. * include/freetype/internal/ftstream.h: Declare FT_Stream_New and FT_Stream_Free. * include/freetype/config/ftoption.h, devel/ftoption.h (FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK): New option. * include/freetype/config/ftstdlib.h (ft_strrchr): New macro.

  • README

  •   Special notes to Unix users
      ===========================
    
      Please  read  the file  "docs/UPGRADE.UNX".   It contains  important
      information regarding the installation  of FreeType on Unix systems,
      especially GNU based operating systems like GNU/Linux.
    
      FreeType 2's  library is called `libfreetype',  FreeType 1's library
      is called `libttf'.  They are *not* compatible!
    
    
      FreeType 2.1.8
      ==============
    
      Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION.
    
      Read the files "docs/INSTALL" for installation instructions.
    
      Note  that  the FreeType  2  documentation  is  now available  as  a
      separate package from our sites.  See:
    
        ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.8.tar.bz2
        ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.8.tar.gz
        ftp://ftp.freetype.org/pub/freetype2/ftdoc218.zip
    
    
      Bugs
      ====
    
      Please report bugs by  e-mail to `devel@freetype.org'.  Don't forget
      to send  a detailed explanation of  the problem --  there is nothing
      worse  than receiving  a terse  message that  only says  "it doesn't
      work".
    
    
      Enjoy!
    
    
        The FreeType Team