From: Kenichi Handa Date: Thu, 2 Oct 2003 02:06:08 +0000 (+0000) Subject: (fs_load_font): Don't set fontp->font_encoder to NULL X-Git-Tag: ttn-vms-21-2-B4~8646 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de5c0f39590946d6e4cfbf25040920ea5579a60b;p=emacs.git (fs_load_font): Don't set fontp->font_encoder to NULL before calling find_ccl_program_func. Call find_ccl_program_func only when fontp->font_encoder is not NULL. --- diff --git a/src/fontset.c b/src/fontset.c index 996631f1a59..990c1bbb9fa 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -690,9 +690,7 @@ fs_load_font (f, c, fontname, id, face) } } - fontp->font_encoder = (struct ccl_program *) 0; - - if (find_ccl_program_func) + if (! fontp->font_encoder && find_ccl_program_func) (*find_ccl_program_func) (fontp); /* If we loaded a font for a face that has fontset, record the face