On Mac fall back to bounds if no path.
SkFont getPath now distinguishes between empty path and no-path. Use this for better bounds computation on Mac. In addition, use the newer non-deprecated SkFont methods for advances and bounds. Bug: skia:8779 Change-Id: I360b5cbb16eda3c02d8e5773f95c0402e5fae55b Reviewed-on: https://chromium-review.googlesource.com/c/1487357Reviewed-by:Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#635534}
Showing
Please register or sign in to comment