<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Lucida Sans Unicode">Hi Cairo users,</font></p>
<p><font face="Lucida Sans Unicode"><br>
</font></p>
I have some troubles with overlaying text on a surface . The texts
i overlay on the background color is not very clean, it seems to
move a little bit on the shape.<br>
<p>When text change, it seems like if it was repainted again. My
program use a loop to keep the overlay on the stream (IP CAMERA
OVERLAY API).</p>
<p><br>
</p>
The surface is :<br>
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32,
OVERLAY_WIDTH, OVERLAY_HEIGHT);<br>
<p><br>
</p>
<p>the text with font : </p>
cairo_select_font_face(cr, "Sans",
CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_BOLD);<br>
<p><br>
</p>
<p>Do you think i could use another font ? another method ?</p>
Any suggest is welcome,<br>
<p><br>
</p>
<p>Thank you</p>
Eric
<p><br>
</p>
<p><br>
</p>
</body>
</html>