1. 05 7月, 2019 1 次提交
  2. 18 6月, 2019 3 次提交
  3. 08 5月, 2019 1 次提交
  4. 17 4月, 2019 1 次提交
  5. 30 3月, 2019 1 次提交
  6. 22 1月, 2019 3 次提交
    • B
      Better fix for -Wcast-align errors · 447323b8
      Behdad Esfahbod 提交于
      447323b8
    • B
      More -Wcast-error fixes · 81ec543d
      Behdad Esfahbod 提交于
      81ec543d
    • B
      Fix cast-align error · 8d05bf7d
      Behdad Esfahbod 提交于
      If compiler doesn't inline StructAtOffset, this was an error since we
      only disable cast-align at call-site.  So, move the cast out.
      
      ../src/hb-machinery.hh: In instantiation of 'const Type& StructAtOffset(const void*, unsigned int) [with Type = unsigned int]':
      ../src/hb-font.cc:146:85:   required from here
      ../src/hb-machinery.hh:63:12: error: cast from 'const char*' to 'const unsigned int*' increases required alignment of target type [-Werror=cast-align]
       { return * reinterpret_cast<const Type*> ((const char *) P + offset); }
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = unsigned int]':
      ../src/hb-font.cc:147:79:   required from here
      ../src/hb-machinery.hh:66:12: error: cast from 'char*' to 'unsigned int*' increases required alignment of target type [-Werror=cast-align]
       { return * reinterpret_cast<Type*> ((char *) P + offset); }
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      8d05bf7d
  7. 18 1月, 2019 1 次提交
  8. 18 12月, 2018 1 次提交
  9. 17 12月, 2018 1 次提交
  10. 24 11月, 2018 1 次提交
  11. 22 11月, 2018 1 次提交
  12. 07 11月, 2018 1 次提交
  13. 04 11月, 2018 1 次提交
  14. 27 10月, 2018 1 次提交
  15. 23 10月, 2018 1 次提交
  16. 10 10月, 2018 3 次提交
    • B
      [ft] Use mutex to lock access to FT_Face · be2f148d
      Behdad Esfahbod 提交于
      Makes our FT-backed hb_font_t safe to use from multiple threads.  Still,
      the underlying FT_Face should NOT be used from other threads by client
      or other libraries.
      
      Maybe I add a lock()/unlock() public API ala PangoFT2 and cairo-ft.
      Maybe not.
      be2f148d
    • B
      [ft] Remove (probably) stale comment · d18c3c58
      Behdad Esfahbod 提交于
      d18c3c58
    • B
      [ot/ft] Implement get_nominal_glyphs() callback · ec84460e
      Behdad Esfahbod 提交于
      Some more measurable speedup.  The recent commits' speedups are as follows:
      
      Testing with Roboto, ****when disabling kern and liga****:
      
      Before:
      
      FT --features=-kern,-liga
      user↦   0m0.521s
      
      OT --features=-liga,-kern
      user↦   0m0.568s
      
      After:
      
      FT --features=-liga,-kern
      user↦   0m0.428s
      
      OT --features=-liga,-kern
      user↦   0m0.470s
      
      So, 17% speedup.
      
      Note that FT callbacks are faster than OT these days since we added an advance
      cache to FT.  I don't think the difference is enough to justify adding a cache
      to OT.
      
      When not disabling kern, the thing is three times slower, so the speedups
      are three times less impressive...  Still, 5% not bad for a codebase that I
      otherwise thought is optimized out.
      
      Note that, because of this and other optimiztions in our main shaper,
      disabling kern and liga, the OT shaper is now *faster* than the fallback
      shaper.  So, that's my recommendation to clients that need the absolute
      fastest...
      ec84460e
  17. 09 10月, 2018 2 次提交
  18. 30 9月, 2018 1 次提交
  19. 27 9月, 2018 1 次提交
  20. 11 9月, 2018 5 次提交
  21. 26 8月, 2018 1 次提交
  22. 15 8月, 2018 1 次提交
  23. 13 8月, 2018 5 次提交
  24. 09 8月, 2018 1 次提交
  25. 28 7月, 2018 1 次提交