Commit Graph

32 Commits

Author SHA1 Message Date
Andre McCurdy 97a3322229 harfbuzz: update 1.2.1 -> 1.2.3
Overview of changes leading to 1.2.3
Thursday, February 25, 2016
====================================

- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
  due to bug in glyph class of ASCII double-quote character.  This should
  address "regression" introduced in 1.2.0 when we switched mark zeroing
  in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
  This fourth release in a week should finally stablize things...

- hb-ot-font's get_glyph() implementation saw some optimizations.  Though,
  might be really hard to measure in real-world situations.

- Also, two rather small API changes:

We now disable some time-consuming internal bookkeeping if built with NDEBUG
defined.  This is a first time that we use NDEBUG to disable debug code.  If
there exist production systems that do NOT want to enable NDEBUG, please let
me know and I'll add HB_NDEBUG.

Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()

New API:
- hb_font_get_nominal_glyph_func_t
- hb_font_get_variation_glyph_func_t
- hb_font_funcs_set_nominal_glyph_func()
- hb_font_funcs_set_variation_glyph_func()
- hb_font_get_nominal_glyph()
- hb_font_get_variation_glyph()

Deprecated API:
- hb_font_get_glyph_func_t
- hb_font_funcs_set_glyph_func()

Clients that implement their own font-funcs are encouraged to replace
their get_glyph() implementation with a get_nominal_glyph() and
get_variation_glyph() pair.  The variation version can assume that
variation_selector argument is not zero.  Old (deprecated) functions
will continue working indefinitely using internal gymnastics; it is
just more efficient to use the new functions.

Overview of changes leading to 1.2.2
Wednesday, February 24, 2016
====================================

- Fix regression with mark positioning with fonts that have
  non-zero mark advances.  This was introduced in 1.2.0 while
  trying to make mark and cursive attachments to work together.
  I have partially reverted that, so this version is much more
  like what we had before.  All clients who updated to 1.2.0
  should update to this version.

(From OE-Core rev: bec8c8dc4d22d1a63c5f0ac1e2c2736c4e28ad80)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Andre McCurdy 07a3c710b2 harfbuzz: add explicit dependency on fontconfig
The fontconfig dependency was previously met indirectly (via cairo).

(From OE-Core rev: 0b8f54373698f4ae51f42c417f2cae566a3e9ed0)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Andre McCurdy 73cc8b8726 harfbuzz: update 1.2.0 -> 1.2.1
Overview of changes leading to 1.2.1
Friday, February 23, 2016
====================================

- CoreText: Fix bug with wrong scale if font scale was changed later.
  https://github.com/libass/libass/issues/212
- CoreText: Drastically speed up font initialization.
- CoreText: Fix tiny leak.
- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
  https://github.com/behdad/harfbuzz/issues/217
- Add test/shaping/README.md about how to add tests to the suite.

(From OE-Core rev: 6dc27726c9da5104ea27ebf604cab6ef2037034d)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Maxin B. John 44248af173 harfbuzz: update to version 1.2.0
1.1.3 -> 1.2.0

(From OE-Core rev: acfe4c5d1653f355e37a2faf04ee7abd6cbf66ad)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:22 +00:00
Andre McCurdy 7c7c24960f harfbuzz: update 1.1.2 -> 1.1.3
Misc recipe formatting cleanup, plus version update as described below.

  http://cgit.freedesktop.org/harfbuzz/tree/NEWS

Overview of changes leading to 1.1.3
Monday, January 11, 2016
====================================

- Ported Indic shaper to Unicode 8.0 data.
- Universal Shaping Engine fixes.
- Speed up CoreText shaper when font fallback happens in CoreText.
- Documentation improvements, thanks to Khaled Hosny.
- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
- Misc bug fixes.
- New API:

  * Font extents:
      hb_font_extents_t
      hb_font_get_font_extents_func_t
      hb_font_get_font_h_extents_func_t
      hb_font_get_font_v_extents_func_t
      hb_font_funcs_set_font_h_extents_func
      hb_font_funcs_set_font_v_extents_func
      hb_font_get_h_extents
      hb_font_get_v_extents
      hb_font_get_extents_for_direction

  * Buffer message (aka debug):
      hb_buffer_message_func_t
      hb_buffer_set_message_func()
    Actual message protocol to be fleshed out later.

(From OE-Core rev: df2c1ea68eb21416ba058af4e33111daa1b604bd)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15 11:54:48 +00:00
Ross Burton 455ff32426 meta: more removals of redunant FILES_${PN}-dbg
In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

