Commit Graph

8816 Commits

Author SHA1 Message Date
Behdad Esfahbod 8665b9b0a2 Comment 2019-03-28 13:44:59 -07:00
punchcutter a7eed7e41d Override USE category for Grantha and Tirhuta visargas to allow marks 2019-03-28 13:31:45 -07:00
Egor Pugin cf040c0fef 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-28 11:10:42 -07:00
Michiharu Ariza 061bd0a99b Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-27 08:53:50 -07:00
Michiharu Ariza d8e3e3607e Merge branch 'master' into var-subset 2019-03-27 08:53:48 -07:00
Michiharu Ariza 67175987bd tweaked recursion checks 2019-03-27 08:52:46 -07:00
Ebrahim Byagowi 717181c594
[ci] remove ragel from psvita compile bot 2019-03-27 16:38:39 +04:30
Ebrahim Byagowi 08e36c5d8b
[ci] Don't install ragel on cmake build bot images
It is not needed anyway
2019-03-27 16:21:47 +04:30
Michiharu Ariza feb712d8d8 add recursion checks 2019-03-26 20:35:01 -07:00
Michiharu Ariza bcd689bb10 Merge branch 'master' into var-subset 2019-03-26 17:13:31 -07:00
Michiharu Ariza 49f9359632 add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET
some code cleanup
2019-03-26 17:10:46 -07:00
Behdad Esfahbod ec2a5dc859 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-26 16:23:40 -07:00
Behdad Esfahbod 96f1237794 [aat] Add missing check to ankr table
Isn't absolutely needed.  But helps.
2019-03-26 16:17:45 -07:00
Behdad Esfahbod e5dfffb1ef [docs] Update 2019-03-26 13:44:39 -07:00
Behdad Esfahbod 0dd3fdf9d2 Update ChangeLog generation
Let's see if I can make a release on Mac...
2019-03-26 13:44:39 -07:00
Qunxin Liu 2d9034491e completely remove lines that are commented out 2019-03-26 13:39:33 -07:00
Qunxin Liu 3147133b61 update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map()
so they don't use deprecated variable
2019-03-26 13:39:33 -07:00
Qunxin Liu 79a6c25849 try to remove deprecated variable from struct definition 2019-03-26 13:39:33 -07:00
Michiharu Ariza 94ef1a703f add HVAR & VVAR advance width api test 2019-03-22 11:05:23 -07:00
Michiharu Ariza 3c4f041e9e fix uninitialized memory bug 2019-03-22 10:26:48 -07:00
Michiharu Ariza d2a0149c29 added api test for subset VVAR & bug fix
added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
2019-03-21 18:09:37 -07:00
Michiharu Ariza 8ec279072e Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-21 10:38:12 -07:00
Michiharu Ariza 0593a95e28 refix short count 2019-03-21 10:36:53 -07:00
Michiharu Ariza 5390e39342 Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-21 10:21:50 -07:00
Michiharu Ariza 084be9a0f4 Merge branch 'master' into var-subset 2019-03-21 10:21:31 -07:00
Michiharu Ariza 5f15fca662 fix short count optimization 2019-03-21 10:18:03 -07:00
Michiharu Ariza 3faaa52aa7 regenerated expected full fonts data after fontTools bug 1550 fixed 2019-03-21 09:50:53 -07:00
Michiharu Ariza 325918172e added TT VF full font test & fixed bugs
updated CFF2 VF api test results too
2019-03-20 15:10:59 -07:00
Michiharu Ariza 92bc740558 update CFF2 test results 2019-03-19 18:23:14 -07:00
Michiharu Ariza 1051faf7aa add api test cases for HVAR with index map (and fix) 2019-03-19 16:00:01 -07:00
Michiharu Ariza 0576253a34 add gvar & HVAR retain-gids test cases 2019-03-19 12:34:03 -07:00
Michiharu Ariza 6dd1077b68 fix test build 2019-03-19 01:00:53 -07:00
Michiharu Ariza 2e6038a209 add api tests for subset gvar & HVAR; bug fixes 2019-03-19 00:41:41 -07:00
Michiharu Ariza aeddb30f87 replaced tt var api test with a composite glyph
for better coverage
2019-03-18 18:11:00 -07:00
Michiharu Ariza 560bcd7744 move rounding advance width to glyf 2019-03-18 17:50:20 -07:00
Michiharu Ariza c7edd14dc9 fix empty glyf's advance width 2019-03-18 17:16:43 -07:00
Michiharu Ariza 9d3a252030 add api test for tt var advance widths
stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed
2019-03-18 15:39:10 -07:00
Michiharu Ariza 9d9d5c706b fix build 2019-03-18 10:48:53 -07:00
Michiharu Ariza b6cc838888 fix composite glyf extents 2019-03-17 22:49:18 -07:00
Michiharu Ariza 597ad4df0c fix unpack_points 2019-03-17 18:45:30 -07:00
Michiharu Ariza cabe22fc69 fix infer_delta
code cleanup
2019-03-17 17:48:10 -07:00
Michiharu Ariza c8b31773a6 added explicit casts to metrics 2019-03-17 16:01:49 -07:00
Michiharu Ariza 8a7998fd6c 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-17 15:36:26 -07:00
Michiharu Ariza 00b2653ac3 add components transformation 2019-03-16 16:27:33 -07:00
Michiharu Ariza 434ea06841 fix tt var extents & add test 2019-03-16 00:08:03 -07:00
Michiharu Ariza bcb4e505d6
cff2 subset fuzzer issues (#1619)
* add check to FDArray::serialize

* add test files

* fix off by one
2019-03-15 13:46:25 -07:00
Michiharu Ariza a5118c1db5 Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-15 10:33:03 -07:00
Michiharu Ariza 079c386ca8 Merge branch 'master' into var-subset 2019-03-15 10:12:19 -07:00
Michiharu Ariza 90ea140aca Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset 2019-03-14 16:58:19 -07:00
Michiharu Ariza d23c201f5d add gvar::get_extents 2019-03-14 16:58:02 -07:00