Attached is an example that handles line breaks manually; it also handles text wrapping.
2009/11/2 leo kirotawa <kirot...@gmail.com>: > ok, thanks a lot > > On Mon, Nov 2, 2009 at 11:29 PM, Ian Mallett <geometr...@gmail.com> wrote: >> >> No; PyGame does not support that. You must handle line breaks manually, >> rendering as separate surfaces. Use .get_linesize() to space the surfaces >> appropriately. >> -Ian > > > > -- > Leônidas S. Barbosa (Kirotawa) > [DesenvolvedorWeb/CEFET/RN] > [Ciências da Computação/UFRN] > [pós-graduando em Inteligência Computacional/Processamento Gráfico /UFRN > [Estudante de japonês nível 8 - Japanese Student] > [Desenvolvedor em python, PyGame] > blog: corecode.wordpress.com/ > > "Mais sábio é aquele que sabe que não sabe" (Sócrates) > > 日本語の学生です。 > コンピュータサイエンスの学位. > > -- Mike Lawrence Graduate Student Department of Psychology Dalhousie University Looking to arrange a meeting? Check my public calendar: http://tr.im/mikes_public_calendar ~ Certainty is folly... I think. ~
draw_text.py
Description: Binary data