src/hb-ot-layout-common.hh


Log

Author Commit Date CI Message
Behdad Esfahbod e014405a 2018-11-12T14:23:31 Rename check_array(array, a, b) to check_range()
Garret Rieger 0e1ad5a0 2018-10-30T11:29:58 [subset] Limit the number of scripts and langsys' that should be checked when collecting features.
Ebrahim Byagowi f7a08cd4 2018-10-30T11:29:09 Fix extra semicolon issues and test that on CI (#1330)
Behdad Esfahbod 7e998d19 2018-10-29T23:31:42 Fix spurious warning re uninitialized use
Behdad Esfahbod ca5e5a49 2018-10-29T22:30:21 Port Coverage::Iter off hb_auto_t<>
Behdad Esfahbod e8ff27c2 2018-10-28T16:29:09 Minor
Behdad Esfahbod e98af6d1 2018-10-25T22:25:29 [layout] Try to speed up collect_lookups some more Barely made a dent :(.
Behdad Esfahbod 84098b16 2018-10-25T21:33:12 [layout] Remove unintentionally added code
Behdad Esfahbod e8e67503 2018-10-25T20:48:20 [lookup] More prep work for memoizing collect_features https://github.com/harfbuzz/harfbuzz/pull/1317
Bruce Mitchener 5a24ea15 2018-10-20T08:09:52 Make more 'coords' params const.
Bruce Mitchener 257d0e5a 2018-10-19T22:49:21 Fix typos.
Ebrahim Byagowi 63109432 2018-10-13T14:00:05 Cosmetic and minor changes
Behdad Esfahbod 477bc9aa 2018-10-12T15:52:31 Add hb-ot-name.h Actual name-fetching API to come later. New API: hb_name_id_t HB_NAME_ID_INVALID
Ebrahim Byagowi dc49bd8d 2018-10-12T03:00:59 Add two APIs for getting stylistic set labels * hb_ot_layout_feature_get_characters * hb_ot_layout_feature_get_name_ids However HarfBuzz currently doesn't expose an API for retrieving the actual information associated with NameId from the `name` table and that should be done separately.
Behdad Esfahbod 606bf574 2018-09-16T19:33:48 Revert forcing use of single-parameter static_assert() Some clang versions define static_assert as a macro apparently, so we cannot redefine it... This reverts commit 94bfea0ce6a7b4d5641c198d50751748a353df11. This reverts commit 4e62627831e7457ed60ff87712570065b14b200a.
Behdad Esfahbod 4e626278 2018-09-16T18:09:36 Enforce single-param static_assert() only So we don't accidentally break it again.
Behdad Esfahbod 10642b3f 2018-09-15T19:43:33 Disallow null-enabled offsets to unsized structures... ...like UnsizedArrayOf<>. This fixes a class of crasher bugs, mostly with color and AAT tables. We cannot use nullable offsets to varsized data that does not declare min_size, because it's nost safe to use our fixed-size null pool for types that have their size external. So, use non_null'able offsets for these. A further enhancement would be to make use of min_size in Null<> itself. Will try that after.
Behdad Esfahbod dff2c45f 2018-09-10T23:29:26 Port rest from VAR to UnsizedArrayOf<>
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 fda994e1 2018-09-07T15:02:57 Use enum instead of "static const" in class scope Technically, static const needs an out-of-class definition. Eg: CXXLD libharfbuzz-subset.la Undefined symbols for architecture x86_64: "OT::FeatureVariationRecord::min_size", referenced from: bool OT::GSUBGPOS::subset<OT::PosLookup>(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o bool OT::GSUBGPOS::subset<OT::SubstLookup>(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o "OT::Record<OT::LangSys>::min_size", referenced from: OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o "OT::IntType<unsigned short, 2u>::min_size", referenced from: OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o OT::RecordListOf<OT::Feature>::subset(hb_subset_context_t*) const in libharfbuzz_subset_la-hb-subset.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[4]: *** [libharfbuzz-subset.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Exited with code 2
Behdad Esfahbod ebe67137 2018-09-07T10:46:13 Try fixing bots
Behdad Esfahbod 339d3603 2018-09-03T17:33:34 [subset] Wire up subset() call down to subtables
Behdad Esfahbod 7b2ef551 2018-09-03T17:16:09 Templatize Lookup::sanitize()
Behdad Esfahbod 49c44b58 2018-09-03T16:37:17 [subset] Fix serialize_subset() calls Ouch.
Behdad Esfahbod 7c9cfa2b 2018-09-02T19:47:50 Add intersects() method to GSUB/GPOS lookups
Behdad Esfahbod 61ce62e5 2018-09-02T17:00:27 [subset] Minor Remove Lookup::subset().
Behdad Esfahbod bfa72a9a 2018-09-01T18:34:50 [subset] Towards GSUB/GPOS subsetting Add subset() call for GSUBGPOS struct and its dependencies. Not hooked up anywhere.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.