Bättre textrendering på gång

Skrivbordsmiljöer, fönsterhanterare och desklets
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7780
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.12.0
FreeType 2.12.0
2022-03-31

The main new feature of this release is support for OpenType fonts with an ‘SVG’ table, using an external SVG rendering library. Other changes, fixes, and improvements are documented here.
CHANGES BETWEEN 2.11.1 and 2.12.0
Gömt innehåll: Visa!
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.
Noble Numbat | Firefox 125β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7780
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.13.0
FreeType skrev:FreeType 2.13.0
2023-02-09
This new release brings you a completely updated and enhanced ftmulti demo program, which now combines the functionality of almost all other graphical FreeType demo programs into a single application based on the Qt framework.

Another two noteworthy features are related to OpenType fonts: The ‘COLR’ v1 API is now considered as stable, and the ‘avar’ v2 extension is supported.

Other news and changes can be found in the release notes.
CHANGES BETWEEN 2.12.1 and 2.13.0 (2023-Feb-09)
Gömt innehåll: Visa!
I. IMPORTANT CHANGES

- The demo program `ftinspect` has been completely updated and much
enhanced. It now combines the functionality of almost all other
graphical FreeType demo programs into a single application based
on the Qt framework. This was Charlie Jiang's GSoC 2022 project.

- The 'COLR' v1 API is now considered as stable.

https://learn.microsoft.com/en-us/typog ... /spec/colr

III. MISCELLANEOUS

- For OpenType Variable Fonts, `avar` table format 2.0 is now
supported. The code was contributed by Behdad Esfahbod.

Note that this is an extension supported on recent Apple platforms
and by HarfBuzz, but not yet in the OpenType standard! See

https://github.com/harfbuzz/boring-expa ... n/avar2.md

for the specification. To deactivate it, define the configuration
macro 'TT_CONFIG_OPTION_NO_BORING_EXPANSION'.

- A new API `FT_GlyphSlot_Slant` to slant a glyph by a given angle
has been added. Note that this function is part of `ftsynth.h`,
which is still considered to be in alpha stage.

- TrueType interpreter version 38 (also known as 'Infinality') that
was first introduced about 10 years ago in FreeType 2.4.11 is now
deprecated and slated to be removed in the next version. TrueType
interpreter version 40 has been FreeType's default version for six
years now and provides an excellent alternative. This is the last
FreeType version with TT_INTERPRETER_VERSION_38 and
TT_INTERPRETER_VERSION_40 treated differently.

- The only referenced but never documented configuration macro
`FT_CONFIG_OPTION_NO_GLYPH_NAMES` has been removed.

- The `ftbench` demo program got a new command line option `-e` to
set a charmap index.

- Specifying a point size is now optional for the demo programs
`ftgrid`, `ftmulti`, `ftstring`, and `ftview`. If not given, a
default size is used.

- For `ftgrid`, `ftstring`, and `ftview`, option `-e` now also
accepts a numeric value to set a charmap index.

- In `ftstring`, it is now possible to set the displayed text
interactively by pressing the 'Enter' key.

- `ftmulti` can now handle up to 16 design axes.

- To avoid reserved identifiers that are globally defined, the
auto-hinter debugging macros (which are only available if
`FT_DEBUG_AUTOFIT` is defined)

```
_af_debug_disable_horz_hints
_af_debug_disable_vert_hints
_af_debug_disable_blue_hints
_af_debug_hints
```

have been renamed to

```
af_debug_disable_horz_hints_
af_debug_disable_vert_hints_
af_debug_disable_blue_hints_
af_debug_hints_
```
Noble Numbat | Firefox 125β (snap) | Privacy Badger
Skriv svar

Återgå till "Skrivbordet"