diff options
author | 2018-01-29 15:09:26 -0500 | |
---|---|---|
committer | 2018-01-30 15:08:15 +0000 | |
commit | b42610aa9b0e431c5658f7f9ada8553e4f90869c (patch) | |
tree | bcf46029ba3f6bbcd19a616a00098654c82d1dfe /gm | |
parent | 6a0176bf033c780bb92396220db8140f30948345 (diff) |
Reduce the amount of padding needed for SDFs.
SDF glyphs and paths were padded by 4 pixels, and had an inset of 2
pixels within that for rendering the shape. We should be able to
use a pad of 1, and the original bounds for the shape. This allows us
to increase the maximum size in the atlas.
Bug: skia:
Change-Id: I844d6afc4e0a52fc49fe1f6df94b635779290307
Reviewed-on: https://skia-review.googlesource.com/101440
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions