Extract fontstyle plugin from base code.

* Extract fontstyle plugin from base code.