Release of the FreeType 2.12 font engine with support for the OpenType-SVG format

The release of FreeType 2.12.0 is presented, a modular font engine that provides a single API for unifying the processing and output of font data in various vector and raster formats.

Among the changes:

  • Added support for the OpenType-SVG (OT-SVG) font format, which allows the creation of color OpenType fonts. The main feature of OT-SVG is the ability to use multiple colors and gradients in a single glyph. All or part of the glyphs are represented as SVG images, which allows you to display text with the quality of a full-fledged vector graphics, while retaining the capabilities of working with information as text (editing, searching, indexing) and inheriting the features of the OpenType format, such as glyph substitution or alternative glyph styles .

    To enable OT-SVG support in FreeType, the "FT_CONFIG_OPTION_SVG" build option is provided. By default, only loading the SVG table from the font is provided, but using the svg-hooks property provided in the new ot-svg module, it is possible to connect external SVG rendering engines. For example, the examples presented in the composition use the librsvg library for rendering.

  • Improved handling of fonts with the 'sbix' (Standard Bitmap Graphics Table) table defined in the OpenType 1.9 specification.
  • Updated to version 1.2.11 the code of the built-in zlib library.
  • Improvements have been made to the build system, including changes related to using the built-in or external zlib library.
  • Added support for Universal Windows Platform for systems other than PCs and laptops.

Source: opennet.ru

Add a comment