Called when a new font is about to be selected
You can override this function when you need to hook up a new font selection.