Created attachment 8889513 [details] [diff] [review] clamp gamma/contrast for ScaledFontDWrite when creating SkTypeface Only clamping when we set up ClearType params leaves the possibility that default params can still have invalid values, which can trigger assertions like in bug 1348584 comment 20. It's better to clamp things when we're creating the Skia typeface, that way Skia always only ever gets valid values.
Attachment #8889513 - Flags: review?(mchang)
Attachment #8889513 - Flags: review?(mchang) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/02a519055f6f clamp gamma/contrast for ScaledFontDWrite when creating SkTypeface. r=mchang
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.