ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/text.c
(Generate patch)

Comparing ray/src/rt/text.c (file contents):
Revision 2.27 by greg, Tue Mar 22 03:56:17 2016 UTC vs.
Revision 2.28 by greg, Fri Nov 19 22:51:31 2021 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines