mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1495282 - cherry-pick Skia fix for Mac font gamma. r=mstange
This commit is contained in:
parent
9c04886e64
commit
b888841ef5
@ -1447,7 +1447,7 @@ void SkScalerContext_Mac::generateImage(const SkGlyph& glyph) {
|
||||
if ((glyph.fMaskFormat == SkMask::kLCD16_Format) ||
|
||||
(glyph.fMaskFormat == SkMask::kA8_Format
|
||||
&& requestSmooth
|
||||
&& smooth_behavior() == SmoothBehavior::subpixel))
|
||||
&& smooth_behavior() != SmoothBehavior::none))
|
||||
{
|
||||
const uint8_t* linear = gLinearCoverageFromCGLCDValue.data();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user