1. 17 11月, 2016 2 次提交
    • S
      Clean Up: Removing unused interface GetTable from MinikinFont. · fd77b01f
      Seigo Nonaka 提交于
      This is 2nd attempt of Ifcd7a348d7fb5af081192899dbcdfc7fb4eebbf9
      
      After Id766ab16a8d342bf7322a90e076e801271d527d4, GetTable is no longer
      used in production due to poor performance and it is now only used in
      tests. This CL removes GetTable interface from MinikinFont and update
      tests code to use new interfaces, GetFontData, GetFontSize and
      GetFontIndex.
      
      Bug: 27860101
      Test: Manually done
      Change-Id: Ib48973ff25cdc61a4c666d28128266df0aaea83e
      fd77b01f
    • S
      Merge "Implement word spacing" · 71475f63
      Seigo Nonaka 提交于
      71475f63
  2. 16 11月, 2016 2 次提交
    • M
      Fix calls to deprecated range_x. · 815bc4a8
      Martijn Coenen 提交于
      Test: fixes master build.
      Change-Id: I8b2822d310c0cf423b15834e6d6ae3a9ea64233b
      815bc4a8
    • S
      Implement word spacing · acd401d0
      Seigo Nonaka 提交于
      Add a wordSpacing paint parameter, which will be used for
      justification.
      
      Bug: 31707212
      Test: ran minikin_tests
      Change-Id: I91224ab8ef882ac0c87425c28ab731fead283612
      acd401d0
  3. 07 11月, 2016 1 次提交
  4. 25 10月, 2016 1 次提交
  5. 18 10月, 2016 1 次提交
    • S
      Clean Up: Removing unused interface GetTable from MinikinFont. · 1d525df4
      Seigo Nonaka 提交于
      After Id766ab16a8d342bf7322a90e076e801271d527d4, GetTable is no longer
      used in production due to poor performance and it is now only used in
      tests. This CL removes GetTable interface from MinikinFont and update
      tests code to use new interfaces, GetFontData, GetFontSize and
      GetFontIndex.
      
      Bug: 27860101
      Test: Manually done
      
      Change-Id: Ifcd7a348d7fb5af081192899dbcdfc7fb4eebbf9
      1d525df4
  6. 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
  7. 13 9月, 2016 11 次提交
  8. 17 8月, 2016 4 次提交
  9. 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
  10. 12 8月, 2016 4 次提交
  11. 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
  12. 15 7月, 2016 6 次提交
  13. 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
  14. 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