register_font: return false instead of throwing