1. 13 10月, 2018 5 次提交
    • E
      Add two APIs for getting stylistic set labels · dc49bd8d
      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.
      dc49bd8d
    • B
      [sanitize] Reorder condition to silence bogus gcc warning · e9f9c0d8
      Behdad Esfahbod 提交于
      Was givin a dozen of:
      
      ../../src/hb-machinery.hh: In member function ‘bool AAT::ankr::sanitize(hb_sanitize_context_t*) const’:
      ../../src/hb-machinery.hh:307:23: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations]
           bool ok = --this->max_ops > 0 &&
                     ~~~~~~~~~~~~~~~~~~~~~~
              this->start <= p &&
              ~~~~~~~~~~~~~~~~~~~
              p <= this->end &&
              ~~~~~~~~~~~~~~~^~
              (unsigned int) (this->end - p) >= len;
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      I believe those are bogus, but this silences them and does not introduce
      logic issues I believe.
      e9f9c0d8
    • B
      Add HB_DEPRECATED_FOR and mark relevant symbols · 1a6b5ac6
      Behdad Esfahbod 提交于
      1a6b5ac6
    • B
      [graphite] Add HB_DEPRECATED annotation · c9413d7b
      Behdad Esfahbod 提交于
      c9413d7b
    • B
      Always compile deprecated symbols · 68c86af1
      Behdad Esfahbod 提交于
      We haven't been keeping this updated.  So, while we don't expose the
      symbols in the headers if HB_DISABLE_DEPRECATED is defined, we still
      always build them.
      68c86af1
  2. 12 10月, 2018 35 次提交