Commit Graph

16 Commits

Author SHA1 Message Date
Adolf Belka
c78f6e33f8 freetype: Update to version 2.12.1
- Update from version 2.11.1 to 2.12.1
- Update of rootfile
- Changelog
     CHANGES BETWEEN 2.12.0 and 2.12.1
	  I. IMPORTANT BUG FIXES
	  - Loading CFF fonts sometimes made FreeType crash (bug introduced in
	    version 2.12.0)
	  - Loading  a fully  hinted  TrueType glyph  a  second time  (without
	    caching) sometimes yielded different rendering results if TrueType
	    hinting was active (bug introduced in version 2.12.0).
	  - The generation of the pkg-config file `freetype2.pc` was broken if
	    the build was done with cmake (bug introduced in version 2.12.0).
	  II. MISCELLANEOUS
	  - New option `--with-librsvg` for  the `configure` script for better
	    FreeType demo support.
	  - The  meson  build  no  longer enforces  both  static  and  dynamic
	    versions of the library by default.
	  - The internal  zlib library was  updated to version  1.2.12.  Note,
	    however, that  FreeType is *not* affected  by CVE-2018-25032 since
	    it only does decompression.
     CHANGES BETWEEN 2.11.1 and 2.12.0
	  I. IMPORTANT CHANGES
	  - FreeType  now   handles  OT-SVG  fonts,  to   be  controlled  with
	    `FT_CONFIG_OPTION_SVG`  configuration macro.   By default,  it can
	    only load the 'SVG ' table of an OpenType font.  However, by using
	    the `svg-hooks` property of the new 'ot-svg' module it is possible
	    to register an  external SVG rendering engine.   The FreeType demo
	    programs  have been  set  up  to use  'librsvg'  as the  rendering
	    library.
	    This work was Moazin Khatti's GSoC 2019 project.
	  II. MISCELLANEOUS
	  - The handling of fonts with an 'sbix' table has been improved.
	    - Corrected bitmap offsets.
	    - A  new tag  `FT_PARAM_TAG_IGNORE_SBIX` for  `FT_Open_Face` makes
	      FreeType ignore an 'sbix' table in a font, allowing applications
	      to access the font's outline glyphs.
	    - `FT_FACE_FLAG_SBIX`  and   `FT_FACE_FLAG_SBIX_OVERLAY`  together
	      with their  corresponding preprocessor macros  `FT_HAS_SBIX` and
	      `FT_HAS_SBIX_OVERLAY` enable applications to treat 'sbix' tables
	      as described in the OpenType specification.
	  - The internal 'zlib'  code has been updated to be  in sync with the
	    current 'zlib' version (1.2.11).
	  - The  previously internal  load  flag  `FT_LOAD_SBITS_ONLY` is  now
	    public.
	  - Some  minor improvements  of the  building systems,  in particular
	    handling of the 'zlib' library (internal vs. external).
	  - Support for non-desktop Universal Windows Platform.
	  - Various other minor bug and documentation fixes.
	  - The `ftdump` demo  program shows more information  for Type1 fonts
	    if option `-n` is given.
	  - `ftgrid` can now display embedded bitmap strikes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-05 15:31:03 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Adolf Belka
28f0b756ce freetype: Update to version 2.11.1
- Update from 2.11.0 to 2.11.1
- Update of rootfile
- Changelog is too long to include here - more than 1500 lines.
   Details can be found in the ChangeLog file in the source tarball.
   24 bug fixes listed.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-01-14 13:40:48 +00:00
