Commit Graph

125 Commits

Author SHA256 Message Date
Fridrich Strba
f6cb341144 Accepting request 1116974 from home:dimstar:Factory
- Update to version 2.13.2:
  - Better support for CFF2 variation fonts.
  - TrueType interpreter  version 38 (also known  as 'Infinality')
    has been removed.
  - Improved OpenVMS support.

- Update to version 2.13.2:
  - Better support for CFF2 variation fonts.
  - TrueType interpreter  version 38 (also known  as 'Infinality')
    has been removed.
  - Improved OpenVMS support.

OBS-URL: https://build.opensuse.org/request/show/1116974
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=203
2023-10-11 13:09:51 +00:00
fdf8a9b42b Accepting request 1098802 from home:dirkmueller:Factory
- update to 2.13.1:
  * New function  `FT_Get_Default_Named_Instance` to get the
    index of the default named instance of an OpenType Variation
    Font. A new load flag `FT_LOAD_NO_SVG` to make FreeType ignore
    glyphs in an 'SVG ' table.
  * New function  `FT_GlyphSlot_AdjustWeight` to adjust
    the glyph weight either  horizontally or  vertically.
    This is part of the `ftsynth.h` header file
  * TrueType interpreter  version 38 (also known  as
    'Infinality') has been deactivated; the value  of
    `TT_INTERPRETER_VERSION_38` is now the same as
    `TT_INTERPRETER_VERSION_40`.
  * Switching named instances on and  off in Variation Fonts
    was buggy if the design coordinates didn't change.
- drop enable-infinality-subpixel-hinting.patch (obsolete, infinality
  is deactivated)

- update to 2.13.1:
  * `ftbench` has a new  command-line option  `-a`  to
    apply design coordinates.
  *  `ftview` can now flip SVG rendering on and off using the
    'Z' key.
  * `ftmulti` it  is  now possible  to toggle  the  fill
    rule  and overlap flag  used for  rendering glyphs using  the 'F3'
    and 'F4' keys,  respectively. Toggling the anti-aliased  mode
    has been changed to the 'TAB' key.

OBS-URL: https://build.opensuse.org/request/show/1098802
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=201
2023-07-15 15:23:55 +00:00
c8a89d2de6 Accepting request 1088982 from home:dimstar:Factory
- Do not limit ftdump conflict to < version-release, but only to
  version. Ftdump is built in a second build flavor and as such the
  release counters are not guaranteed to be in sync.

OBS-URL: https://build.opensuse.org/request/show/1088982
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=199
2023-05-25 11:04:56 +00:00
e263d63211 Accepting request 1080482 from home:fcrozat:branches:M17N
- Fix license tag to FTL and GPL-2.0-only.

OBS-URL: https://build.opensuse.org/request/show/1080482
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=195
2023-04-21 08:59:07 +00:00
8e6a7408bf OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=193 2023-03-08 21:04:42 +00:00
d5c6594c71 - update to 2.13.0:
* The 'COLR' v1 API is now considered as stable.
    https://learn.microsoft.com/en-us/typography/opentype/spec/colr
  * 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-expansion-spec/blob/main/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.
  * 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

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=190
2023-03-08 20:11:15 +00:00
6abe5c6b43 - switch to pkgconfig(zlib) so that alternative providers can be
used

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=186
2023-01-05 20:25:58 +00:00
df945b598b - spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=180
2022-08-12 13:45:34 +00:00
4f2817aabc Accepting request 994776 from home:coolo:branches:openSUSE:Factory
- Move ftpdump from ft2demos to freetype - it's required by other
  packages and doesn't require any of the toolkits, so move its
  build early

- Move ftpdump from ft2demos to freetype - it's required by other
  packages and doesn't require any of the toolkits, so move its
  build early

OBS-URL: https://build.opensuse.org/request/show/994776
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=179
2022-08-12 13:43:47 +00:00
1f6e97ec39 Accepting request 974477 from home:dirkmueller:Factory
- drop revert-ft212-subpixel-hinting-change.patch: upstream

  - 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.

