sync fontloader code with Context as of 2013-04-29