1. 13 10月, 2018 3 次提交
  2. 12 10月, 2018 3 次提交
    • B
      Add doc stubs for recently added API · 8061664a
      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()
      8061664a
    • B
      Remove use of deprecated function · cf975ac6
      Behdad Esfahbod 提交于
      cf975ac6
    • D
      Refactor the selection of script and language tags · 91067716
      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.
      91067716
  3. 10 10月, 2018 4 次提交
  4. 09 10月, 2018 1 次提交
  5. 17 9月, 2018 2 次提交
  6. 11 9月, 2018 2 次提交
  7. 08 9月, 2018 1 次提交
    • B
      Use enum instead of "static const" in class scope · fda994e1
      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
      fda994e1
  8. 29 8月, 2018 1 次提交
  9. 27 8月, 2018 4 次提交
  10. 26 8月, 2018 4 次提交
  11. 24 8月, 2018 1 次提交
  12. 06 8月, 2018 1 次提交
  13. 04 8月, 2018 4 次提交
  14. 03 8月, 2018 3 次提交
  15. 02 8月, 2018 3 次提交
  16. 01 8月, 2018 3 次提交