Bug 839745 - Flush glyphs when needed. r=jmuizelaar