bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc