- 13 10月, 2018 3 次提交
-
-
由 Ebrahim Byagowi 提交于
-
由 Behdad Esfahbod 提交于
New API: +hb_ot_layout_feature_get_name_ids() +hb_ot_layout_feature_get_characters()
-
由 Ebrahim Byagowi 提交于
* 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.
-
- 12 10月, 2018 3 次提交
-
-
由 Behdad Esfahbod 提交于
Thanks to David Corbett who revamped our script and language processing and implemented full BCP 47 support. https://github.com/harfbuzz/harfbuzz/pull/730 New API: +hb_ot_layout_table_select_script() +hb_ot_layout_script_select_language() +HB_OT_MAX_TAGS_PER_SCRIPT +HB_OT_MAX_TAGS_PER_LANGUAGE +hb_ot_tags_from_script_and_language() +hb_ot_tags_to_script_and_language() Deprecated API: -hb_ot_layout_table_choose_script() -hb_ot_layout_script_find_language() -hb_ot_tags_from_script() -hb_ot_tag_from_language()
-
由 Behdad Esfahbod 提交于
-
由 David Corbett 提交于
The old hb-ot-tag.cc functions, `hb_ot_tags_from_script` and `hb_ot_tag_from_language`, are now wrappers around a new function: `hb_ot_tags`. It converts a script and a language to arrays of script tags and language tags. This will make it easier to add new script tags to scripts, like 'dev3'. It also allows for language fallback chains; nothing produces more than one language yet though. Where the old functions return the default tags 'DFLT' and 'dflt', `hb_ot_tags` returns an empty array. The caller is responsible for using the default tag in that case. The new function also adds a new private use subtag syntax for script overrides: "x-hbscabcd" requests a script tag of 'abcd'. The old hb-ot-layout.cc functions,`hb_ot_layout_table_choose_script` and `hb_ot_layout_script_find_language` are now wrappers around the new functions `hb_ot_layout_table_select_script` and `hb_ot_layout_script_select_language`. They are essentially the same as the old ones plus a tag count parameter. Closes #495.
-
- 10 10月, 2018 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
In preparation to move add per-subtable set digests...
-
- 09 10月, 2018 1 次提交
-
-
- 17 9月, 2018 2 次提交
-
-
由 Behdad Esfahbod 提交于
Some clang versions define static_assert as a macro apparently, so we cannot redefine it... This reverts commit 94bfea0c. This reverts commit 4e626278.
-
由 Behdad Esfahbod 提交于
So we don't accidentally break it again.
-
- 11 9月, 2018 2 次提交
-
-
由 David Corbett 提交于
-
由 David Corbett 提交于
-
- 08 9月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
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
-
- 29 8月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
clang -O3 was completely removing _get_gdef(), causing link failure when needed from another compilation unit. Surprisingly, "extern inline" didn't fix it.
-
- 27 8月, 2018 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 26 8月, 2018 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Sorry for the noise, downstream custom builders. Please adjust.
-
- 24 8月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 06 8月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 04 8月, 2018 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Misc. table loading now properly automated.
-
由 Behdad Esfahbod 提交于
-
- 03 8月, 2018 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Faster / more compact code.
-
由 Behdad Esfahbod 提交于
Just blacklist based on table sizes like we do for other fonts.
-
- 02 8月, 2018 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 01 8月, 2018 3 次提交
-
-
由 Ebrahim Byagowi 提交于
This reverts commit 0c1b287b.
-
由 Garret Rieger 提交于
This is much faster then calling a bunch of individual add()'s.
-
由 Garret Rieger 提交于
-