Closed Bug 1383817 Opened 3 years ago Closed 3 years ago
Clamp gamma and contrast for Scaled
Font DWrite when creating Skia typeface instead of when setting up Clear Type params
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 firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/02a519055f6f clamp gamma/contrast for ScaledFontDWrite when creating SkTypeface. r=mchang
You need to log in before you can comment on or make changes to this bug.