Commit Graph

8463 Commits

Author SHA1 Message Date
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
Michiharu Ariza dde8bb1f6d fix build 2019-03-14 16:58:02 -07:00
Michiharu Ariza 5ec65f779b minor edits 2019-03-14 16:58:02 -07:00
Michiharu Ariza 2d7ad3f28b build fix attempt 2019-03-14 16:58:02 -07:00
Michiharu Ariza cf2ef92c74 more build fixes 2019-03-14 16:58:02 -07:00
Michiharu Ariza ae0a557c2e fix build attempt 2019-03-14 16:58:02 -07:00
Michiharu Ariza baf2ccf147 calculate VF advance widths from gvar & glyf 2019-03-14 16:58:02 -07:00
Michiharu Ariza 0b1ae2385b gvar::subset() 2019-03-14 16:58:02 -07:00
Michiharu Ariza eddbc9d0db Added hb-ot-var-gvar-table.hh
implemented sanitize()
placeholder subset()
some code cleanup
2019-03-14 16:58:02 -07:00
Michiharu Ariza f289ffe5ea renamed hb_map2_t to hb_bimap_h in its own .hh 2019-03-14 16:58:02 -07:00