1. 30 9月, 2018 6 次提交
    • B
      [indic/khmer] Remove use of global constructors · b1e07e1e
      Behdad Esfahbod 提交于
      Alternative woul have been to resurrect F_COMBINE that I removed in
      70136a78
      
      But this does it for now.  I'm not sure why check-static-inits.sh didn't
      catch this before.  Clang -Weverything bot did:
      
        CXX      libharfbuzz_la-hb-ot-shape-complex-indic.lo
      hb-ot-shape-complex-indic.cc:99:1: warning: declaration requires a global constructor [-Wglobal-constructors]
      indic_features[] =
      ^
      1 warning generated.
        CXX      libharfbuzz_la-hb-ot-shape-complex-khmer.lo
      hb-ot-shape-complex-khmer.cc:36:1: warning: declaration requires a global constructor [-Wglobal-constructors]
      khmer_features[] =
      ^
      1 warning generated.
      b1e07e1e
    • B
      Tweak HB_TAG and HB_UNTAG · 00cd00e6
      Behdad Esfahbod 提交于
      uint32_t was getting promoted to signed int, which is not what we wanted...
      
      Wow, clang has become good at generating warnings...
      
      ../../src/hb-common.h:349:29: warning: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow]
        _HB_SCRIPT_MAX_VALUE                          = HB_TAG_MAX, /*< skip >*/
                                                        ^~~~~~~~~~
      ../../src/hb-common.h:93:20: note: expanded from macro 'HB_TAG_MAX'
       define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../src/hb-common.h:89:57: note: expanded from macro 'HB_TAG'
       define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4))))
                                               ~~~~~~~~~~~~~~~^ ~~
      ../../src/hb-common.h:349:3: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
        _HB_SCRIPT_MAX_VALUE                          = HB_TAG_MAX, /*< skip >*/
        ^                                               ~~~~~~~~~~
      00cd00e6
    • B
      [font] Make *_advance() fallback to *_advances · 8a31e406
      Behdad Esfahbod 提交于
      And remove redundant implementations.
      8a31e406
    • B
      bd07d287
    • B
      Document setlocale() threadsafety issue · ba0f0f15
      Behdad Esfahbod 提交于
      "Fixes" //github.com/harfbuzz/harfbuzz/issues/1191
      ba0f0f15
    • E
      06be2aa9
  2. 29 9月, 2018 9 次提交
  3. 28 9月, 2018 15 次提交
  4. 27 9月, 2018 10 次提交