Remove header
Add NULL pointer check for font opening