Fix font-exist-p on terminal error.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>