1. 17 Oct, 2012 1 commit
    • Romain Guy's avatar
      Add Android specific API · 7cd90d4e
      Romain Guy authored
      Bug #7353771
      
      This API is just a boolean property that tells the hardware renderer
      whether it should use mipmap levels.
      
      Change-Id: I123a334b89b0d64d711bdad43f5e2feb416de8b4
      7cd90d4e
  2. 25 Sep, 2012 1 commit
  3. 21 Sep, 2012 1 commit
  4. 04 Sep, 2012 1 commit
  5. 30 Aug, 2012 7 commits
  6. 27 Aug, 2012 4 commits
  7. 22 Aug, 2012 1 commit
    • Victoria Lease's avatar
      Disable "no context for char" log spam. · 41aa7b9f
      Victoria Lease authored
      It looks like Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 upgraded this
      message from an actual error notification into a full-fledged adb log
      spammer. Oops! This CL moves it back to the location it should be at,
      and requires SK_DEBUG to see it even there.
      
      Bug: 7038312
      Change-Id: Iefc0b001a9874e0f177507d43231e6fdb4a1d92a
      41aa7b9f
  8. 21 Aug, 2012 1 commit
  9. 20 Aug, 2012 2 commits
    • Billy Hewlett's avatar
      DO NOT MERGE Han Preference · 725b3e03
      Billy Hewlett authored
      Cherry-pick Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 from master.
      
      During font initialization, create a seperate fallback list for each
      locale. At runtime, use the fallbacklist associated with the locale
      set in the paint object. Fallback files are associated with locales in
      fallback_fonts.xml. Multiple files can be associated with the same
      locale, ordering within that langauge and apart from that language in
      the fallback order is preserved.
      
      This changelist also includes some refactoring, notably of the
      functions that call getNextContext().
      
      Change-Id: I121f0e491a522c4a8558a0066b2d8969fb8a3667
      725b3e03
    • Derek Sollenberger's avatar
  10. 17 Aug, 2012 5 commits
  11. 14 Aug, 2012 1 commit
  12. 01 Aug, 2012 1 commit
  13. 31 Jul, 2012 4 commits
  14. 30 Jul, 2012 1 commit
    • Raph Levien's avatar
      Fix bug 6888377: crash in GetUnitsPerEm on locale change · e454fde2
      Raph Levien authored
      The underlying problem is that no SkScalerContext objects existed at the
      time shapeFontRun is called immediately after a locale change from en to
      ja (apparently the dumping of the cache caused all these to be
      deallocated), so gFTLibrary was null (and the call tio ref_ft_face
      assumes that it's initialized).
      
      There's a pattern for calls which might not necessarily be called from a
      scaler context (GetAdvancedTypefaceMetrics is one such), to explicitly
      check for an uninitialized library, and create one for the length of the
      call if so. This patch changes GetUnitsPerEm to follow this pattern.
      
      Change-Id: I19a4b6fa49fad0aeacc04bf971101aacca6bc94f
      e454fde2
  15. 28 Jul, 2012 2 commits
  16. 27 Jul, 2012 1 commit
    • Victoria Lease's avatar
      Reduce embolden effect. DO NOT MERGE · 1d6fa961
      Victoria Lease authored
      Cherry-pick of Iec1c478171e33751be1cddbaae6a8ec30bb6cbab
      
      Certain CJK glyphs become essentially unreadable when emboldened at
      sizes used by common apps like News/Weather. Reducing embolden
      strength slightly makes these glyphs much more readable without
      sacrificing bold/normal weight differentiation.
      
      Bug: 6712857
      Change-Id: I1025f72b5ed07f0a65924ba58aa19511bc417eb1
      1d6fa961
  17. 26 Jul, 2012 1 commit
    • Victoria Lease's avatar
      Reduce embolden effect. · d1280a29
      Victoria Lease authored
      Certain CJK glyphs become essentially unreadable when emboldened at
      sizes used by common apps like News/Weather. Reducing embolden
      strength slightly makes these glyphs much more readable without
      sacrificing bold/normal weight differentiation.
      
      Bug: 6712857
      Change-Id: Iec1c478171e33751be1cddbaae6a8ec30bb6cbab
      d1280a29
  18. 17 Jul, 2012 1 commit
    • Raph Levien's avatar
      Accurately calculate advances in general case. Fixes bug 6833339. · b4fad178
      Raph Levien authored
      The advance values computed by generateAdvance() were inconsistent with
      those computed by generateMetrics, because the fMatrix22 was being
      applied in the latter but not former case. Since fMatrix22.xx is 1.0
      almost all the time (the exception is only when skew and scale are both
      applied), failures were rare.
      
      This patch is an alternative to ag/#/c/207887, in that they both fix the
      problem, but in different ways. That patch made fMatrix22.xx equal to
      1.0 in almost all cases, while this one gives correct advance values
      for arbitrary fMatrix22 values.
      
      Change-Id: Iedfa36e884e3e3e2f078a5d4edfc82004a54e895
      b4fad178
  19. 09 Jul, 2012 1 commit
    • Billy Hewlett's avatar
      Cleanup ref counts for SkCreateTypefaceForScript · 669f287c
      Billy Hewlett authored
      After this checkin, SkCreateTypefaceForScript refs each typeface
      that it creates before it returns it.  Additionally, all supported harfbuzz
      codepoints are added to the unicode mapping array.  This patch also fixes a test crash (see bug)
      
      Bug:6756432
      
      Change-Id: Ida3276b76e745b817f9e63be54945e411516dd03
      669f287c
  20. 21 Jun, 2012 3 commits