commit | 68c63b3727f05638a95fcf5f65c5476a2fcb34d0 | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Fri Mar 04 00:12:33 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 04 00:12:34 2016 -0800 |
tree | 6e6f44df1192216cf5d7d4211b4cc83a8263e43a | |
parent | 56fb57a05159b72a746ab534c3daf50d4220acef [diff] |
Avoid drawing NVPR DIF text when text size is 0 Avoid drawing text when using NVPR and device independent fonts. The drawing calculations cause division by zero and produce NaNs to transforms (due to fTextInverseRatio). Reproed by top25desk_twitter.skp as well as the added testcase. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1760163002 Review URL: https://codereview.chromium.org/1760163002