aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontHost_FreeType.cpp3
-rw-r--r--src/ports/SkFontHost_mac.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp
index 5c00d1b697..44eb50ce40 100644
--- a/src/ports/SkFontHost_FreeType.cpp
+++ b/src/ports/SkFontHost_FreeType.cpp
@@ -714,7 +714,8 @@ void SkTypeface_FreeType::onFilterRec(SkScalerContextRec* rec) const {
#ifndef SK_GAMMA_APPLY_TO_A8
if (!isLCD(*rec)) {
- rec->ignorePreBlend();
+ // SRGBTODO: Is this correct? Do we want contrast boost?
+ rec->ignorePreBlend();
}
#endif
}
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp
index 53d5610575..29b52ca9d5 100644
--- a/src/ports/SkFontHost_mac.cpp
+++ b/src/ports/SkFontHost_mac.cpp
@@ -2030,6 +2030,7 @@ void SkTypeface_Mac::onFilterRec(SkScalerContextRec* rec) const {
// All other masks can use regular gamma.
if (SkMask::kA8_Format == rec->fMaskFormat && SkPaint::kNo_Hinting == hinting) {
#ifndef SK_GAMMA_APPLY_TO_A8
+ // SRGBTODO: Is this correct? Do we want contrast boost?
rec->ignorePreBlend();
#endif
} else {