* 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