DescriptionUse SkPaint::getFontBounds() for text bounding boxes in pictures.
Now that SkTextBlobs have landed, this is a perf no-op, but it at least lets us eliminate a bunch of questionable hacks.
CQ_EXTRA_TRYBOTS=client.skia:Test-Win7-ShuttleA-HD2000-x86-Debug-Trybot,Test-Mac10.8-MacMini4.1-GeForce320M-x86_64-Debug-Trybot,Test-Win7-ShuttleA-HD2000-x86-Debug-GDI-Trybot
GDI:
-996.826172 -1508.789063 3000.000000 487.060547 vs. -1007.812500 -1500.000000 3000.000000 492.187500
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/02d2b9831579173e783569530ab7bae08de907e9
COMMIT=false
Patch Set 1 #Patch Set 2 : another 2%, more verbose assert #
Messages
Total messages: 23 (10 generated)
|