- do not precede the error messages with the program name - deltay support, as in some X11 libraries (separate <=> deltax) - display the cyrillic quick-fox only if character range has 192..255 - GRX uses slashes internally to represent font paths. For example, the RAW driver does not check for backslashes when taking basename, but works even under plain DOS, and so does fontdemo with ../fonts.
Dimitar Zhekov escribió:
- GRX uses slashes internally to represent font paths. For example, the RAW driver does not check for backslashes when taking basename, but works even under plain DOS, and so does fontdemo with ../fonts.
-#if defined(__MSDOS__) || defined(__WIN32__) - sprintf( testname,"..\fonts\%s",name ); -#else sprintf( testname,"../fonts/%s",name ); -#endif opt.txo_font = GrLoadFont(testname);
GRX doesn't made any assumption about the path separator. Both DJGPP and Mingw don't have problems to use either '/' or '', but I don't know about MSVC or Wattcom, or BorlandC(¿?), or ... so I think it is safe not to eliminate code like this.
Regards, M.Alvarez