Made font configurations cache variable static

I believe the dictionary shouldn't be visible outside the file.