FDK/Tools/Programs/public/lib/source/cffwrite/cffwrite_t2cstr.c
/* Convert warning number to string. */
Convert warning number to string.
Convert warning number to string .
static char *warnMsg(int warning)
	{
	switch (warning)
		{ 
	case warn_move0:
		return "no initial moveto (inserted)";
	case warn_move1:
		return "moveto preceeds closepath (discarded)";
	case warn_move2:
		return "moveto sequence (collapsed)";
	case warn_hint0:
		return "negative hint (reversed)";
	case warn_hint1:
		return "duplicate hintsubs (discarded)";
	case warn_hint2:
		return "unhinted";
	case warn_hint3:
		return "stem list overflow (discarded)";
	case warn_hint4:
		return "hint overlap";
	case warn_hint5:
		return "all hintsubs removed (fixupmap enabled)";
	case warn_hint6:
		return "consecutive hintsubs (discarded)";
	case warn_hint7:
		return "unused hints";
	case warn_flex0:
		return "non-perpendicular flex";
	case warn_flex1:
		return "suspect flex args";
	case warn_dup0:
		return "glyph skipped - duplicate of glyph in font";
	case warn_dup1:
		return "glyph skipped - same name, different charstring as glyph in font";
	default:
		return "unknown warning!";
		}
	}
static char * warnMsg ( int warning ) { switch ( warning ) { case warn_move0 : return " " ; case warn_move1 : return " " ; case warn_move2 : return " " ; case warn_hint0 : return " " ; case warn_hint1 : return " " ; case warn_hint2 : return " " ; case warn_hint3 : return " " ; case warn_hint4 : return " " ; case warn_hint5 : return " " ; case warn_hint6 : return " " ; case warn_hint7 : return " " ; case warn_flex0 : return " " ; case warn_flex1 : return " " ; case warn_dup0 : return " " ; case warn_dup1 : return " " ; default : return " " ; } }
Convert warning number to string.
Convert warning number to string .