The superclass changed from FontProvider to BasicFontProvider. Documentation changed from old to new.
FontProvider
BasicFontProvider