call glyph::init() on tmpGlyph, so we have a properly initialized fMaskFormat
git-svn-id: http://skia.googlecode.com/svn/trunk@812 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
40981ba42a
commit
ce2b1afb58
@ -383,7 +383,7 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) {
|
||||
SkGlyph tmpGlyph;
|
||||
|
||||
if (fMaskFilter) { // restore the prefilter bounds
|
||||
tmpGlyph.fID = origGlyph.fID;
|
||||
tmpGlyph.init(origGlyph.fID);
|
||||
|
||||
// need the original bounds, sans our maskfilter
|
||||
SkMaskFilter* mf = fMaskFilter;
|
||||
|
Loading…
Reference in New Issue
Block a user