fix package name when getting font and throw error when not found