src/fixedfontwrap.cpp
// setUpCharactersInMatrix ****
// This methods prepares the characters information, in the case
// characters are organized as a matrix in the font surface.
// For example, if you have a characters matrix like the following one:
//		ABCD
//		EFab
//		cdef
// You'd use:
// setUpCharactersInMatrix("ABCDEFabcdef", 0, 0, 4, 0, 0);

setUpCharactersInMatrix
This methods prepares the characters information, in the case
characters are organized as a matrix in the font surface.
For example, if you have a characters matrix like the following one:
ABCD
EFab
cdef
You'd use:
setUpCharactersInMatrix("ABCDEFabcdef", 0, 0, 4, 0, 0).
setUpCharactersInMatrix This methods prepares the characters information in the case characters are organized as a matrix in the font surface . For example if you have a characters matrix like the following one : ABCD EFab cdef You ' d use : setUpCharactersInMatrix ( " ABCDEFabcdef " 0 0 4 0 0 ) .
bool bitmappedFixedFontClass::setUpCharactersInMatrix(
	char* string,
	int xMat, int yMat,
	int matWidthChars,
	int hSpace,
	int vSpace)
{
	char* currChar;
	characterStruct* currCharInfo;
	int x=xMat, y=yMat;
	for (currChar=string; *currChar!=0; currChar++) {
		currCharInfo=&(characters[(unsigned char)(*currChar)]);
		currCharInfo->isAllowed=true;
		currCharInfo->x=x;
		currCharInfo->y=y;
		x+=charW+hSpace;
		if (x>=matWidthChars*(charW+hSpace)+xMat) {
			x=xMat;
			y+=charH+vSpace;
		}
	}
	return true;
}
bool bitmappedFixedFontClass :: setUpCharactersInMatrix ( char * string , int xMat , int yMat , int matWidthChars , int hSpace , int vSpace ) { char * currChar ; characterStruct * currCharInfo ; int x = xMat , y = yMat ; for ( currChar = string ; * currChar != 0 ; currChar ++ ) { currCharInfo = & ( characters [ ( unsigned char ) ( * currChar ) ] ) ; currCharInfo -> isAllowed = true ; currCharInfo -> x = x ; currCharInfo -> y = y ; x += charW + hSpace ; if ( x >= matWidthChars * ( charW + hSpace ) + xMat ) { x = xMat ; y += charH + vSpace ; } } return true ; }
setUpCharactersInMatrix 
This methods prepares the characters information, in the case
characters are organized as a matrix in the font surface.
setUpCharactersInMatrix This methods prepares the characters information in the case characters are organized as a matrix in the font surface .
// string showing all the characters present in the matrix, in the order they appear there (from left to right, then from top to bottom)
 // coordinates where the matrix starts
 // width of the matrix in characters
 // horizontal space, in pixels, between characters
 // vertical space, in pixels, between characters
 // current character
 // current char information
 // coordinates for every character
 // save the coordinates for this character
 // calculate the next character coordinates
 // check whether we've reached the right border of the matrix or not