(From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16 11:56:30 +00:00
Andre McCurdy 21ba42bc3b harfbuzz: update 1.1.0 -> 1.1.2
http://cgit.freedesktop.org/harfbuzz/tree/NEWS

Overview of changes leading to 1.1.2
Wednesday, November 26, 2015
====================================

- Fix badly-broken fallback shaper that affected terminology.
  https://github.com/behdad/harfbuzz/issues/187
- Fix y_scaling in Graphite shaper.
- API changes:
  * An unset glyph_h_origin() function in font-funcs now (sensibly)
    implies horizontal origin at 0,0.  Ie, the nil callback returns
    true instead of false.  As such, implementations that have a
    glyph_h_origin() that simply returns true, can remove that function
    with HarfBuzz >= 1.1.2.  This results in a tiny speedup.

Overview of changes leading to 1.1.1
Wednesday, November 24, 2015
====================================

- Build fixes, specially for hb-coretext.

(From OE-Core rev: e979cc5816c806ac995365b9d96d34a1ea59342a)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:48 +00:00
Andre McCurdy b1774f422a harfbuzz: update 1.0.6 -> 1.1.0
http://cgit.freedesktop.org/harfbuzz/tree/NEWS

Overview of changes leading to 1.1.0
Wednesday, November 18, 2015
====================================

- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
  https://github.com/behdad/harfbuzz/issues/141
- Disable use of decompose_compatibility() callback.
- Implement "shaping" of various Unicode space characters, even
  if the font does not support them.
  https://github.com/behdad/harfbuzz/issues/153
- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
  U+2010 HYPHEN.
- Changes resulting from libFuzzer continuous fuzzing:
  * Reject font tables that need more than 8 edits,
  * Bound buffer growth during shaping to 32x,
  * Fix assertions and other issues at OOM / buffer max-growth.
- Misc fixes and optimizations.
- API changes:
  * All fonts created with hb_font_create() now inherit from
    (ie. have parent) hb_font_get_empty().

(From OE-Core rev: ed76a9e36edc054cbd87b6d1cab0202526959868)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:11 +00:00
Maxin B. John b9f87ed2d7 harfbuzz: update to 1.0.6
1.0.2 -> 1.0.6

(From OE-Core rev: 1ca357c1a1e920e260d3d61863d3c6efa01f37b4)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-25 08:08:08 +00:00
Cristian Iorga 491e86aafe harfbuzz: upgrade to 1.0.2
Bugfix release.

(From OE-Core rev: 71dbd7cc2333fdf830f0f483774faeadbb0e2236)

(From OE-Core rev: 92e4198575c84f932183e3b1a59c62cfc5f59b38)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:35:49 +01:00
Alexander Kanavin 2b46af7ad0 harfbuzz: enable icu feature
This is required to build latest webkitgtk

(From OE-Core rev: 3a7d80e50a6683339a8940e12a3c10efd2586518)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24 23:46:58 +01:00
Cristian Iorga eeb412d01d harfbuzz: upgrade to 1.0.1
- Update to Unicode 8.0;
- Implement Universal Shaping Engine;
- Bug fixes.

(From OE-Core rev: 27d068d05239c26a3848eb101571acab54635e37)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-27 23:29:16 +01:00
Cristian Iorga 450dd5a98e harfbuzz: upgrade to 0.9.41
Fix hb-coretext with trailing whitespace in right-to-left.
New API: hb_buffer_reverse_range().
Allow implementing atomic ops in config.h.
Fix hb_language_t in language bindings.
Misc fixes.

(From OE-Core rev: 64733935306d6b484db40b15e6e4938fbabf1d65)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-12 22:55:45 +01:00
Cristian Iorga c7f01ce273 harfbuzz: upgrade to 0.9.40
- Optimizations and refactoring;
- Bug fixes.

(From OE-Core rev: 20de4a069c7226f60becafd14b88a8439e4da1c2)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-29 10:17:15 +01:00
Cristian Iorga c22ba2d36a harfbuzz: upgrade to 0.9.38
(From OE-Core rev: 99eacbfd677e6c7637d3183117591e098bbe0dde)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14 08:40:59 +00:00
Ross Burton e81b8aba2b harfbuzz: upgrade to 0.9.37
(From OE-Core rev: 72ad7edb8c06af5b4b06e6877fc6ab55f4404ec4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-31 08:14:24 +00:00
Cristian Iorga ddf2b0e578 harfbuzz: upgrade to 0.9.35
Bug fixes and minor changes/cleanups.

(From OE-Core rev: 08b4b19b15a2d561254750247f00b0e7a2459994)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28 15:12:42 +01:00
Cristian Iorga 135ad148f9 harfbuzz: upgrade to 0.9.29
Mostly a bugfix release.

(From OE-Core rev: 36d6985faf76b1228d4dafb5bf994b00004d1d77)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 19:54:11 +01:00
Cristian Iorga 5eb03b6773 harfbuzz: upgrade to 0.9.28
(From OE-Core rev: 8462728aef78debaa15e33121b3ae733049a96ab)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-21 09:09:03 +01:00
Cristian Iorga 9f0ef561d0 harfbuzz: upgrade to 0.9.27
(From OE-Core rev: 76447043a36472b7f673b423d584199d9d3dec8b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25 17:19:19 +01:00
Cristian Iorga bfed4c0ab2 harfbuzz: upgrade to 0.9.26
switched to ${BP} variable.

(From OE-Core rev: 7d48d7826887bf32a751196a108660bcdd2d87eb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-13 11:41:21 +00:00
Phil Blundell 8069a883bd harfbuzz: Move ancillary binaries to ${PN}-bin
The binaries:

-rwxr-xr-x root/root     21956 2014-01-09 19:39 ./bin/hb-shape
-rwxr-xr-x root/root     21504 2014-01-09 19:39 ./bin/hb-ot-shape-closure
-rwxr-xr-x root/root     36520 2014-01-09 19:39 ./bin/hb-view

are not generally useful on target systems.  Also, their presence in the
same binary package as libharfbuzz.so defeats the debian package autonamer.
Inherit lib_package to move these to ${PN}-bin.

(From OE-Core rev: d716f63d5785fa9239497d25bffc5035a9e58d28)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:58 +00:00
Saul Wold 0a57d5b95c harfbuzz: Allow PACKAGECONFIG to be overridden
(From OE-Core rev: ca35307b988367f18c3039c1d6c2bc400965a23f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-20 12:26:31 +00:00
Cristian Iorga 0cfc4ea7c0 harfbuzz: upgrade to 0.9.25
(From OE-Core rev: 13977aef1734af155d9f1b9cfa24e1d16614cb56)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-10 17:42:42 +00:00
Richard Purdie bbbd6fc1d1 harfbuzz: Add PACKAGECONFIG for icu
harfbuzz can be built without icu. We don't need harfbuzz-icu for any
default OE-Core configuration so default to icu being disabled for
performance improvements.

(From OE-Core rev: d61230ac70158dd9a33fcfac4eea768d21ccc61d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-26 23:01:32 +00:00
Marko Lindqvist 31d041bdb1 harfbuzz: upgrade to upstream version 0.9.22
Code that was under ICU license has been removed.

(From OE-Core rev: 12e2e82a7cfcbcb989b5254b2148320db69a820d)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-26 16:08:41 +01:00
Mihai Prica 12d4ee1af7 harfbuzz: upgrade to v0.9.19
Remove the disable_graphite.patch because the --without-graphite2
configure option can be used instead.

Split package into harfbuzz and harfbuzz-icu. The ICU support is
now built into a separate library that will be shipped in a
different package.

(From OE-Core rev: c93d147e0889ac91a01e3570f818624f68b3c8e8)

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26 11:47:18 +01:00
Marko Lindqvist 1b2e70ca8a harfbuzz: update to upstream version 0.9.17
avoid_double_version_h.patch removed as the problems seems
to be fixed different way in upstream, and this patch was
now removing necessary header install.

(From OE-Core rev: 7827e27ec4cd67d3821839209a29e4649e864b93)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:07:54 +01:00
Maxin B. John 410d1e049a harfbuzz: update the license information
harfbuzz is using the 'Modern Variants' of MIT License:
https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Modern_Variants

We can update the LICENSE as 'MIT & ICU'.

Fixes this warning:
WARNING: harfbuzz: No generic license file exists for: Old-MIT in any provider
WARNING: harfbuzz: No generic license file exists for: UCDN in any provider
WARNING: harfbuzz: No generic license file exists for: HarfBuzz-old in any provider

(From OE-Core rev: 2ecb3b99373e17d93f50142f2da3f786c83c7eb2)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19 13:29:08 +00:00
Marko Lindqvist 3a154fa0ad harfbuzz: update to upstream version 0.9.12
Fixed license declaration to have AND between all the licenses
instead of OR.

(From OE-Core rev: 0a90fb2faebbb7848dbd5a23b37490866b397f5f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-15 12:17:34 +00:00
Marko Lindqvist 33c6c411ea harfbuzz: fix install of version.h
version.h is listed both in pkginclude_HEADERS (via $HBHEADERS) and
nodist_pkginclude_HEADERS. This double listing is likely cause of
the make install error:
/usr/bin/install: cannot create regular file `.../harfbuzz/0.9.10-r0/image/usr/include/harfbuzz/hb-version.h': File exists
Just remove the nodist_pkginclude_HEADERS entry. We're not creating
the tarball, and listing version.h here wouldn't prevent the other
listing from including it to tarball anyway.

(From OE-Core rev: 1489a69cecb1dcc3502a4c24beaea81e6ca6dacc)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-31 12:29:52 +00:00
Marko Lindqvist 9826ea1821 harfbuzz: add recipe, version 0.9.10
OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32
This depends on all of glib-2.0, cairo, and freetype to consistently
provide all backends. Otherwise it would, in typical case, depend
on build order of these packages. HarfBuzz configure would pick those
backends for which dependencies happen to be built before it.
Similarly graphite is consistenly disabled if there ever happens
to be recipe for it.

(From OE-Core rev: 6f5ab158203101db69d11754a77b0fd6fbb23f87)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10 23:43:16 +00:00