src/hb-ot-var-gvar-table.hh


Log

Author Commit Date CI Message
Behdad Esfahbod 4be074e2 2022-06-27T16:12:42 [gvar] Whitespace
Behdad Esfahbod a9664784 2022-06-27T15:41:02 [gvar] Optimize apply_deltas_to_points
Behdad Esfahbod e9af9062 2022-06-27T15:38:42 [gvar] Optimize unpack_deltas
Behdad Esfahbod 573e7728 2022-06-27T15:35:28 [gvar] Optimize unpack_deltas
Behdad Esfahbod 698f5146 2022-06-27T15:30:19 [gvar] Share vector allocation across delta-sets
Behdad Esfahbod 39e280c2 2022-06-27T15:25:50 [gvar] Handle a couple of error conditions
Behdad Esfahbod 5be6e5dd 2022-06-27T15:22:16 [gvar] Rewrite linear interpolation
Behdad Esfahbod 57519b53 2022-06-27T15:18:56 [gvar] Use pointer-to-member instead of function
Behdad Esfahbod ab15fe08 2022-06-27T15:13:10 [gvar] Handle a couple of error conditions
Behdad Esfahbod b7e9e878 2022-06-27T15:08:51 [gvar] Optimize deltas and points loading
Behdad Esfahbod 97cbc2d4 2022-06-27T12:37:11 [gvar] Remove condition that font num_coords should match gvar's
Behdad Esfahbod 95bfa091 2022-06-27T12:09:42 [gvar] Optimize translate()
Behdad Esfahbod 9f067582 2022-06-27T12:08:47 [gvar] Optimize transform()
Behdad Esfahbod cfc57ef8 2022-06-27T11:56:28 [glyf] Optimize contour_point_t layout
Behdad Esfahbod 75ca78a6 2022-06-27T11:55:37 [glyf] Optimize hb_contour_points_t::extend
Behdad Esfahbod 30d58bfd 2022-06-26T16:47:21 [glyf] Don't translate/transform components if has no effect
Behdad Esfahbod 9ce97730 2022-06-25T19:24:05 [glyf/SimpleGlyph] Minor use constructor for contour_point_t
Behdad Esfahbod dd71d2c1 2022-05-06T13:02:26 [gvar] Protect against offset underflow
Behdad Esfahbod 9a6dabd6 2022-05-06T12:01:37 [gvar] Remove sanitize check for data array We are not checking in sanitize that offset array is ascending, so this check was bogus.
Behdad Esfahbod 38478d10 2022-05-06T12:00:01 [gvar] DEFINE_SIZE_ARRAY instead of DEFINE_SIZE_MIN
Behdad Esfahbod 90d278c9 2022-05-06T11:58:53 [gvar] Remove requirement that num_glyphs matches the font's
Behdad Esfahbod ca8a0f3e 2022-05-06T11:54:38 [gvar] Protect against out-of-range access Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47281 Fixes https://oss-fuzz.com/testcase-detail/5508865908670464
Behdad Esfahbod 3a78cf92 2022-03-25T12:56:44 [gvar] Fix decoding of private vs shared points Fixes https://github.com/harfbuzz/harfbuzz/issues/3506
Behdad Esfahbod ac1bb3e3 2022-01-20T11:47:17 [machinery] Move accelerators to constructor/destructor
Behdad Esfahbod e062376e 2022-01-19T17:09:34 [machinery] Make accelerator lazy-loader call Xinit/Xfini Instead of init/fini. To isolate those functions. To be turned into constructor/destructors, ideally one per commit (after some SFINAE foo.)
luz paz e2e30506 2022-01-16T07:00:53 Fix various typos Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
Garret Rieger 46d4a5e6 2021-07-29T15:07:13 [subset] Convert subset plan to use a flags bit set.
Qunxin Liu d07f789a 2021-06-09T15:36:40 [subset] support option "--notdef-outline"
Behdad Esfahbod ad28f973 2021-03-31T12:49:14 Rename offset types to be explicit about their size Add Offset16To<>, Offset24To<>, and Offset32To<> for most use-cases.
justvanrossum 1d8a8950 2021-02-16T20:55:16 do not round added deltas; fixes #2866
ebraminio 732a9164 2020-08-11T16:37:55 [gvar] minor
Ebrahim Byagowi 0907c102 2020-08-07T00:15:32 [gvar] minor
Ebrahim Byagowi 02d1ec16 2020-08-06T22:18:35 [gvar] Don't fail on imprefect gvar No need to fail even if gvar doesn't have that much glyphs
Ebrahim Byagowi ec17b624 2020-08-06T20:16:11 [var] Apply variations on empty glyphs It was ignoring empty glyphs for no good reason, this fixes it. Fixes #2618
Ebrahim Byagowi 5cab55ca 2020-08-06T18:54:58 [gvar] minor
Ebrahim Byagowi d0e2addd 2020-07-18T22:14:52 minor
Ebrahim Byagowi 648338c7 2020-03-10T13:12:00 [gvar] Add fields docs from ot-spec as other tables
Ebrahim Byagowi 1b3b9697 2020-03-10T12:46:09 [gvar] Don't copy shared tuples into gvar's accelerator
Ebrahim Byagowi 29dd1fe5 2020-03-10T11:41:51 [gvar] Don't check again against face num glyph Done once by sanitize_shallow
Ebrahim Byagowi d4b11817 2020-03-10T11:29:56 [gvar] minor, rename gvar_table to table
Ebrahim Byagowi 5c376938 2020-03-10T10:51:38 [gvar] Remove axisCount comparison with fvar as we runtime check that
Ebrahim Byagowi 90048485 2020-03-04T12:12:35 [gvar] Make sure font's num_coords matches with gvar.axisCount
Ebrahim Byagowi 1af3363f 2020-03-04T11:32:01 [gvar] Use hb_array_t instead indexing raw pointers
Ebrahim Byagowi 99b5b3f1 2020-03-04T11:15:46 [gvar] Make sure TupleVarHeader has the needed size Fixes https://crbug.com/oss-fuzz/21026
Ebrahim Byagowi 60262e4c 2020-02-29T22:57:59 [var] Build end-points array on gvar itself
Ebrahim Byagowi 44169f33 2020-02-29T16:04:03 [draw] Fix invalid rendering of some glyph on Estedad-VF Basically reverts 11f3fca so I can do the same tested and better later Fixes #2215
Ebrahim Byagowi e642aab1 2020-02-28T22:24:25 [subset] Add source_blob as a hb_subset_context_t field (#2203) So no more double sanitizing source table.
Ebrahim Byagowi 61208401 2020-02-28T21:09:07 [gvar] Use hb_bytes_t.check_range instead having in house one And use TupleVarHeader calculated size for validity check. Fixes https://crbug.com/oss-fuzz/20919 and possibly other gvar related issues
Ebrahim Byagowi 14b13437 2020-02-27T15:58:58 [gvar] Minor, check whether sub_array result also have enough room
Ebrahim Byagowi 8eba66c1 2020-02-27T15:58:58 [gvar] Fix invalid memory access by refactoring GlyphVarData fetch logic Fixes https://crbug.com/oss-fuzz/20906
Ebrahim Byagowi 1f5a54c7 2020-02-24T13:18:24 [gvar] fix infinite loop introduced by 11f3fca The attempt on removing end_points had made the code unreadable and has intrdouced infinite, fixed by making the code clear what it tries to achieve.
Ebrahim Byagowi f00eb4eb 2020-02-24T09:21:25 [gvar] Don't compare against Null address
Ebrahim Byagowi 19b78d56 2020-02-24T09:08:01 [gvar] Accept coord_count even if is higher than gvar's axisCount
Ebrahim Byagowi 197e2e92 2020-02-24T08:53:53 [gvar] Return gracefully even if gvar wasn't used at all
Ebrahim Byagowi 346ab988 2020-02-24T08:46:08 [gvar] Return gracefully even if coords_count != gvar's axis count It shouldn't be that common to have the situation, even so, no need to reject entire a glyph even if gvar isn't used.
Ebrahim Byagowi 11f3fca0 2020-02-18T12:53:20 [glyf/gvar] Remove need of passing end points vector around
Ebrahim Byagowi 7633b769 2020-01-23T18:51:40 Merge pull request #2016 from ebraminio/glyf Implement glyph outline path API
Michiharu Ariza 8f49aaa1 2020-01-16T15:15:15 minor: un-include glyf.hh in gvar.hh
Ebrahim Byagowi 5b08596d 2019-11-28T08:42:45 [gvar] Don't apply anything when no coords is given
Ebrahim Byagowi f883c31c 2019-10-13T12:31:53 Implement glyph outline path API Got help from https://github.com/opentypejs/opentype.js/blob/4e0bb99/src/tables/glyf.js#L222
Ebrahim Byagowi ce114d6b 2019-12-31T15:53:02 minor, tweak spaces
Ebrahim Byagowi d67ba649 2019-12-05T13:15:21 Rename hb_array_t::in_range to hb_array_t::check_range
Ebrahim Byagowi 3958f6fb 2019-10-29T22:36:50 Add in_range in hb_bytes_t to merge range_checker_t with it
Ebrahim Byagowi b0b8551a 2019-10-12T21:12:19 [glyf] Use range_checker_t in composite_iter_t
Ebrahim Byagowi 21c80d95 2019-10-05T23:58:52 [gvar] minor
Ebrahim Byagowi 8e335103 2019-10-04T01:11:03 [gvar] minor
Ebrahim Byagowi 88bd342c 2019-10-03T22:45:37 [glyf] minor
Michiharu Ariza b9ff43c1 2019-10-01T16:13:40 Implement gvar table and variable glyf Split from Ariza's "[subset] TrueType/CFF2 variable font" work on #1594
Michiharu Ariza a87fbb87 2019-07-09T10:25:54 Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
Michiharu Ariza 8f8e8a84 2019-06-05T12:59:09 fix build
Michiharu Ariza 49252c42 2019-05-03T10:42:11 get rid of O(n^2) loop from apply_deltas_to_points
Michiharu Ariza ab9d3096 2019-04-10T17:21:37 Add tt var metrics test cases & bug fixes
Michiharu Ariza 27d3bac8 2019-04-02T17:02:11 fix 2x2 component transform
Michiharu Ariza 8801b80d 2019-04-02T13:10:36 refix: orig_points must be saved before any adjustment
Michiharu Ariza ee58f601 2019-04-02T11:24:29 infer gvar deltas for each region (not after accumulation)
Michiharu Ariza 2c31652c 2019-04-02T10:07:43 fix private_indices vs shared_indices
Michiharu Ariza dce9e5e6 2019-04-01T20:55:02 fix get_start_tuple, get_end_tuple
Michiharu Ariza 72545cb8 2019-04-01T16:49:15 fixed off by one bug in apply_deltas_to_points()
Michiharu Ariza 3fbd242b 2019-03-29T23:53:06 replace .set() with = remove .gitignore
Michiharu Ariza 435bc7f3 2019-03-29T18:39:30 Update hb-ot-var-gvar-table.hh
Michiharu Ariza 8fdb8fcf 2019-03-29T18:39:27 fix rebase errors
Michiharu Ariza 1ccb457c 2019-03-29T18:28:25 fix gvar fuzz bug
Michiharu Ariza 0008963b 2019-03-26T17:10:46 add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET some code cleanup
Michiharu Ariza 6ee71166 2019-03-19T00:41:41 add api tests for subset gvar & HVAR; bug fixes
Michiharu Ariza bee8d866 2019-03-18T10:48:53 fix build
Michiharu Ariza f74712a4 2019-03-17T22:49:18 fix composite glyf extents
Michiharu Ariza cd817e79 2019-03-17T18:45:30 fix unpack_points
Michiharu Ariza a35e3dfc 2019-03-17T17:48:10 fix infer_delta code cleanup
Michiharu Ariza c302ec6d 2019-03-17T15:36:26 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
Michiharu Ariza bd040a43 2019-03-16T16:27:33 add components transformation
Michiharu Ariza 139e87b5 2019-03-16T00:08:03 fix tt var extents & add test
Michiharu Ariza 9690461a 2019-02-26T11:11:50 Added hb-ot-var-gvar-table.hh implemented sanitize() placeholder subset() some code cleanup
Michiharu Ariza 628d457c 2019-03-12T11:03:53 add gvar::get_extents
Michiharu Ariza 5fc99b3d 2019-03-01T21:54:49 fix build
Michiharu Ariza 618de1c7 2019-03-01T18:24:56 more build fixes
Michiharu Ariza f2c55659 2019-03-01T18:12:31 fix build attempt
Michiharu Ariza 40dfca72 2019-03-01T15:14:22 calculate VF advance widths from gvar & glyf
Michiharu Ariza a842fdfb 2019-02-26T16:54:00 gvar::subset()
Michiharu Ariza 2c5ed7f1 2019-02-26T11:11:50 Added hb-ot-var-gvar-table.hh implemented sanitize() placeholder subset() some code cleanup
Michiharu Ariza ddb84dce 2019-03-29T10:32:42 fix gvar fuzz bug