- Update to 2.12.1:
- 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).
- Drop freetype-2.12.0-cff_slot_load-segfault.patch
- Drop 079a22da037835daf5be2bd9eccf7bc1eaa2e783.patch
- Update to version 2.12.1:
* Fix clang++ warnings.
* [ftsdf] Fix segmentation fault.
* Replace header macros with file names.
* [ftview] Handle foreground COLR.
* (Print_Array): New function.
* (Print_FontInfo_Dictionary, Print_FontPrivate_Dictionary): New functions.
* [ftgrid] Minor tweaks.
* [ftgrid] Implement embedded bitmap toggle.
* Prototype SVG support.
OBS-URL: https://build.opensuse.org/request/show/974364
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=176
- update to 2.12.0:
- 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.
- The handling of fonts with an 'sbix' table has been improved.
- 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.
OBS-URL: https://build.opensuse.org/request/show/967886
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=170
- update to 2.11.1:
* Some fields in the `CID_FaceDictRec`, `CID_FaceInfoRec`, and
`FT_Data` structures have been changed from signed to unsigned
type, which better reflects the actual usage. It is also an
additional means to protect against malformed input.
* Cmake support has been further improved. To do that various
backward-incompatible changes were necessary; please see file
`CMakeLists.txt` for more details.
* The experimental 'COLR' v1 API has been updated to the latest
OpenType standard 1.9.
OBS-URL: https://build.opensuse.org/request/show/935295
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=169
* A new rendering module has been added to create 8-bit Signed
Distance Field (SDF) bitmaps for both outline and bitmap glyphs.
* A new, experimental API is now available for surfacing properties
of 'COLR' v1 color fonts.
* A new function `FT_Get_Transform` returns the values set by
FT_Set_Transform.
* The legacy Type 1 and CFF engines are further demoted due to lack
of CFF2 charstring support.
* 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%.
* PCF bitmap fonts compressed with LZW (these are usually files with
the extension .pcf.Z) are now handled correctly.
- Update to version 2.11.0
* 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.
* 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.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=168
* Contains the fix for CVE-2020-15999
* 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.
- Update to version 2.10.4
* 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'.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=164
* Support for WOFF2 fonts, add BR on pkgconfig(libbrotlidec)
* Function `FT_Get_Var_Axis_Flags' returned random data for Type 1
MM fonts.
* Type 1 fonts with non-integer metrics are now supported by the new
(CFF) engine introduced in FreeType 2.9.
* Drop support for Python 2 in Freetype's API reference generator
* Auto-hinter support for Hanifi Rohingya
* Document the `FT2_KEEP_ALIVE' debugging environment variable.
- Update to version 2.10.2
* The `ftbench' demo program has a new test for testing the
`FT_Glyph_Stroke' functionality.
- Add BR on pkgconfig(libbrotlidec) for ftinspect
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=162
* The bytecode hinting of OpenType variation fonts was flawed, since
the data in the `CVAR' table wasn't correctly applied.
* Auto-hinter support for Mongolian.
* The handling of the default character in PCF fonts as introduced
in version 2.10.0 was partially broken, causing premature abortion
of charmap iteration for many fonts.
* If `FT_Set_Named_Instance' was called with the same arguments
twice in a row, the function returned an incorrect error code the
second time.
* Direct rendering using FT_RASTER_FLAG_DIRECT crashed (bug
introduced in version 2.10.0).
* Increased precision while computing OpenType font variation
instances.
* The flattening algorithm of cubic Bezier curves was slightly
changed to make it faster. This can cause very subtle rendering
changes, which aren't noticeable by the eye, however.
* The auto-hinter now disables hinting if there are blue zones
defined for a `style' (i.e., a certain combination of a script and
its related typographic features) but the font doesn't contain any
characters needed to set up at least one blue zone.
- Add tarball signatures and freetype2.keyring
- Update to version 2.10.1
* The `ftmulti' demo program now supports multiple hidden axes with
the same name tag.
* `ftview', `ftstring', and `ftgrid' got a `-k' command line option
to emulate a sequence of keystrokes at start-up.
* `ftview', `ftstring', and `ftgrid' now support screen dumping to a
PNG file.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=157
* A bunch of new functions has been added to access and process
COLR/CPAL data of OpenType fonts with color-layered glyphs.
* As a GSoC 2018 project, Nikhil Ramakrishnan completely
overhauled and modernized the API reference.
* The logic for computing the global ascender, descender, and
height of OpenType fonts has been slightly adjusted for
consistency.
* `TT_Set_MM_Blend' could fail if called repeatedly with the same
arguments.
* The precision of handling deltas in Variation Fonts has been
increased.The problem did only show up with multidimensional
designspaces.
* New function `FT_Library_SetLcdGeometry' to set up the geometry
of LCD subpixels.
* FreeType now uses the `defaultChar' property of PCF fonts to set
the glyph for the undefined character at glyph index 0 (as
FreeType already does for all other supported font formats). As
a consequence, the order of glyphs of a PCF font if accessed
with FreeType can be different now compared to previous
versions.
This change doesn't affect PCF font access with cmaps.
* `FT_Select_Charmap' has been changed to allow parameter value
`FT_ENCODING_NONE', which is valid for BDF, PCF, and Windows FNT
formats to access built-in cmaps that don't have a predefined
`FT_Encoding' value.
* A previously reserved field in the `FT_GlyphSlotRec' structure
now holds the glyph index.
* The usual round of fuzzer bug fixes to better reject malformed
fonts.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=156
* Type 1 fonts containing flex features were not rendered
correctly (bug introduced in version 2.9).
* CVE-2018-6942: Older FreeType versions can crash with certain
malformed variation fonts.
* Bug fix: Multiple calls to `FT_Get_MM_Var' returned garbage.
* Emboldening of bitmaps didn't work correctly sometimes, showing
various artifacts (bug introduced in version 2.8.1).
* The auto-hinter script ranges have been updated for Unicode 11.
No support for new scripts have been added, however, with the
exception of Georgian Mtavruli.
- Drop upstreamed patches:
* bnc1079600.patch
* psaux-flex.patch
* 0001-src-truetype-ttinterp.c-Ins_GETVARIATION-Avoid-NULL-.patch
* 0001-truetype-Better-protection-against-invalid-VF-data.patch
- Update to version 2.9.1
* No changelog upstream.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=147
* Advance width values of variation fonts were often wrong.
* More fixes for variation font support; you should update to
this version if you want to support them.
* As a GSoC project, Ewald Hew extended the new (Adobe) CFF
engine to handle Type 1 fonts also, thus greatly improving
the rendering of this format. This is the new default.
* A new function, `FT_Set_Named_Instance', can be used to set
or change the current named instance.
* Starting with this FreeType version, resetting variation
coordinates will return to the currently selected named
instance. Previously, FreeType returned to the base font
(i.e., no instance set).
* Some fuzzer fixes to better reject malformed fonts.
- Update to version 2.9
* The `ftbench' demo program has a new test for opening a new
face and loading some glyphs.
* The `ftbench' demo program has a new option `-j' to specify
the last glyph index to be used in the tests.
* The `ftgrid' demo program has a new option `-n' to suppress
display of named instances of variation fonts.
* The `ttdebug' demo program can now show a stack trace (key `K')
and switch between hexadecimal and decimal display of integers
(key `I').
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=129
* B/W hinting of TrueType fonts didn't work properly if
interpreter version 38 or 40 was selected.
* Some severe problems within the handling of TrueType Variation
Fonts were found and fixed.
* Function `FT_Set_Var_Design_Coordinates' didn't correctly handle
the case with less input coordinates than axes.
* By default, FreeType now offers high quality LCD-optimized
output without resorting to ClearType techniques of resolution
tripling and filtering. In this method, called Harmony, each
color channel is generated separately after shifting the glyph
outline, capitalizing on the fact that the color grids on LCD
panels are shifted by a third of a pixel. This output is
indistinguishable from ClearType with a light 3-tap filter.
* Using the new function `FT_Get_Var_Axis_Flags', an application
can access the `flags' field of a variation axis (introduced in
OpenType version 1.8.2)
* FreeType now synthesizes a missing Unicode cmap for (older)
TrueType fonts also if glyph names are available.
* The warping option has moved from `light' to `normal' hinting
where it replaces the original hinting algorithm. The `light'
mode is now always void of any hinting in x-direction.
- Update to version 2.8.1
* The ftgrid demo program can now toggle the display of grid lines
with the G key.
* The ftgrid demo program can toggle a different set of colors
(suitable to color-blind people) with the C key.
* The ftgrid demo program now supports the -e command line option
to select a cmap.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=128
- Update to version 2.8
* Support for OpenType Variation Fonts is now complete. The last
missing part was handling the `VVAR' and `MVAR' tables, which is
available with this release.
* A new function `FT_Face_Properties' allows the control of some
module and library properties per font. Currently, the
following properties can be handled: stem darkening, LCD filter
weights, and the random seed for the `random' CFF operator.
* The PCF change to show more `colourful' family names (introduced
in version 2.7.1) was too radical; it can now be configured with
PCF_CONFIG_OPTION_LONG_FAMILY_NAMES at compile time. If
activated, it can be switched off at run time with the new pcf
property `no-long-family-names'. If the `FREETYPE_PROPERTIES'
environment variable is available, you can say
FREETYPE_PROPERTIES=pcf:no-long-family-names=1
* Support for the following scripts has been added to the
auto-hinter.
Adlam, Avestan, Bamum, Buhid, Carian, Chakma, Coptic, Cypriot,
Deseret, Glagolitic, Gothic, Kayah, Lisu, N'Ko, Ol Chiki, Old
Turkic, Osage, Osmanya, Saurashtra, Shavian, Sundanese, Tai
Viet, Tifinagh, Unified Canadian Syllabics, Vai
* `Light' auto-hinting mode no longer uses TrueType metrics for
TrueType fonts. This bug was introduced in version 2.4.6,
causing horizontal scaling also. Almost all GNU/Linux
distributions (with Fedora as a notable exception) disabled the
corresponding patch for good reasons; chances are thus high that
you won't notice a difference.
* If a TrueType font gets loaded with FT_LOAD_NO_HINTING, FreeType
OBS-URL: https://build.opensuse.org/request/show/494888
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=127
- Update to version 2.7.1:
* IMPORTANT CHANGES
+ Support for the new CFF2 font format as introduced with
OpenType 1.8 has been contributed by Dave Arnolds from Adobe.
+ Preliminary support for variation fonts as specified in
OpenType 1.8 (in addition to the already existing support for
Adobe's MM and Apple's GX formats). Dave Arnolds contributed
handling of advance width change variation; more will come in
the next version.
* IMPORTANT BUG FIXES
+ Handling of raw CID fonts was partially broken (bug introduced
in 2.6.4).
* MISCELLANEOUS
+ Some limits for TrueType bytecode execution have been tightened
to speed up FreeType's handling of malformed fonts, in
particular to quickly abort endless loops.
+ The number of twilight points can no longer be set to an
arbitrarily large value.
+ The total number of jump opcode instructions (like JMPR) with
negative arguments is dynamically restricted; the same holds
for the total number of iterations in LOOPCALL opcodes.
+ The dynamic limits are based on the number of points in a glyph
and the number of CVT entries. Please report if you encounter a
font where the selected values are not adequate.
+ PCF family names are made more `colourful'; they now include the
foundry and information whether they contain wide characters.
For example, you no longer get `Fixed' but rather `Sony Fixed'
or `Misc Fixed Wide'.
+ A new function `FT_Get_Var_Blend_Coordinates' (with its alias
name `FT_Get_MM_Blend_Coordinates') to retrieve the normalized
OBS-URL: https://build.opensuse.org/request/show/448387
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=123
- Upadte to version 2.6.4:
* A new subpixel hinting mode, which is now the default rendering
mode for TrueType fonts. It implements (almost everything of)
version 40 of the bytecode engine. The existing code base in
FreeType (the `Infinality code') was stripped to the bare
minimum and all configurability removed in the name of speed
and simplicity. The configurability was mainly aimed at legacy
fonts like Arial, Times New Roman, or Courier. [Legacy fonts
are fonts that modify vertical stems to achieve clean
black-and-white bitmaps.] The new mode focuses on applying a
minimal set of rules to all fonts indiscriminately so that
modern and web fonts render well while legacy fonts render
okay. Activation of the subpixel hinting support can be
controlled with the `TT_CONFIG_OPTION_SUBPIXEL_HINTING'
configuration option at compile time: If set to value 1, you
get the old Infinality mode (which was never the default due to
its slowness). Value 2 activates the new subpixel hinting mode,
and value 3 activates both. The default is value 2. At run
time, you can select the subpixel hinting mode with the
`interpreter-version' property (provided you have compiled in
the corresponding hinting mode); see `ftttdrv.h' for more.
* Support for the following scripts has been added to the
auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati,
Gurmukhi, Malayalam, Sinhala, Tamil.
- Rebase freetype2-subpixel.patch.
- Update to version 2.6.4:
+ Sync with freetype 2.6.4.
OBS-URL: https://build.opensuse.org/request/show/407235
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=117
- Update to version 2.6.3
* IMPORTANT CHANGES
- Khmer, Myanmar, Bengali, and Kannada script support has been
added to the auto-hinter.
* MISCELLANEOUS
- Better support of Indic scripts like Devanagari by using a
top-to-bottom hinting flow.
- All FreeType macros starting with two underscores have been
renamed to avoid a violation of both the C and C++ standards.
Example: Header macros of the form `__FOO_H__' are now called
`FOO_H_'. In most cases, this should be completely transparent
to the user. The exception to this is `__FTERRORS_H__', which
must be sometimes undefined by the user to get FreeType error
strings: Both this form and the new `FTERRORS_H_' macro are
accepted for backwards compatibility.
- Minor improvements mainly to the Type 1 driver.
- The new CFF engine now supports all Type 2 operators except
`random'.
- The macro `_STANDALONE_', used for compiling the B/W and smooth
rasterizers as stand-alone modules, has been renamed to
`STANDALONE_', since macro names starting with an underscore and
followed by an uppercase letter are reserved in both C and C++.
- Function `FT_Library_SetLcdFilterWeights' now also activates
custom LCD filter weights (instead of just adjusting them).
- Support for `unpatented hinting' has been completely removed:
Consequently, the two functions `FT_Face_CheckTrueTypePatents'
and `FT_Face_SetUnpatentedHinting' now return always false,
doing nothing.
OBS-URL: https://build.opensuse.org/request/show/380640
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=115
- Update to version 2.6.2
* IMPORTANT CHANGES
- The auto-hinter now supports stem darkening, to be controlled by
the new `no-stem-darkening' and `darkening-parameters'
properties. This is an experimental feature contributed by
Nikolaus Waxweiler, and the interface might change in a future
release.
- By default, stem darkening is now switched off (for both the CFF
engine and the auto-hinter). The main reason is that you need
linear alpha blending and gamma correction to get correct
rendering results, and the latter is not yet available in most
freely available rendering stacks like X11. Applying stem
darkening without proper gamma correction leads to far too dark
rendering results.
- The meaning of `FT_RENDER_MODE_LIGHT' has been slightly
modified. It now essentially means `no hinting along the
horizontal axis'; in particular, no change of glyph advance
widths. Consequently, the auto-hinter is used for all scalable
font formats except for CFF. It is planned that other
font-specific rendering engines (TrueType, Type 1) will follow.
* MISCELLANEOUS
- The default LCD filter has been changed to be normalized and
color-balanced.
- For better compatibility with FontConfig, function
`FT_Library_SetLcdFilter' accepts a new enumeration value
`FT_LCD_FILTER_LEGACY1' (which has the same meaning as
`FT_LCD_FILTER_LEGACY').
- A large number of bugs have been detected by using the libFuzzer
framework, which should further improve handling of invalid
fonts. Thanks again to Kostya Serebryany and Bungeman!
OBS-URL: https://build.opensuse.org/request/show/346714
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=113
- Update to version 2.6
* Thread safety improvements
* Thai script support has been added to the auto-hinter.
* Arabic script support has been added to the auto-hinter.
* Following OpenType version 1.7, advance widths and side bearing
values in CFFs (wrapped in an SFNT structure) are now always
taken from the `hmtx' table.
* Following OpenType version 1.7, the PostScript font name of a
CFF font (wrapped in an SFNT structure) is now always taken from
the `name' table. This is also true for OpenType Collections
(i.e., TTCs using CFFs subfonts instead of TTFs), where it may
have a significant difference.
* Fonts natively hinted for ClearType are now supported, properly
handling selector index 3 of the INSTCTRL bytecode instruction.
* Major improvements to the GX TrueType variation font handling.
- Update to version 2.6
* ftgrid can now display GX and MM fonts.
* Anti-aliasing rendering modes can now be selected (with keys
F5 and F6).
* The display of point numbers can be toggled with key `D'.
* ftdump now display information on MM and GX variation axes.
* ftmulti can now handle up to six MM or GX axes.
- Refresh overflow.patch
OBS-URL: https://build.opensuse.org/request/show/311559
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=105