# HG changeset patch # User Kenichi Handa # Date 1065060368 0 # Node ID 124a3516f4db7dd89bad62525aaf82760628c8ae # Parent 5c843bc4a3de81dadf89ab10e541282b3251e398 (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 -r 5c843bc4a3de -r 124a3516f4db src/fontset.c --- a/src/fontset.c Thu Oct 02 02:05:42 2003 +0000 +++ b/src/fontset.c Thu Oct 02 02:06:08 2003 +0000 @@ -690,9 +690,7 @@ } } - 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