So, we've had a report that building Ghostscript against Freetype 2.10.3
fails because FT_CALLBACK_DEF() has been moved to internal use only.

Ghostcript supplies callbacks for memory management (i.e. FT_MemoryRec)
and we used FT_CALLBACK_DEF() for those, which seemed logical when
defining callbacks!

Is there now an alternative way to do that? Or should we just switch to
explicitly declaring them static?

Cheers,

Chris


On 10/10/2020 17:49, Werner LEMBERG wrote:
> 
> FreeType 2.10.3 has been released.
> 
> It is available from
> 
>     http://savannah.nongnu.org/download/freetype/
> 
> or
> 
>     http://sourceforge.net/projects/freetype/files/
> 
> The latter site also holds older versions of the FreeType library.
> 
> See below for the relevant snippet from the CHANGES file.
> 
> Enjoy!
> 
> 
>    Werner
> 
> 
> PS: Downloads from  savannah.nongnu.org  will redirect to your nearest
>     mirror site.   Files on  mirrors may  be subject to  a replication
>     delay   of   up   to   24   hours.   In   case   of  problems  use
>     http://download-mirror.savannah.gnu.org/releases/
> 
> 
> ----------------------------------------------------------------------
> 
> 
> http://www.freetype.org
> 
> 
> FreeType 2  is a software  font engine that  is 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.
> 
> Note that  FreeType 2 is  a font service  and doesn't provide  APIs to
> perform higher-level features, like text layout or graphics processing
> (e.g.,  colored  text  rendering,  `hollowing',  etc.).   However,  it
> greatly simplifies these tasks by providing a simple, easy to use, and
> uniform interface to access the content of font files.
> 
> FreeType  2  is  released  under  two open-source  licenses:  our  own
> BSD-like FreeType  License and the  GPL.  It can  thus be used  by any
> kind of projects, be they proprietary or not.
> 
> 
> ----------------------------------------------------------------------
> 
> 
> CHANGES BETWEEN 2.10.2 and 2.10.3
> 
>   I. IMPORTANT CHANGES
> 
>   - New flag `FT_OUTLINE_OVERLAP'.  If set, make the smooth rasterizer
>     do  4x4 oversampling  to  mitigate artifacts  in pixels  partially
>     covered  by  overlapping  contours.    Note  that  this  at  least
>     quadruples the rendering time.
> 
>     If  a  glyph  in  a  TrueType font  has  the  `OVERLAP_SIMPLE'  or
>     `OVERLAP_COMPOUND'  bit set,  FreeType automatically  selects this
>     rendering mode.
> 
> 
>   II. MISCELLANEOUS
> 
>   - Using the  arcane method of  including FreeType header  files with
>     macros like  `FT_FREETYPE_H' is no longer  mandatory (but retained
>     as an optional feature for backward compatibility).
> 
>   - Support for  building the library  with Meson.  Building  the demo
>     programs with Meson will follow in a forthcoming release.
> 
>   - Minor improvements to the B/W rasterizer.
> 
>   - Auto-hinter support for Medefaidrin script.
> 
>   - Fix various  memory leaks (mainly  for CFF) and other  issues that
>     might cause crashes in rare circumstances.
> 
>   - Jam support has been removed.
> 
>   - In  `ftview', custom  LCD  filter values  are  now normalized  and
>     balanced.  Unorthodox filters are still available through the `-L'
>     command line option.
> 
>   - The GUI demo programs can now be resized.
> 
>   - Demo programs that accept command  line option `-k' can now handle
>     function keys, too.  The  corresponding character codes start with
>     0xF1.  As  an example, the  POSIX shell syntax (accepted  by bash,
>     ksh, and zsh)
> 
>       -k $'\xF3q'
> 
>     emulates the pressing of function key `F3' followed by key `q'.
> 

Reply via email to