Remove unecessary check from android framework build
R=bungeman@google.com, raph@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/495063002
This commit is contained in:
parent
ef24b7d338
commit
729776c810
@ -1508,13 +1508,6 @@ void SkScalerContext_FreeType::emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
|
||||
// Android doesn't want to embolden a font that is already bold.
|
||||
if ((fFace->style_flags & FT_STYLE_FLAG_BOLD)) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
switch (glyph->format) {
|
||||
case FT_GLYPH_FORMAT_OUTLINE:
|
||||
FT_Pos strength;
|
||||
|
Loading…
Reference in New Issue
Block a user