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


Log

Author Commit Date CI Message
Qunxin Liu 73d94dbd 2023-07-19T10:33:57 [instancer] bug fixes in fvar: add missing instanceCount, update axis limit
Qunxin Liu 165f3e60 2023-07-17T09:46:03 [instancer-solver] add renormalizeValue() and store axis->distances map
Behdad Esfahbod 6a683ea6 2023-07-07T21:02:15 [sanitize] Enlighten check_range() some more No need to check for len=0 arrays. They must still be in range.
Qunxin Liu 39ac79a7 2023-05-10T10:22:49 address review comments
Qunxin Liu 51c7451b 2023-05-01T13:38:02 [instancer] update fvar table to accept Tripe for axes positions
Behdad Esfahbod 65d3db37 2023-01-11T12:36:54 [subset-plan] Simplify user_axes_location allocation
Behdad Esfahbod 60418fcb 2023-01-11T12:33:25 [subset-plan] Simplify axes_index_map allocation
Behdad Esfahbod d54902c6 2023-01-11T12:29:25 [subset-plan] Simplify axes_old_index_tag_map allocation
Behdad Esfahbod c8486b63 2023-01-07T14:15:17 [open-type] Add to_int to fixed types To make sure we don't accidentally forget to_float(). As we did recently in COLRv1 code.
Behdad Esfahbod 2cdaedaf 2022-12-03T10:16:35 Use hb_enumerate in more places
Joel Auterson c813f842 2022-10-20T19:45:23 Make build work for arm-none-eabi
Behdad Esfahbod 8c29dcae 2022-10-13T12:04:32 s/HBFixed/F16DOT16/g
Qunxin Liu 0a6c16a3 2022-08-08T13:47:39 [instance] instantiate fvar table Added an old->new axes_indices mapping in the subset plan
Behdad Esfahbod 473a5e56 2022-07-23T13:25:40 [font] Fix design-coords Ouch!
Qunxin Liu be8e8e8c 2022-06-30T14:24:36 [instance] prune name tables after axes pinned at fixed locations Restricting axes to ranges is not supported yet.
Qunxin Liu 2a4773e4 2022-06-21T19:29:52 add option "--instance", store axes_location in subset_plan and drop all variation tables when all axes are pinned at default
Behdad Esfahbod e9c0a740 2022-06-15T16:57:16 Fix clang -Wcomma warnings Fixes https://github.com/harfbuzz/harfbuzz/issues/3656
Behdad Esfahbod 1b51be57 2021-12-22T21:43:48 [hb-ot-var] Actually set in/out argument Fixes https://github.com/harfbuzz/harfbuzz/pull/3344
Behdad Esfahbod a9a607d3 2021-07-22T16:49:56 [variations] Support multiple axes with same tag, aka HOI The axes in fvar are in arbitrary order, NOT sorted. Hence have to lsearch all entries. Fixes https://github.com/harfbuzz/harfbuzz/issues/1673 Fixes https://github.com/harfbuzz/harfbuzz/issues/2743 Test from https://github.com/ctrlcctrlv/FontForge-Higher-Order-Interpolation
Behdad Esfahbod 0a44feae 2021-07-22T12:18:48 [fvar] Make find_axis_index() return a range, not individual value
Behdad Esfahbod 89018068 2021-07-22T11:59:23 [fvar] Centralize axis finding logic Part of fixing https://github.com/harfbuzz/harfbuzz/issues/1673
Behdad Esfahbod b86a45ca 2021-07-22T11:46:44 [fvar] Add TODO Fixing https://github.com/harfbuzz/harfbuzz/issues/1673
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.
Ebrahim Byagowi d5439232 2020-07-02T01:30:24 [fvar] minor
Ebrahim Byagowi ea8e7841 2020-06-30T12:54:29 [fvar] Improve naming
Ebrahim Byagowi 5de07b8a 2020-06-30T11:08:42 [fvar] Move normalize logic where it is actually filled
Ebrahim Byagowi 0f8dda2c 2020-06-30T10:53:12 [fvar] Move shared axis filling values into a new method
Ebrahim Byagowi 98c42b3b 2020-06-30T10:48:36 [fvar] Make AxisRecord fields protected
Ebrahim Byagowi 08d57d9e 2020-06-28T13:13:25 Add hb_array_t::lfind
Ebrahim Byagowi 8bca9a42 2020-06-21T09:18:12 [fvar] minor
Ebrahim Byagowi 82ec9ef2 2020-06-21T01:36:16 [fvar] minor simplification
Ebrahim Byagowi 4e37c48e 2020-06-20T23:57:45 [fvar] Remove get_axis_info and get_axis_deprecated
Ebrahim Byagowi 61c240f3 2020-06-20T13:24:32 [fvar] Push _axis_info fill logic deeper
Ebrahim Byagowi 08428a15 2020-04-24T23:45:17 minor, spacing
Ebrahim Byagowi 6924e29f 2020-03-03T13:11:11 [var] Fix hb_ot_var_get_axis_infos's offset semantic The API was adding offset to input's infos buffer index also which is unusual between our APIs and wrong.
Ebrahim Byagowi b398748d 2020-03-04T11:18:19 [algs] Add hb_clamp Similar to stl and glsl's clamp
Behdad Esfahbod 229ef1d2 2019-09-10T10:31:07 Rename Fixed to HBFixed Fixes(!!) https://github.com/harfbuzz/harfbuzz/issues/1966
Ebrahim Byagowi a0b4ac4d 2019-08-24T17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
Ebrahim Byagowi 981f5a54 2019-08-07T18:45:39 [fvar] Implement inverse normalize, unnormalize
Ebrahim Byagowi 1f926fb2 2019-08-07T20:22:20 [fvar] Use roundf instead hardcoding round logic
Behdad Esfahbod 78d35f0e 2019-05-15T18:15:05 Reduce captures of lambdas
Behdad Esfahbod d0df996c 2019-05-15T00:32:41 Use implicit lambda return type
Behdad Esfahbod e6d6f4b9 2019-05-14T22:45:03 Whitespace
Qunxin Liu 02e5e5d9 2019-05-13T09:38:42 [subset] retian nameids from STAT and fvar tables
Behdad Esfahbod fca27860 2019-05-11T00:37:01 [config] Make HB_DISABLE_DEPRECATED actually compile Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod c2c9d204 2019-05-07T23:13:38 Fix double-promotion warnings Make it an error.
Behdad Esfahbod 41248cce 2019-05-07T20:54:31 Remove MIN/MAX in favor of hb_min/hb_max
Behdad Esfahbod ef006549 2019-01-22T12:08:57 Convert tag enum class consts to static constexpr Part of https://github.com/harfbuzz/harfbuzz/issues/1553
Behdad Esfahbod 474a1205 2018-12-21T18:46:51 [array/vector] Rename len to length
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Behdad Esfahbod 5c4fead7 2018-11-29T15:04:34 Convert "static const hb_tag_t" constants to enum
Behdad Esfahbod 3b9fd176 2018-11-22T01:18:55 Disallow taking Null() of unbounded structs Not sure I've marked all such structs. To be done as we discover. Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
Behdad Esfahbod f48bb9a3 2018-11-20T20:40:55 [var] Deprecated axis enumeration API and add new version New version has axis flags. New API: +hb_ot_var_axis_info_t +hb_ot_var_find_axis_info() +hb_ot_var_get_axis_infos() Deprecated API: -HB_OT_VAR_NO_AXIS_INDEX -hb_ot_var_axis_t -hb_ot_var_find_axis() -hb_ot_var_get_axes()
Behdad Esfahbod b2d803ce 2018-11-20T11:42:25 Remove newly-added -hb_ot_var_axis_get_flags()
Behdad Esfahbod be1828da 2018-11-20T11:16:23 [var] Fix type of coords returned Ouch. Wonder how none of the bots caught the float->int truncation.
Behdad Esfahbod 587d49fc 2018-11-19T14:27:19 [fvar] Add named-instance API Fixes https://github.com/harfbuzz/harfbuzz/issues/1241
Behdad Esfahbod 56c9238d 2018-11-19T13:09:53 [fvar] Rewrite sanitize
Behdad Esfahbod 4a6a692e 2018-11-19T13:04:43 [fvar] Use hb_array_t for axes
Behdad Esfahbod e0097396 2018-11-19T12:53:53 [fvar] Minor
Behdad Esfahbod 1a2eb108 2018-11-19T12:36:56 [ot-var] Add hb_ot_var_axis_get_flags() Part of https://github.com/harfbuzz/harfbuzz/issues/1241 New API: +hb_ot_var_axis_flags_t +hb_ot_var_axis_get_flags
Behdad Esfahbod bd6b2ba1 2018-11-19T11:34:56 [ot-var] Add flags Unfortunate that we don't have room in hb_ot_var_axis_t to expose flags :(.
Behdad Esfahbod aa065748 2018-11-16T14:31:05 Minor
Ebrahim Byagowi 5de2d9cd 2018-10-04T02:14:18 Minor, fix double-promotion warnings (#1221)
Behdad Esfahbod 9507b05a 2018-09-10T23:18:07 Simplify sanitize->check_array() Fix a bug in CBDT sanitize, and redundant check in avar.
Behdad Esfahbod bc485a98 2018-09-10T23:02:24 Port some VAR arrays to UnsizedArrayOf<> Fix avar sanitize().
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Behdad Esfahbod b912fbea 2018-08-06T06:30:12 Remove most uses of direct comparison to Null objects
Ebrahim Byagowi a02c3ee7 2018-04-12T13:38:19 Add or update tables specifications links
Behdad Esfahbod a0dccb61 2018-03-14T16:31:53 Add NameID
Behdad Esfahbod 6b19178e 2018-01-10T03:07:30 Prefix int types with HB Such a headache that Windows defines UINT8, ...; Just prefix it.
Behdad Esfahbod c6173a39 2017-11-14T21:09:03 Add Offset16 and Offset32
Behdad Esfahbod 6f335ed1 2017-11-14T21:06:07 Replace USHORT/SHORT/ULONG/etc with UINT16/INT16/UINT32/etc
Behdad Esfahbod 7b399f73 2017-01-23T11:41:43 [var] Start adding HVAR/VVAR
Behdad Esfahbod d6bdbbca 2017-01-22T20:16:51 [var] Remove HB_OT_TAG_fvar/avar We're not going to define public macros for tags for tables. There's little use to those and they are implementation detail.
Behdad Esfahbod 785982bf 2017-01-20T19:57:27 [var] Flesh out some more
Behdad Esfahbod 422c0c36 2017-01-20T19:14:54 [var] Flesh out a bit
Behdad Esfahbod 55d42fd6 2017-01-19T19:35:48 Start adding hb-ot-var.h and implementation Supports enumerating variation axes, normalizing values, etc.