OBS-URL: https://build.opensuse.org/request/show/974477
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=177
2022-05-02 19:39:45 +00:00
a9c7da1e3f Accepting request 974364 from home:polslinux:branches:M17N
- 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
2022-05-02 19:36:32 +00:00
Fridrich Strba
08853ad5af Accepting request 970867 from home:dirkmueller:Factory
- add revert-ft212-subpixel-hinting-change.patch (bsc#1198536)
- add 079a22da037835daf5be2bd9eccf7bc1eaa2e783.patch to avoid
  an integer overflow occuring during fuzzing

OBS-URL: https://build.opensuse.org/request/show/970867
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=174
2022-04-19 15:30:30 +00:00
Fridrich Strba
e4fcb84184 Accepting request 970451 from home:AndreasStieger:branches:M17N
fix segfault boo#1198497

OBS-URL: https://build.opensuse.org/request/show/970451
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=172
2022-04-17 07:05:08 +00:00
Fridrich Strba
eaac049b95 Accepting request 967886 from home:dirkmueller:Factory
- 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
2022-04-08 22:08:46 +00:00
Fridrich Strba
6f0c020ab3 Accepting request 935295 from home:dirkmueller:Factory
- 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
2021-12-03 10:11:04 +00:00
Ismail Dönmez
db17718696 - Update to version 2.11.0
* 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
2021-07-23 07:23:54 +00:00
Ismail Dönmez
025178e121 - Update to version 2.10.4
* 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
2020-10-20 09:53:16 +00:00
Ismail Dönmez
a21245dded - Update to version 2.10.2
* 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
2020-05-09 10:36:42 +00:00
Ismail Dönmez
dcd24e723f Accepting request 736727 from home:elvigia:branches:M17N
- Use the compiler default C std, since 2012 gcc defaults
  have changed, we now only need to get rid of ANSIFLAGS, override
  that variable instead.

OBS-URL: https://build.opensuse.org/request/show/736727
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=160
2019-10-10 12:41:54 +00:00
Ismail Dönmez
66d0d31889 -
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=158
2019-07-02 07:36:13 +00:00
Ismail Dönmez
2a17dd4f42 - Update to version 2.10.1
* 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
2019-07-02 07:34:07 +00:00
Ismail Dönmez
625947c136 - Update to version 2.10.0
* 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
2019-06-24 07:26:24 +00:00
Ismail Dönmez
638a078b2f - Remove old ppc64 parts in spec file
- Refresh patches:
  + bugzilla-308961-cmex-workaround.patch
  + don-t-mark-libpng-as-required-library.patch
  + enable-long-family-names-by-default.patch
- Enable subpixel rendering with infinality config:
  + enable-subpixel-rendering.patch
  + enable-infinality-subpixel-hinting.patch

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=152
2018-10-27 11:56:04 +00:00
Ismail Dönmez
563b3db60c Accepting request 644923 from home:hellcp:branches:M17N
- Add subpixel rendering due to Microsoft joining OIN
https://lists.opensuse.org/opensuse-factory/2018-10/msg00325.html

OBS-URL: https://build.opensuse.org/request/show/644923
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=151
2018-10-27 11:50:53 +00:00
Ismail Dönmez
17d1bfe18d - Re-enable freetype-config, there is just too many fallouts.
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=149
2018-05-14 10:09:20 +00:00
Ismail Dönmez
4600f62e52 - Update to version 2.9.1
* 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
2018-05-02 11:15:13 +00:00
Fridrich Strba
938ebda8d9 Accepting request 584499 from home:kbabioch:branches:M17N
- Add bnc1079600.patch: Fix several integer overflow issues in
  truetype/ttinterp.c (bsc#1079600)

OBS-URL: https://build.opensuse.org/request/show/584499
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=142
2018-03-09 08:05:19 +00:00
Fridrich Strba
e22dc75039 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=140 2018-03-06 11:13:03 +00:00
Fridrich Strba
2d01fefc66 Accepting request 583281 from home:13ilya:branches:M17N
- Refresh spec-file via spec-cleaner.
- Add shell script freetype2.sh in separate package freetype2-profile-tti35
  for set TrurType interpreter version 35 (boo#1084085).

OBS-URL: https://build.opensuse.org/request/show/583281
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=139
2018-03-06 11:11:38 +00:00
Fridrich Strba
c0a0132a58 Accepting request 581252 from home:13ilya:branches:M17N
- Refresh spec-file via spec-cleaner.
- Add shell script freetype2.sh in separate package
  freetype2-profile-tti35 for set TrurType interpreter version 35.

OBS-URL: https://build.opensuse.org/request/show/581252
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=138
2018-03-06 09:45:37 +00:00
Fridrich Strba
bc8bc20dab OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=135 2018-02-09 12:15:13 +00:00
Fridrich Strba
67eda4ade2 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=134 2018-02-09 11:22:50 +00:00
Fridrich Strba
a8704536e0 bsc#1079603 and bsc#1079601
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=132
2018-02-07 09:21:03 +00:00
Ismail Dönmez
ccf0d326b0 - Add psaux-flex.patch to fix a regression in Type1 rendering
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=130
2018-01-10 10:35:08 +00:00
Ismail Dönmez
44ebe63372 - Update to version 2.9
* 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
2018-01-09 11:42:34 +00:00
Ismail Dönmez
b674d200e4 - Update to version 2.8.1
* 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
2017-09-18 09:22:11 +00:00
OBS User mrdocs
4ccf7639a9 Accepting request 494888 from home:namtrac:branches:M17N
- 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
2017-05-15 20:43:05 +00:00
Hrvoje Senjan
99472122cb Accepting request 448387 from home:namtrac:branches:M17N
- 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
2017-01-01 14:34:47 +00:00
Hrvoje Senjan
3ab4410fe2 Accepting request 426182 from home:develop7:branches:M17N
update to version 2.7

also removed freetype2-subpixel.patch in favor of newly introduced FREETYPE_PROPERTIES environment variable

OBS-URL: https://build.opensuse.org/request/show/426182
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=120
2016-09-10 13:44:27 +00:00
Marguerite Su
6f63320a17 Accepting request 408213 from home:dimstar:Factory
Update to 2.6.5 - addresses regression of 2.6.4 (like gd test suite failure)

OBS-URL: https://build.opensuse.org/request/show/408213
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=118
2016-07-13 07:45:41 +00:00
Fridrich Strba
7a71daeea3 Accepting request 407235 from home:dimstar:branches:M17N
- 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
2016-07-08 09:10:43 +00:00
Fridrich Strba
bd693d8b5f Accepting request 380640 from home:namtrac:branches:M17N
- 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
2016-03-28 18:21:15 +00:00
Fuminobu Takeyama
c1ef358efb Accepting request 346714 from home:namtrac:branches:M17N
- 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
2015-11-29 13:52:35 +00:00
Hrvoje Senjan
83509fc618 Accepting request 336413 from home:TheIndifferent:branches:M17N
Updating to 2.6.1, refreshing the patches.

OBS-URL: https://build.opensuse.org/request/show/336413
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=109
2015-10-04 21:55:30 +00:00
Marguerite Su
c592064690 Accepting request 330451 from home:Zaitor
Fix cut off fonts that appear in some cases. Patch based on git commit upstream.

OBS-URL: https://build.opensuse.org/request/show/330451
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=107
2015-09-11 06:04:59 +00:00
Fridrich Strba
c3433cdf14 Accepting request 311559 from home:namtrac:bugfix
- 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
2015-06-11 09:14:56 +00:00
Fridrich Strba
af0a819369 Reverting the harfbuzz-related changes since they create a huge mess
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=102
2015-05-19 06:47:10 +00:00
Fridrich Strba
1374afeaba Accepting request 305541 from home:fstrba:freetype2
Try to make the boostrap package uninstallable for common mortal

OBS-URL: https://build.opensuse.org/request/show/305541
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=101
2015-05-06 08:09:33 +00:00
Fridrich Strba
0cd2947900 Accepting request 305510 from home:fstrba:freetype2
Trying again a freetype2-enabled harfbuzz

OBS-URL: https://build.opensuse.org/request/show/305510
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=100
2015-05-06 00:55:31 +00:00
Fridrich Strba
cece4c69df Accepting request 298497 from home:namtrac:branches:M17N
- Enable harfbuzz for only suse_version > 1320. Dependency is
  not available on older releases.

OBS-URL: https://build.opensuse.org/request/show/298497
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=97
2015-04-22 09:22:16 +00:00