1. 15 9月, 2016 1 次提交
    • S
      Fix lookup order for VS in itemization. · 4a4e6574
      Seigo Nonaka 提交于
      This is partial revert of Iced1349e3ca750821d8882c551551f65bb569794.
      
      Due to sorting of target family vectors, the font family order from XML
      settings file is broken. Making unique operation stable doesn't fix the
      issue completely since some font families are appended for the fallback
      which also breaks the original order.
      
      By this change, itemization becomes 3x slower than before if variation
      selector is appended.
      
      Bug: 29585939
      Change-Id: I7c1a8a57f04111a30cd41a5cd5bec25fcfb3972e
      4a4e6574
  2. 17 8月, 2016 4 次提交
  3. 16 8月, 2016 2 次提交
    • C
      Fix google-explicit-constructor warnings in minikin · 0114c6a1
      Chih-Hung Hsieh 提交于
      * Add explicit keyword to conversion constructors,
        or add NOLINT(implicit) for implicit converters.
      Bug: 28341362
      Test: build with WITH_TIDY=1
      
      Change-Id: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
      Merged-In: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
      0114c6a1
    • C
      Fix google-explicit-constructor warnings in minikin · 47b905f6
      Chih-Hung Hsieh 提交于
      * Add explicit keyword to conversion constructors,
        or add NOLINT(implicit) for implicit converters.
      Bug: 28341362
      Test: build with WITH_TIDY=1
      
      Change-Id: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
      47b905f6
  4. 12 8月, 2016 4 次提交
  5. 06 8月, 2016 1 次提交
    • B
      Move SkTypeface::CreateXXX to SkTypeface::MakeXXX. · e6adb66a
      Ben Wagner 提交于
      Skia is moving to returning smart pointers from its factory methods.
      This updates uses of SkTypeface::CreateXXX to SkTypeface::MakeXXX and
      generally updates use of SkTypeface to sk_sp. This will allow for the
      removal of the SK_SUPPORT_LEGACY_TYPEFACE_PTR define.
      
      Change-Id: If3e600c6cb86080576667bc77d427da4f6560afa
      e6adb66a
  6. 15 7月, 2016 6 次提交
  7. 14 7月, 2016 3 次提交
    • S
      Lookup glyph from color emoji font before and after ZWJ. · 9431bb96
      Seigo Nonaka 提交于
      Unicode recommends that the zwj sequences should be emoji presentation
      even if they don't have the proper U+FE0F. Thus always lookup the glyph
      for the code point before and after zwj as if they have a U+FE0F
      variation selector.
      
      Bug: 30056627
      Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
      9431bb96
    • S
      Treat U+2695, U+2640, U+2642 as emoji characters. · c2642f9a
      Seigo Nonaka 提交于
      Bug: 29885295
      Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
      c2642f9a
    • S
      Add some gender balanced components in to the sticky whitelist. · fab99dde
      Seigo Nonaka 提交于
      FEMALE SIGN(U+2640), MALE SIGN(U+2642), StAFF OF AESCULAPIUS(U+2695)
      will be used as the ZWJ sequenced in gender balanced emoji sequence.
      To be in the same run with ZWJ, mark these emoji as sticky chracters.
      
      With this fix, Female police officer sequence will be shown correctly
      regardless of VS16.
      
      Bug: 30026374
      Change-Id: I503fc061eaa943d45208bb69e885151610c430ce
      fab99dde
  8. 12 7月, 2016 1 次提交
    • S
      Lookup glyph from color emoji font before and after ZWJ. · 98487de5
      Seigo Nonaka 提交于
      Unicode recommends that the zwj sequences should be emoji presentation
      even if they don't have the proper U+FE0F. Thus always lookup the glyph
      for the code point before and after zwj as if they have a U+FE0F
      variation selector.
      
      Bug: 30056627
      Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
      98487de5
  9. 11 7月, 2016 1 次提交
  10. 08 7月, 2016 2 次提交
  11. 28 6月, 2016 3 次提交
    • S
      Fix build failure of minikin_perftest · 524369b0
      Seigo Nonaka 提交于
      stat.st_size is off_t not size_t, so need to cast to size_t before
      compare it.
      
      Change-Id: I6b742746fbb9f254701fc91e515c293f93f912c5
      524369b0
    • S
      Introduce FontCollection perftest · 5e6bc85d
      Seigo Nonaka 提交于
      This CL introduces performance tests for FontCollection.
      
      To support TTC file in /system/fonts, this CL also extends FontTestUtils
      
      Bug:29142734
      Change-Id: I9d8ad24ca55f61031b85623ab7c26234239e4f41
      5e6bc85d
    • S
      Add more native perf tests to minikin. · 0ca4fb6d
      Seigo Nonaka 提交于
      This CL introduces performance tests for following three modules:
      - Hyphenator
      - WordBreaker
      - GraphemeBreak
      
      During using UnicodeUtils, need to decouple it from gtest since
      perftest doesn't have gtest dependencies.
      
      Bug:29142734
      Change-Id: I700c662fa7d0a52f19d8e93150ad1a85dc28769f
      0ca4fb6d
  12. 21 6月, 2016 1 次提交
    • S
      Fix test utilities · 81c79d6e
      Seigo Nonaka 提交于
      This fixes following three memory leaks in test utilities.
      There is no problem in production code and this CL doesn't affect
      any production behaviors.
      
      - SkTypeface leaks due to forget calling SkSafeUnref in dtor.
      - MinikinFontForTest leaks during constructing FontCollection.
      - FontCollection leaks due to unnecessary AddRef.
      
      Change-Id: I22e1e0307f1b2499296acb1aacc3ef66076a36e9
      81c79d6e
  13. 10 6月, 2016 1 次提交
    • S
      Always use minikin namespace. · 14e2d136
      Seigo Nonaka 提交于
      Here is a new policy of the namespace of minikin.
      - All components should be in minikin namespace.
      - All tests are also in minikin namespace and no anonymous namespace.
      
      Bug: 29233740
      Change-Id: I71a8a35049bb8d624f7a78797231e90fed1e2b8c
      14e2d136
  14. 09 6月, 2016 2 次提交
  15. 08 6月, 2016 1 次提交
  16. 26 5月, 2016 7 次提交