# | Line 222 | Line 222 | gettext( /* get text structure for material */ | |
---|---|---|
222 | tlp->next = NULL; | |
223 | /* get the font */ | |
224 | t->f = getfont(tm->oargs.sarg[fndx(tm)]); | |
225 | + | if (!t->f) |
226 | + | objerror(tm, USER, "font load error"); |
227 | /* compute character spacing */ | |
228 | i = sndx(tm); | |
229 | d = i < tm->oargs.nfargs ? tm->oargs.farg[i] : 0.0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |