Commit Graph

8455 Commits

Author SHA1 Message Date
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
Michiharu Ariza 6ee71166b0 add api tests for subset gvar & HVAR; bug fixes 2019-03-29 18:26:20 -07:00
Michiharu Ariza 6e066464f0 replaced tt var api test with a composite glyph
for better coverage
2019-03-29 18:26:20 -07:00
Michiharu Ariza 84d0af456b move rounding advance width to glyf 2019-03-29 18:26:20 -07:00
Michiharu Ariza 10f264da75 fix empty glyf's advance width 2019-03-29 18:26:20 -07:00
Michiharu Ariza 511518c759 add api test for tt var advance widths
stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed
2019-03-29 18:26:20 -07:00
Michiharu Ariza bee8d86671 fix build 2019-03-29 18:26:20 -07:00
Michiharu Ariza f74712a4e0 fix composite glyf extents 2019-03-29 18:26:20 -07:00
Michiharu Ariza cd817e7955 fix unpack_points 2019-03-29 18:26:20 -07:00
Michiharu Ariza a35e3dfc77 fix infer_delta
code cleanup
2019-03-29 18:26:20 -07:00
Michiharu Ariza 4f4fbb1d5e added explicit casts to metrics 2019-03-29 18:25:52 -07:00
Michiharu Ariza c302ec6d94 moved most of var code from gvar to glyf
initialize phantom points from metrics from htmx/vmtx & glyf bbox before execution
added source file hb-ot-hmtx-table.cc to call glyf from hmtx/vmtx indirectly & temporarily, workaround a cyclic reference between the two
2019-03-29 18:25:52 -07:00
Michiharu Ariza bd040a4354 add components transformation 2019-03-29 18:25:35 -07:00
Michiharu Ariza 139e87b56c fix tt var extents & add test 2019-03-29 18:25:35 -07:00
Michiharu Ariza 9584b090bb cff2 subset fuzzer issues (#1619)
* add check to FDArray::serialize

* add test files

* fix off by one
2019-03-29 18:25:21 -07:00
Michiharu Ariza 161e61fc3b minor edits 2019-03-29 18:25:06 -07:00
Michiharu Ariza ebbfe36510 calculate VF advance widths from gvar & glyf 2019-03-29 18:24:24 -07:00
Michiharu Ariza 9690461a91 Added hb-ot-var-gvar-table.hh
implemented sanitize()
placeholder subset()
some code cleanup
2019-03-29 18:22:32 -07:00
Michiharu Ariza 9168b32a1b renamed hb_map2_t to hb_bimap_h in its own .hh 2019-03-29 18:21:50 -07:00
Michiharu Ariza d102c7a652 unuse set in hb_map2_t impl
also some code cleanup
2019-03-29 18:21:15 -07:00