<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Lucida Sans Unicode">hi,</font></p>
<font face="Lucida Sans Unicode">I'm sorry to ask you that directly
by email but i did not find any solution elsewhere ...</font><br>
<font face="Lucida Sans Unicode">I'm a poor programmer and try to
display one text in a PNG image using CAIRO.<br>
</font><br>
<font face="Lucida Sans Unicode">My problem here is that in the
"for" loop, cairo display only one colum and not the entire
string, ex: 3 2 1</font><br>
<font face="Lucida Sans Unicode">my small code:</font><br>
<font face="Lucida Sans Unicode"> char sets2 [100] ;<br>
for (size_t i=0; i < match->nb_set; i++)<br>
{<br>
char chaine = joueur->sets[i] ;<br>
sprintf(sets2 , "%d", chaine);<br>
printf("%s ", sets2); // This print 3 2 1 <br>
cairo_move_to(cr, 250, 120);<br>
cairo_show_text(cr, sets2); // this display in the
image one colum the overlayed number<br>
}<br>
</font><br>
<font face="Lucida Sans Unicode">Is this my for loop or cairo
displaying like this ?</font><br>
<font face="Lucida Sans Unicode">Really thank you in advance if you
can help,</font><br>
<font face="Lucida Sans Unicode">Eric</font><br>
<br>
</body>
</html>