Behdad Esfahbod [Fri, 29 Mar 2019 04:26:50 +0000 (21:26 -0700)]
Merge branch 'master' into iter
Behdad Esfahbod [Fri, 29 Mar 2019 04:21:26 +0000 (21:21 -0700)]
2.4.0
Behdad Esfahbod [Fri, 29 Mar 2019 04:00:58 +0000 (21:00 -0700)]
Use internal bsearch() for language tags
Fixes https://github.com/harfbuzz/harfbuzz/pull/1639
Behdad Esfahbod [Fri, 29 Mar 2019 03:50:04 +0000 (20:50 -0700)]
[indic] Add back medial-consonant to grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1592
Behdad Esfahbod [Fri, 29 Mar 2019 03:23:12 +0000 (20:23 -0700)]
[khmer] Add trailing Coeng to syllable grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1541
Ebrahim Byagowi [Thu, 28 Mar 2019 23:57:56 +0000 (16:57 -0700)]
[ci] Tweak macos and psvita bots (#1638)
* Add --with-graphite2 to macOS
* Add a dummy ragel script for psvita
Ebrahim Byagowi [Thu, 28 Mar 2019 22:42:45 +0000 (15:42 -0700)]
[ci] Use only CircleCI for macOS (#1637)
Behdad Esfahbod [Thu, 28 Mar 2019 20:44:38 +0000 (13:44 -0700)]
Fix shell syntax error
Fixes https://github.com/harfbuzz/harfbuzz/issues/1612
Behdad Esfahbod [Thu, 28 Mar 2019 18:11:52 +0000 (11:11 -0700)]
Comment
punchcutter [Thu, 28 Mar 2019 06:12:58 +0000 (23:12 -0700)]
Override USE category for Grantha and Tirhuta visargas to allow marks
Egor Pugin [Thu, 28 Mar 2019 16:06:12 +0000 (19:06 +0300)]
Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
Ebrahim Byagowi [Wed, 27 Mar 2019 12:08:39 +0000 (16:38 +0430)]
[ci] remove ragel from psvita compile bot
Ebrahim Byagowi [Wed, 27 Mar 2019 11:51:47 +0000 (16:21 +0430)]
[ci] Don't install ragel on cmake build bot images
It is not needed anyway
Behdad Esfahbod [Tue, 26 Mar 2019 23:18:03 +0000 (16:18 -0700)]
Use class templates for Null objects
This allows partial-instantiating custom Null object for template Lookup<T>.
Before, this had to be handcoded per instantiation. Apparently I missed
adding one for AAT::ankr.lookupTable, so it was getting the wrong (generic)
null for Lookup object, which is wrong and unsafe.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=944346
Behdad Esfahbod [Tue, 26 Mar 2019 23:17:45 +0000 (16:17 -0700)]
[aat] Add missing check to ankr table
Isn't absolutely needed. But helps.
Behdad Esfahbod [Mon, 25 Mar 2019 22:15:37 +0000 (15:15 -0700)]
[docs] Update
Behdad Esfahbod [Mon, 25 Mar 2019 22:08:14 +0000 (15:08 -0700)]
Update ChangeLog generation
Let's see if I can make a release on Mac...
Qunxin Liu [Tue, 26 Mar 2019 17:37:24 +0000 (10:37 -0700)]
completely remove lines that are commented out
Qunxin Liu [Tue, 26 Mar 2019 16:15:56 +0000 (09:15 -0700)]
update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map()
so they don't use deprecated variable
Qunxin Liu [Tue, 26 Mar 2019 02:59:37 +0000 (19:59 -0700)]
try to remove deprecated variable from struct definition
Michiharu Ariza [Fri, 15 Mar 2019 20:46:25 +0000 (13:46 -0700)]
cff2 subset fuzzer issues (#1619)
* add check to FDArray::serialize
* add test files
* fix off by one
Ebrahim Byagowi [Thu, 14 Mar 2019 23:49:42 +0000 (16:49 -0700)]
Allow zero length ranges in sanitization (#1617)
Fixes fvar table sanitization where there are no named instance
by allowing zero length ranges starting from Null() address.
Fixes #1607
Khaled Hosny [Thu, 14 Mar 2019 19:41:25 +0000 (21:41 +0200)]
[ci] Cache FreeType build on Travis
David Corbett [Tue, 12 Mar 2019 23:30:47 +0000 (19:30 -0400)]
Categorize U+09FC as Consonant_Placeholder
Khaled Hosny [Wed, 13 Mar 2019 11:21:12 +0000 (13:21 +0200)]
[ci] Simplify and fix Travis CI macOS build
Behdad Esfahbod [Tue, 12 Mar 2019 01:09:51 +0000 (18:09 -0700)]
Remove redundant hb_ot_layout_lookup_would_substitute_fast
Khaled Hosny [Mon, 11 Mar 2019 23:09:27 +0000 (01:09 +0200)]
[doc] Add placeholder since version for new flag
David Corbett [Fri, 8 Mar 2019 14:46:48 +0000 (09:46 -0500)]
Remove obsolete overrides from Indic/USE scripts
Eric Muller [Tue, 12 Feb 2019 19:41:16 +0000 (11:41 -0800)]
Update generation code for hb-ot-shape-complex-vowel-constraints.cc. Remove 'unlikely'
Eric Muller [Sun, 10 Feb 2019 12:31:41 +0000 (04:31 -0800)]
Fix coding style.
Eric Muller [Sat, 9 Feb 2019 10:55:27 +0000 (02:55 -0800)]
Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences.
Current behavior unchanged if this flag is not set (and it isn't by default).
Ebrahim Byagowi [Thu, 7 Mar 2019 22:03:41 +0000 (01:33 +0330)]
Add a macOS 10.14.3 fonts tests (#1608)
David Corbett [Wed, 6 Mar 2019 17:37:25 +0000 (12:37 -0500)]
Update to Unicode 12.0.0
Adrian Wong [Wed, 13 Feb 2019 10:04:46 +0000 (21:04 +1100)]
[indic] Remove superfluous ZWNJ check in final reorder of pre-base matras
Stephan Bergmann [Tue, 5 Mar 2019 16:18:57 +0000 (17:18 +0100)]
Fix hb_atomic_* variants based on C++11 atomics
I stumbled over this when trying to upgrade the version of HarfBuzz used by
LibreOffice to 3.2.1 (see <https://gerrit.libreoffice.org/plugins/gitiles/core/
+/
b7ddc514bff9bdf682abae537f990aa01dc2c0fb%5E!/> "Upgrade to latest
HarfBuzz 2.3.1"), where building with MSVC 2017 failed like
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2440: 'reinterpret_cast': cannot convert from 'const int *' to 'std::atomic<int> *'
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): note: Conversion loses qualifiers
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2227: left of '->load' must point to class/struct/union/generic type
(see <https://ci.libreoffice.org/job/gerrit_windows/29916/>).
I added all the necessary "const" to make building of HarfBuzz 2.3.1 with
MSVC 2017 succeed for me. There may be more missing at least conceptually.
Martin Hosken [Mon, 4 Mar 2019 04:12:21 +0000 (11:12 +0700)]
Fix offset drift in graphite integration
Ebrahim Byagowi [Fri, 1 Mar 2019 23:54:49 +0000 (03:24 +0330)]
Minor, remove .editorconfig hack
As vscode is going to support it soon
Garret Rieger [Fri, 1 Mar 2019 01:25:05 +0000 (17:25 -0800)]
Make hb_subset_input_glyph_set () actually do something.
Ebrahim Byagowi [Fri, 22 Feb 2019 09:43:42 +0000 (13:13 +0330)]
[dwrite] hb_directwrite_face_create, a new API
It makes a hb_face_t from IDWriteFontFace, useful when using
DirectWrite facilities for font selection, loading and rendering
but using harfbuzz for shaping.
David Corbett [Tue, 19 Feb 2019 03:30:40 +0000 (22:30 -0500)]
Fix or document unsupported font-feature-settings
Joël R. Langlois [Mon, 25 Feb 2019 20:26:58 +0000 (15:26 -0500)]
Remove Forcing Diagnostic Colours from CMakeLists.txt (#1597)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1596
Michiharu Ariza [Wed, 20 Feb 2019 21:23:12 +0000 (13:23 -0800)]
minor edit
Michiharu Ariza [Wed, 20 Feb 2019 20:43:18 +0000 (12:43 -0800)]
fix crash in hb_map_t::clear()
in case called immediately after init()
Khaled Hosny [Tue, 19 Feb 2019 19:14:11 +0000 (21:14 +0200)]
[doc] Move hb_variation_t to hb-common section
Khaled Hosny [Tue, 19 Feb 2019 17:27:28 +0000 (19:27 +0200)]
[doc] Move feature_t and its function to hb-common
It is rather confusing to have script, language etc, in hb-common section
while feature is in hb-shape section. I keep looking for it in hb-common
section then using the API index because I can’t find it there.
Evgeniy Reizner [Tue, 19 Feb 2019 16:35:00 +0000 (18:35 +0200)]
Typo (#1588)
Fixed a small typo.
[skip ci]
Khaled Hosny [Tue, 19 Feb 2019 00:23:58 +0000 (02:23 +0200)]
[doc] Document hb_feature_from_string() syntax
Copied and edited from the util option documentation. The docbook table
syntax is too verbose, but that is the best I can come up with.
Behdad Esfahbod [Sat, 16 Feb 2019 00:58:43 +0000 (16:58 -0800)]
WHitespace
Behdad Esfahbod [Sat, 16 Feb 2019 00:55:08 +0000 (16:55 -0800)]
[iter] Add hb_all, hb_any, hb_none
Behdad Esfahbod [Sat, 16 Feb 2019 00:11:32 +0000 (16:11 -0800)]
[iter] Make hb_iter() into function-object
Behdad Esfahbod [Sat, 16 Feb 2019 00:09:29 +0000 (16:09 -0800)]
[iter] Make hb_map into function-object
Behdad Esfahbod [Sat, 16 Feb 2019 00:06:03 +0000 (16:06 -0800)]
Merge remote-tracking branch 'origin/master' into iter
Behdad Esfahbod [Sat, 16 Feb 2019 00:05:36 +0000 (16:05 -0800)]
[iter] Add hb_enumerate() and use it
Behdad Esfahbod [Fri, 15 Feb 2019 23:54:51 +0000 (15:54 -0800)]
Merge pull request #1557 from harfbuzz/cff-more-arrayof-fixes
CFF more arrayof fixes
Behdad Esfahbod [Fri, 15 Feb 2019 23:54:13 +0000 (15:54 -0800)]
Merge pull request #1583 from harfbuzz/cff-retain-gids
[subset] Implement --retain-gids with CFF/CFF2
Michiharu Ariza [Fri, 15 Feb 2019 22:48:10 +0000 (14:48 -0800)]
Merge branch 'master' into cff-more-arrayof-fixes
Michiharu Ariza [Fri, 15 Feb 2019 22:47:38 +0000 (14:47 -0800)]
Merge branch 'master' into cff-retain-gids
Martin [Fri, 15 Feb 2019 18:23:46 +0000 (19:23 +0100)]
Support xlclang++ on AIX. (#1584)
Behdad Esfahbod [Fri, 15 Feb 2019 04:46:13 +0000 (20:46 -0800)]
[test] Minor
Behdad Esfahbod [Fri, 15 Feb 2019 04:15:07 +0000 (20:15 -0800)]
[algs] Test pair more
Behdad Esfahbod [Fri, 15 Feb 2019 03:37:57 +0000 (19:37 -0800)]
[algs] Use universal references for hb_pair()
Such that it carries lvalues inside.
Behdad Esfahbod [Fri, 15 Feb 2019 01:10:04 +0000 (17:10 -0800)]
[iter] Use more
Behdad Esfahbod [Thu, 14 Feb 2019 23:43:20 +0000 (15:43 -0800)]
[iter] Use in more places
Behdad Esfahbod [Thu, 14 Feb 2019 23:14:37 +0000 (15:14 -0800)]
[iter] Use in a couple more intersects() calls
Behdad Esfahbod [Thu, 14 Feb 2019 23:13:16 +0000 (15:13 -0800)]
[iter] Use in a couple more closure() calls
Behdad Esfahbod [Thu, 14 Feb 2019 22:04:05 +0000 (14:04 -0800)]
[iter] Add hb_drain
Behdad Esfahbod [Thu, 14 Feb 2019 21:45:52 +0000 (13:45 -0800)]
[iter] A couple more hb_apply() + lambda uses
Behdad Esfahbod [Thu, 14 Feb 2019 21:16:33 +0000 (13:16 -0800)]
[iter] Use hb_apply() with lambda functions in a few places
Behdad Esfahbod [Thu, 14 Feb 2019 19:53:40 +0000 (11:53 -0800)]
[iter] Remove excess use of universal references
Every time I have to study these to understand why a change is right..
Behdad Esfahbod [Thu, 14 Feb 2019 19:40:22 +0000 (11:40 -0800)]
[iter] Add hb_apply()
Behdad Esfahbod [Thu, 14 Feb 2019 19:34:55 +0000 (11:34 -0800)]
Merge branch 'master' into iter
Behdad Esfahbod [Thu, 14 Feb 2019 19:34:28 +0000 (11:34 -0800)]
[CI] Install more packages
Wish there was a way to streamline this :(.
Behdad Esfahbod [Thu, 14 Feb 2019 19:10:13 +0000 (11:10 -0800)]
[iter] Make hb_filter() a function-object
Behdad Esfahbod [Thu, 14 Feb 2019 19:07:12 +0000 (11:07 -0800)]
[iter] Make hb_zip() a function-object
Behdad Esfahbod [Thu, 14 Feb 2019 19:03:29 +0000 (11:03 -0800)]
[iter] Accept pointers to hb_sink()
Behdad Esfahbod [Thu, 14 Feb 2019 19:00:10 +0000 (11:00 -0800)]
[iter] Make hb_sink function-object
Behdad Esfahbod [Thu, 14 Feb 2019 18:51:47 +0000 (10:51 -0800)]
[iter] Back to dagger formatting for pipelines
Behdad Esfahbod [Thu, 14 Feb 2019 18:51:02 +0000 (10:51 -0800)]
[iter] Accept iterator, not iterable, in hb_sink()()
Behdad Esfahbod [Thu, 14 Feb 2019 18:49:31 +0000 (10:49 -0800)]
[iter] Accept iterator, not iterable, in hb_filter()()
Behdad Esfahbod [Thu, 14 Feb 2019 18:48:20 +0000 (10:48 -0800)]
[iter] Accept iterator, not iterable, in hb_map()()
Behdad Esfahbod [Thu, 14 Feb 2019 18:40:05 +0000 (10:40 -0800)]
[iter] Use hb_sink()
Behdad Esfahbod [Thu, 14 Feb 2019 18:39:58 +0000 (10:39 -0800)]
[iter] Add hb_sink()
Michiharu Ariza [Thu, 14 Feb 2019 18:09:19 +0000 (10:09 -0800)]
Merge branch 'master' into cff-more-arrayof-fixes
Michiharu Ariza [Thu, 14 Feb 2019 18:08:16 +0000 (10:08 -0800)]
Merge branch 'master' into cff-retain-gids
Behdad Esfahbod [Thu, 14 Feb 2019 07:54:36 +0000 (23:54 -0800)]
[CI] Disable cmake-oracledeveloperstudio bot
Weird error:
"/root/project/src/hb-iter.hh", line 277: Error: Type name expected instead of "decltype()".
"/root/project/src/hb-iter.hh", line 278: Error: Invalid type while substituting into Iter::item_t.
"/root/project/src/hb-iter.hh", line 317: Error: Type name expected instead of "decltype()".
"/root/project/src/hb-iter.hh", line 318: Error: Invalid type while substituting into Iter::item_t.
Behdad Esfahbod [Thu, 14 Feb 2019 07:46:43 +0000 (23:46 -0800)]
Merge branch 'master' into iter
Behdad Esfahbod [Thu, 14 Feb 2019 07:46:17 +0000 (23:46 -0800)]
[CI] Install wget on clang-O3-O0 bot
Behdad Esfahbod [Thu, 14 Feb 2019 07:30:21 +0000 (23:30 -0800)]
[CI] Remove macos-notest-ios bot
Not sure what ancient compiler it is (gcc 4.2?), but didn't like hb_zip SFINAE
apparently:
In file included from /Users/distiller/project/src/hb-aat-layout.cc:28:
In file included from /Users/distiller/project/src/hb-open-type.hh:32:
In file included from /Users/distiller/project/src/hb.hh:642:
/Users/distiller/project/src/hb-iter.hh:364:1: note: candidate template ignored: substitution failure [with A = OT::Coverage, B = OT::OffsetArrayOf<OT::ChainRuleSet>]: non-type template argument does not refer to any declaration
hb_zip (const A& a, const B &b)
^
In file included from /Users/distiller/project/src/hb-aat-layout.cc:37:
In file included from /Users/distiller/project/src/hb-aat-layout-kerx-table.hh:31:
In file included from /Users/distiller/project/src/hb-kern.hh:32:
/Users/distiller/project/src/hb-ot-layout-gpos-table.hh:725:20: error: no matching function for call to 'hb_zip'
for (auto it = hb_zip (this+coverage, pairSet)
^~~~~~
Not going to try to appease.
Behdad Esfahbod [Thu, 14 Feb 2019 06:08:54 +0000 (22:08 -0800)]
Merge branch 'master' into iter
Ebrahim Byagowi [Wed, 13 Feb 2019 20:57:01 +0000 (00:27 +0330)]
Minor, use a meaningful naming in template parameter (#1582)
Michiharu Ariza [Wed, 13 Feb 2019 19:25:00 +0000 (11:25 -0800)]
Merge branch 'master' into cff-more-arrayof-fixes
Michiharu Ariza [Wed, 13 Feb 2019 19:24:38 +0000 (11:24 -0800)]
Merge branch 'master' into cff-retain-gids
Ebrahim Byagowi [Wed, 13 Feb 2019 09:28:01 +0000 (12:58 +0330)]
Fix djgpp complains by tweaking templates (#1579)
For some reasons djgpp doesn't understand "unsigned int" can be same
with one of uint*_t anyway so lets do that for it explicitly.
Just to note, our CI's djgpp is based GCC 7.2.0 and isn't old.
Michiharu Ariza [Tue, 12 Feb 2019 23:10:59 +0000 (15:10 -0800)]
Merge branch 'cff-retain-gids' of https://github.com/harfbuzz/harfbuzz into cff-retain-gids
Michiharu Ariza [Tue, 12 Feb 2019 23:10:50 +0000 (15:10 -0800)]
Merge branch 'master' into cff-retain-gids
Michiharu Ariza [Tue, 12 Feb 2019 23:10:43 +0000 (15:10 -0800)]
tweaked --desubroutinize to remove hintmask only subrs
Michiharu Ariza [Mon, 11 Feb 2019 22:25:21 +0000 (14:25 -0800)]
Merge branch 'master' into cff-retain-gids
Michiharu Ariza [Mon, 11 Feb 2019 22:16:25 +0000 (14:16 -0800)]
Merge branch 'master' into cff-more-arrayof-fixes
Ken [Mon, 11 Feb 2019 07:46:05 +0000 (23:46 -0800)]
hb-coretext.cc: remove TARGET_OS_MAC from test (#1578)
it is always true when building on APPLE systems
and this file only builds on APPLE systems
Ebrahim Byagowi [Sat, 9 Feb 2019 21:38:05 +0000 (01:08 +0330)]
[ci] Install 'base-devel' on ArchLinux CI bot