Go to file
Alexei Podtelezhnikov 4a2f8f1faf [smooth] Sub-banding protocol revision.
Rasterization sub-banding is utilized at large sizes while using
rather small fixed memory pool. Indeed it is possible to make an
educated guess how much memory is necessary at a given size for a
given glyph. It turns out that, for large majority of European glyphs,
you should store about 8 times more boundary pixels than their height.
Or, vice versa, if your memory pool can hold 800 pixels the band
height should be 100 and you should sub-band anything larger than
that. Should you still run out of memory, FreeType bisects the band
but you have wasted some time. This is what has been implemented in
FreeType since the beginning.

It was overlooked, however, that the top band could grow to twice the
default band size leading to unnecessary memory overflows there. This
commit fixes that. Now the bands are distributed more evenly and
cannot exceed the default size.

Now the magic number 8 is really suitable for rather simple European
scripts. For complex Chinese logograms the magic number should be 13
but that is subject for another day.

* src/smooth/ftgrays.c (gray_convert_glyph): Revise sub-banding
protocol.
2016-07-08 00:16:07 -04:00
builds [mac] Fix Savannah bug #48417. 2016-07-07 18:55:37 +09:00
devel Parentheses. 2016-05-20 22:04:01 -04:00
docs * Version 2.6.4 released. 2016-07-05 15:40:19 +02:00
include * Version 2.6.4 released. 2016-07-05 15:40:19 +02:00
objs Fix Windows build directories. 2014-02-08 11:34:33 +01:00
src [smooth] Sub-banding protocol revision. 2016-07-08 00:16:07 -04:00
.gitignore [build] Better optimization settings for vc2010 solution file. 2014-10-14 11:35:16 +02:00
.mailmap Whitespace, `.mailmap' update. 2015-12-14 07:02:56 +01:00
CMakeLists.txt * Version 2.6.4 released. 2016-07-05 15:40:19 +02:00
ChangeLog [smooth] Sub-banding protocol revision. 2016-07-08 00:16:07 -04:00
ChangeLog.20 Typos. 2016-06-20 23:09:39 -04:00
ChangeLog.21 Typos. 2016-06-21 23:12:54 -04:00
ChangeLog.22 Typos. 2016-06-21 23:12:54 -04:00
ChangeLog.23 Typos. 2016-06-20 23:09:39 -04:00
ChangeLog.24 Typos. 2016-06-20 23:09:39 -04:00
ChangeLog.25 Typos. 2016-06-20 01:09:18 -04:00
Jamfile * Version 2.6.4 released. 2016-07-05 15:40:19 +02:00
Jamrules Update copyright year. 2016-01-13 11:54:10 +01:00
Makefile Update copyright year. 2016-01-13 11:54:10 +01:00
README * Version 2.6.4 released. 2016-07-05 15:40:19 +02:00
README.git Update copyright year. 2016-01-13 11:54:10 +01:00
autogen.sh Update copyright year. 2016-01-13 11:54:10 +01:00
configure Update copyright year. 2016-01-13 11:54:10 +01:00
modules.cfg Update copyright year. 2016-01-13 11:54:10 +01:00
version.sed Put version information into the configure script. Reported by Paul 2006-05-08 07:10:29 +00:00
vms_make.com Typos. 2016-04-08 23:21:34 -04:00

README

  FreeType 2.6.4
  ==============

  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.6.4.tar.bz2
    freetype-doc-2.6.4.tar.gz
    ftdoc264.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-2016 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 ---