[XForms] fl_set_font_name() verbiage

Mike Heffner mheffner at vt.edu
Thu Jan 15 00:30:42 EST 2004


When fl_set_font_name() fails it will return -1 but it also prints:

In SetFont [fonts.c 246] Bad FontStyle request -1: blahblahblah

This function is typically used as a method of testing whether a font is
loadable or not, so it's not always a fatal condition. Can this print
statement be wrapped in a debug-only conditional?


Thanks,

Mike

-- 
  Mike Heffner       <mheffner@[acm.]vt.edu>
                         <mikeh at FreeBSD.org>



More information about the Xforms mailing list