Commit Graph

10606 Commits

Author SHA1 Message Date
Behdad Esfahbod 418e9d07e2 Simplify code 2019-03-29 21:57:26 -07:00
Behdad Esfahbod f5ef8a7347 [iter] Port one more function to dagger 2019-03-29 21:57:17 -07:00
Behdad Esfahbod bcab098c8f [iter] Port more code to daggers 2019-03-29 21:49:18 -07:00
Behdad Esfahbod 4c75158e18 [iter] Port two more functions to daggers 2019-03-29 21:46:13 -07:00
Behdad Esfahbod e70ccbe9ed Fix pair signature
Oh well.  Again, who does fully understand what is right???
2019-03-29 21:45:49 -07:00
Behdad Esfahbod 6237b47f0c [iter] Add hb_unzip() 2019-03-29 21:36:49 -07:00
Behdad Esfahbod f1dad91eb3 Whitespace 2019-03-29 21:17:08 -07:00
Behdad Esfahbod 896b31670d [iter] Port two more loops to dagger 2019-03-29 21:16:30 -07:00
Behdad Esfahbod 8e34cb251a [iter] Remove unneeded &&
Next commit needs this.  I never fully get this, sigh.
2019-03-29 21:14:20 -07:00
Behdad Esfahbod 12a4c0441f Whitespace 2019-03-29 21:06:10 -07:00
Behdad Esfahbod 4c38a9f601 Remove hb_assign()
Not needed anymore.  We just use operator= now.
2019-03-29 20:23:07 -07:00
Behdad Esfahbod b986c6a321 [C++11] Remove IntType::set() in favor of operator= 2019-03-29 20:21:21 -07:00
Behdad Esfahbod 58ad357951 [vector] Accept all types in push(...)
Let assignment operator worry about conversion.
2019-03-29 20:05:19 -07:00
Behdad Esfahbod 489faf826c [C++11] Use type aliases for template partial instantiations 2019-03-29 20:01:37 -07:00
Michiharu Ariza 3236623e1f Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-29 18:41:38 -07:00
Michiharu Ariza 435bc7f3e2 Update hb-ot-var-gvar-table.hh 2019-03-29 18:39:30 -07:00
Michiharu Ariza 8fdb8fcf80 fix rebase errors 2019-03-29 18:39:27 -07:00
Michiharu Ariza 1ccb457cbb fix gvar fuzz bug 2019-03-29 18:28:25 -07:00
Behdad Esfahbod 3f84589232 2.4.0 2019-03-29 18:27:21 -07:00
Behdad Esfahbod 282c76d9a0 Use internal bsearch() for language tags
Fixes https://github.com/harfbuzz/harfbuzz/pull/1639
2019-03-29 18:27:21 -07:00
Behdad Esfahbod 3bed03dc6a [indic] Add back medial-consonant to grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1592
2019-03-29 18:27:21 -07:00
Behdad Esfahbod f8803fbace [khmer] Add trailing Coeng to syllable grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1541
2019-03-29 18:27:21 -07:00
Ebrahim Byagowi 93a6a063dc [ci] Tweak macos and psvita bots (#1638)
* Add --with-graphite2 to macOS
* Add a dummy ragel script for psvita
2019-03-29 18:27:21 -07:00
Michiharu Ariza f84342c094 minor 2019-03-29 18:27:21 -07:00
Ebrahim Byagowi 7e8c4585ac [ci] Use only CircleCI for macOS (#1637) 2019-03-29 18:27:21 -07:00
Michiharu Ariza 3e18447c64 fixed a fuzzer bug 2019-03-29 18:27:21 -07:00
Behdad Esfahbod 4774283a2c Fix shell syntax error
Fixes https://github.com/harfbuzz/harfbuzz/issues/1612
2019-03-29 18:27:21 -07:00
Behdad Esfahbod 4b763affa6 Comment 2019-03-29 18:27:21 -07:00
punchcutter d9d6649bf2 Override USE category for Grantha and Tirhuta visargas to allow marks 2019-03-29 18:27:21 -07:00
Egor Pugin 13ae138af3 Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
2019-03-29 18:27:21 -07:00
Michiharu Ariza 53d40426e1 tweaked recursion checks 2019-03-29 18:27:21 -07:00
Ebrahim Byagowi dc07ecbd80 [ci] remove ragel from psvita compile bot 2019-03-29 18:27:21 -07:00
Ebrahim Byagowi dd3624b6d5 [ci] Don't install ragel on cmake build bot images
It is not needed anyway
2019-03-29 18:27:21 -07:00
Michiharu Ariza 4f351754bb add recursion checks 2019-03-29 18:27:21 -07:00
Michiharu Ariza 0008963b28 add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET
some code cleanup
2019-03-29 18:27:21 -07:00
Behdad Esfahbod ea281aa8d0 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
2019-03-29 18:27:21 -07:00
Behdad Esfahbod 1dfc2dfff5 [aat] Add missing check to ankr table
Isn't absolutely needed.  But helps.
2019-03-29 18:27:21 -07:00
Behdad Esfahbod 782961d216 [docs] Update 2019-03-29 18:27:21 -07:00
Behdad Esfahbod d4fb54508d Update ChangeLog generation
Let's see if I can make a release on Mac...
2019-03-29 18:27:21 -07:00
Qunxin Liu 2f97cd7a52 completely remove lines that are commented out 2019-03-29 18:27:21 -07:00
Qunxin Liu e74d646d9e update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map()
so they don't use deprecated variable
2019-03-29 18:27:21 -07:00
Qunxin Liu b12a5daad7 try to remove deprecated variable from struct definition 2019-03-29 18:27:21 -07:00
Michiharu Ariza 9c5d694af2 add HVAR & VVAR advance width api test 2019-03-29 18:27:21 -07:00
Michiharu Ariza ae3db1f4e3 added api test for subset VVAR & bug fix
added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
2019-03-29 18:27:08 -07:00
Michiharu Ariza b3007ec209 regenerated expected full fonts data after fontTools bug 1550 fixed 2019-03-29 18:26:46 -07:00
Michiharu Ariza fe5aa8b36c added TT VF full font test & fixed bugs
updated CFF2 VF api test results too
2019-03-29 18:26:46 -07:00
Michiharu Ariza 2bd2e656f9 update CFF2 test results 2019-03-29 18:26:20 -07:00
Michiharu Ariza 212dcb758c add api test cases for HVAR with index map (and fix) 2019-03-29 18:26:20 -07:00
Michiharu Ariza dc10a7ef60 add gvar & HVAR retain-gids test cases 2019-03-29 18:26:20 -07:00
Michiharu Ariza 43420dfa96 fix test build 2019-03-29 18:26:20 -07:00