freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] 2.0.9 nearly ready for release


From: David Turner
Subject: [Devel] 2.0.9 nearly ready for release
Date: Wed, 06 Mar 2002 13:50:06 +0100

Hello,

  FreeType 2.0.9 is now very near for release. I'd like to know if Werner
  has finished committing its fixes to the stable branch regarding C++
  compilation. ?

  I have also added a new API named FT_Library_Version used to return
  the current library's version numbers. See below to see the lines
  added to FT_FREETYPE_H

  Note that "ftdump" has been updated again to display the global
  ascender/descender/text height values..

  All other API additions/changes will happen in another release..


Cheers,

- David



---------------------------------------------------------------------------------

  /*************************************************************************/
  /*                                                                       */
  /* <Function>                                                            */
  /*    FT_Library_Version                                                 */
  /*                                                                       */
  /* <Description>                                                         */
  /*    Return the version of the FreeType library being used. This        */
  /*    is useful when dynamically linking to the library, since one       */
  /*    cannot use the macros FT_FREETYPE_MAJOR, FT_FREETYPE_MINOR and     */
  /*    FT_FREETYPE_PATCH.                                                 */
  /*                                                                       */
  /* <Input>                                                               */
  /*    library :: source library handle.                                  */
  /*                                                                       */
  /* <Output>                                                              */
  /*    amajor :: major version number                                     */
  /*    aminor :: minor version number                                     */
  /*    apatch :: patch version number                                     */
  /*                                                                       */
  /* <Note>                                                                */
  /*    the reason why this function takes a 'library' argument is         */
  /*    because certain programs implement library initialisation in       */
  /*    a custom way that doesn't use FT_Init_FreeType.                    */
  /*                                                                       */
  /*    in certain such cases, the library version cannot be known until   */
  /*    the library object has been created..                              */
  /*                                                                       */
  FT_EXPORT( void )
  FT_Library_Version( FT_Library   library,
                      FT_Int      *amajor,
                      FT_Int      *aminor,
                      FT_Int      *apatch );



reply via email to

[Prev in Thread] Current Thread [Next in Thread]