Adolf Belka
ea82d46c34 freetype: Update to version 2.11.0
- Update from 2.10.4 to 2.11.0
- Update rootfile
- Changelog
   CHANGES BETWEEN 2.10.4 and 2.11.0
    I. IMPORTANT CHANGES
       - A new rendering module has been added to create 8-bit Signed Distance Field (SDF)
         bitmaps for both outline and bitmap glyphs. The new rendering mode is called
         `FT_RENDER_MODE_SDF`, the pixel mode is `FT_PIXEL_MODE_GRAY8`, and the
         corresponding raster flag is `FT_RASTER_FLAG_SDF`. This work was Anuj Verma's
         GSoC 2020 project.
       - A new, experimental API is now available for surfacing properties of 'COLR' v1
         color fonts (as the name says, this is an extension to the 'COLR' table for
         outline color fonts using the SFNT container format). 'COLR' v1 fonts are a
         recently proposed addition to OFF and OpenType; specification work currently
         happens in https://github.com/googlefonts/colr-gradients-spec/ 'COLR' v1 is
         expected to be merged to OpenType; the ISO standardisation process for adding
         'COLR' v1 as an amendment to OFF is underway. Functions similar to the already
         existing 'COLR' API have been added to access the corresponding data.
         FT_Get_Color_Glyph_Paint Retrieve the root paint for a given glyph ID.
         FT_Get_Paint_Layers Access the layers of a `PaintColrLayers` table.
         FT_Get_Colorline_Stops Retrieve the 'color stops' on a color line. As an input,
         a color stop iterator gets used, which in turn is retrieved from a paint.
         FT_Get_Paint Dereference an `FT_OpaquePaint` object and retrieve the
         corresponding `FT_COLR_Paint` object, which contains details on how to draw the
         respective 'COLR' v1 `Paint` table.
   II. MISCELLANEOUS
       - FreeType has moved its infrastructure to https://gitlab.freedesktop.org/freetype
         A side effect is that the git repositories are now called `freetype.git` and
         `freetype-demos.git`, which by default expand to the directories `freetype` and
         `freetype-demos`, respectively. The documentation has been updated accordingly.
         FreeType's Savannah repositories will stay; they are now mirrors of the
         'freedesktop.org' repositories.
       - A new function `FT_Get_Transform` returns the values set by `FT_Set_Transform`.
       - A new configuration macro `FT_DEBUG_LOGGING` is available. It provides extended
         debugging capabilities for FreeType, for example showing a time stamp or
         displaying the component a tracing message comes from. See file `docs/DEBUG` for
         more information. This work was Priyesh Kumar's GSoC 2020 project.
       - The legacy Type 1 and CFF engines are further demoted due to lack of CFF2
         charstring support. You now need to use `FT_Property_Set` to enable them besides
         the `T1_CONFIG_OPTION_OLD_ENGINE` and `CFF_CONFIG_OPTION_OLD_ENGINE` options,
         respectively.
       - The experimental 'warp' mode (AF_CONFIG_OPTION_USE_WARPER) for the auto-hinter
         has been removed.
       - The smooth rasterizer performance has been improved by >10%. Note that due to
         necessary code changes there might be very subtle differences in rendering. They
         are not visible by the eye, however.
       - PCF bitmap fonts compressed with LZW (these are usually files with the extension
         `.pcf.Z`) are now handled correctly.
       - Improved Meson build files, including support to build the FreeType demo programs.
       - A new demo program `ftsdf` is available to display Signed Distance Fields of
         glyphs.
       - The `ftlint` demo program has been extended to do more testing of its input. In
         particular, it can display horizontal and vertical acutances for quality
         assessment, together with computing MD5 checksums of rendered glyphs. [The
         acutance measures how sharply the pixel coverage changes at glyph edges. For
         monochrome bitmaps, it is always 2.0 in either X or Y direction. For
         anti-aliased bitmaps, it depends on the hinting and the shape of a glyph and
         might approach or even reach value 2.0 for glyphs like 'I', 'L', '+', '-', or
         '=', while it might be lower for glyphs like 'O', 'S', or 'W'.]
       - The `ttdebug` demo program didn't show changed point coordinates (bug introduced
         in version 2.10.3).
       - It is now possible to adjust the axis increment for variable fonts in the
         `ftmulti` demo program.
       - It is now possible to change the hinting engine in the `ftstring` demo program.
       - The graphical demo programs work better now in native color depth on win32 and
         x11.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2021-12-03 22:53:36 +01:00
Adolf Belka
68b5e6b1bb freetype: Update to 2.10.4
- Update freetype from 2.10.2 to 2.10.4
	- A heap buffer overflow has been found in the handling of embedded
	PNG bitmaps, introduced in FreeType version 2.6.
	https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15999
	If you use option FT_CONFIG_OPTION_USE_PNG you should upgrade immediately.
- Version 2.10.3 and later breaks the build of ghostscript, due to ghostscripts
	use of a withdrawn freetype macro that wasn't for external usage.
	A patch has been created to fix this and is included in the connected
	ghostcript patch.
- Updated rootfile
- Changelog for version 2.10.3 release is too long to add here. This can be
	found in the changelog file in the tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 16:53:29 +00:00
Michael Tremer
52bf6075d0 Revert "freetype: update to 2.10.4"
This reverts commit 5653a45f81.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 14:43:05 +00:00
Peter Müller
5653a45f81 freetype: update to 2.10.4
This fixes a heap buffer overflow in the handling of embedded PNG
bitmaps (CVE-2020-15999). Further information is available at
https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/ .

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:13:40 +00:00
Michael Tremer
babd7f0a27 freetype: Update to 2.10.2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-24 17:36:37 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
b1a2ddc873 freetype: Update to 2.7.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-22 08:59:18 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
9594506f99 Freetype wird gebraucht vom rrdtool.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@585 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-27 10:52:36 +00:00
ms
a08c3a2eb1 Die Abhaengigkeitspakete vom Samba erstellt.
vsftpd hinzugefuegt... :D Vergebt mir...
Paketmanager weitergebaut. Installiert nun die Pakete alle richtig (auch mit Abhaengigkeiten).
Samba aktualisiert.
Bootsplash entfernt.
mc-Alias erstellt, sodass der auf der Textkonsole ordentlich zu bedienen ist.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@583 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-26 19:04:16 +00:00
ms
ddac608770 Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@318 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-13 11:51:11 +00:00
ms
8deebac86a Geändert:
* Umfassende Fixes beim URL-Filter. - Erfolgreich getestet.
  * Falsche MD5-Sum in lfs/freetype
  * Dateien in ISO geschoben und noch überflüssige gelöscht.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@193 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-03 18:50:48 +00:00
ms
a7b1824c6c Hinzugefügt:
* Libs und Fonts für Bootsplash
  * Bootsplash-Binaries selber


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@192 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-02 11:54:34 +00:00