DescriptionAvoid 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
Committed: https://skia.googlesource.com/skia/+/68c63b3727f05638a95fcf5f65c5476a2fcb34d0
Patch Set 1 #
Total comments: 2
Patch Set 2 : address review comment #
Messages
Total messages: 18 (8 generated)
|