Hi Ken, PyGame provides a font module which can render text onto a surface.  <br><br>from gettext import gettext as _<br><br>    font = pygame.font.Font(None, 36)<br><br>    surf = font.render(_("Hello, world!"), 1, (255,255,255))
<br>    pos = surf.get_rect(centerx=Pos[0], centery=Pos[1])<br>    screen.blit(surf, pos)<br><br>The _() around the text indicates that the string is to be localized, it will be extracted and placed in a database by the gettext utility.
<br><br>You can then blit the surface to the screen.  See <a href="http://www.pygame.org/docs/ref/font.html">http://www.pygame.org/docs/ref/font.html</a> for more information.<br><br>Wade<br><br><div class="gmail_quote">On Jan 16, 2008 7:00 PM, Kent Loobey <
<a href="mailto:kent@uoregon.edu">kent@uoregon.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>I have programmed for years but am new to Python and localization.
<br><br>I am clueless at this point on how to get/use fonts within Python.  I am also<br>clueless as to what process to use to make sure that the fonts can be<br>localized.<br><br>Is there some sample code around that demonstrates how this is done within the
<br>OLPC Universe?<br><br>Thanks.<br><br>Kent<br><br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br><a href="http://lists.laptop.org/listinfo/devel" target="_blank">
http://lists.laptop.org/listinfo/devel</a><br></blockquote></div><br>