Fix limits in fontmgr_bounds gm
This gm is intended to test a limited number of typefaces or until the
available space is filled. Typefaces with many glyphs are skipped but
still counted toward the limit. Instead count how many typefaces are
actually used and finish when the limit is reached.
Change-Id: I2736e3495cde6017a768e5b51e894b82f4ce9510
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1028720
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
Auto-Submit: Ben Wagner <bungeman@google.com>
Reviewed-by: Julia Lavrova <jlavrova@google.com>
1 file changed