• Show log

    Commit

  • Hash : a3dd6d99
    Author : Werner Lemberg
    Date : 2017-09-05T23:02:04

    Fix multiple calls of `FT_Bitmap_Convert'. The documentation of `FT_Bitmap_Convert' says that multiple calls do proper reallocation of the target FT_Bitmap object. However, this failed for the sequence non-empty bitmap empty bitmap non-empty bitmap Reason was that `FT_Bitmap_Convert' only reallocated the bitmap buffer if it became too small; it didn't make the buffer smaller. For an empty bitmap following a non-empty one, only the buffer dimension got set to zero, without deallocation. If the next call was a non-empty buffer again, an assertion in `ft_mem_qrealloc' was triggered. * src/base/ftbitmap.c (FT_Bitmap_Convert): Always reallocate target buffer to the correct size. * docs/CHANGES: Document it.

  • README

  •   FreeType 2.8
      ============
    
      Homepage: http://www.freetype.org
    
      FreeType is a freely available software library to render fonts.
    
      It  is  written  in  C,  designed to  be  small,  efficient,  highly
      customizable, and  portable while capable of  producing high-quality
      output  (glyph  images) of  most  vector  and bitmap  font  formats.
    
      Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
      INFORMATION.
    
      Read the  files `docs/INSTALL*'  for installation  instructions; see
      the file `docs/LICENSE.TXT' for the available licenses.
    
      The FreeType 2 API reference is located in `docs/reference'; use the
      file   `ft2-toc.html'   as   the   top  entry   point.    Additional
      documentation is available as a separate package from our sites.  Go
      to
    
        http://download.savannah.gnu.org/releases/freetype/
    
      and download one of the following files.
    
        freetype-doc-2.8.tar.bz2
        freetype-doc-2.8.tar.gz
        ftdoc28.zip
    
      To view the documentation online, go to
    
        http://www.freetype.org/freetype2/documentation.html
    
    
      Mailing Lists
      =============
    
      The preferred way  of communication with the FreeType  team is using
      e-mail lists.
    
        general use and discussion:      freetype@nongnu.org
        engine internals, porting, etc.: freetype-devel@nongnu.org
        announcements:                   freetype-announce@nongnu.org
        git repository tracker:          freetype-commit@nongnu.org
    
      The lists are moderated; see
    
        http://www.freetype.org/contact.html
    
      how to subscribe.
    
    
      Bugs
      ====
    
      Please submit bug reports at
    
        https://savannah.nongnu.org/bugs/?group=freetype
    
      Alternatively,    you   might    report    bugs    by   e-mail    to
      `freetype-devel@nongnu.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
    
    ----------------------------------------------------------------------
    
    Copyright 2006-2017 by
    David Turner, Robert Wilhelm, and Werner Lemberg.
    
    This  file is  part of  the FreeType  project, and  may only  be used,
    modified,  and distributed  under the  terms of  the  FreeType project
    license,  LICENSE.TXT.  By  continuing to  use, modify,  or distribute
    this file you  indicate that you have read  the license and understand
    and accept it fully.
    
    
    --- end of README ---