Remove SK_IGNORE_FREETYPE_COLRV0_LOAD_FLAGS_FIX
All users have been updated. This flag and the code it guards can now be removed. Bug: skia:12956 Change-Id: I8115235fdbe12f8afa1973f43f0f2870447e5e01 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/511756 Auto-Submit: Ben Wagner <bungeman@google.com> Reviewed-by: Dominik Röttsches <drott@google.com> Commit-Queue: Dominik Röttsches <drott@google.com>
This commit is contained in:
parent
4f7b656012
commit
da1de8fa8b
@ -1648,9 +1648,6 @@ bool generateGlyphPathStatic(FT_Face face, SkPath* path) {
|
||||
}
|
||||
|
||||
bool generateFacePathStatic(FT_Face face, SkGlyphID glyphID, uint32_t loadGlyphFlags, SkPath* path){
|
||||
#ifdef SK_IGNORE_FREETYPE_COLRV0_LOAD_FLAGS_FIX
|
||||
loadGlyphFlags = 0;
|
||||
#endif
|
||||
loadGlyphFlags |= FT_LOAD_NO_BITMAP; // ignore embedded bitmaps so we're sure to get the outline
|
||||
loadGlyphFlags &= ~FT_LOAD_RENDER; // don't scan convert (we just want the outline)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user