Re: [pygame]

2014-09-22 Thread Bartosz Debski
Hi Diliup,

I'm using unicode without problem in Polish, German and French. Usually
it's the font you are using is the problem. I would check those font you
selected have correct mappings for characters you want to use.

Try to load this font into your system and check in eg. OpenOffice or Gimp
does programs render those characters. If they don't then 100% your font
has not those characters mapped.

Cheers
Bart

On Sun, Sep 21, 2014 at 8:36 PM, diliup gabadamudalige dili...@gmail.com
wrote:


 # -*- coding: utf-8 -*-
 import pygame, sys


 pygame.font.init()

 screen = pygame.display.set_mode((640,480))

 unistring = uහලෝ ශානික 

 fnt = pygame.font.Font(kaputaunicode.ttf,40)

 while True:
 screen.blit(fnt.render(unistring,True,(255,255,255)),(0,0))

 pygame.display.flip()
 for key in pygame.event.get():
 if key.type == pygame.QUIT:
 pygame.quit()
 sys.exit()

 this code works but it prints the the second character after the fourth.
 Any ideas why it's doing that?

 On Sun, Sep 21, 2014 at 11:49 PM, diliup gabadamudalige dili...@gmail.com
  wrote:

 hi!

 ANybody has used unicode with pygame? I need help displaying my native
 text using unicode.

 --
 Diliup Gabadamudalige

 http://www.diliupg.com
 http://soft.diliupg.com/


 **
 This e-mail is confidential. It may also be legally privileged. If you
 are not the intended recipient or have received it in error, please delete
 it and all copies from your system and notify the sender immediately by
 return e-mail. Any unauthorized reading, reproducing, printing or further
 dissemination of this e-mail or its contents is strictly prohibited and may
 be unlawful. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 **




 --
 Diliup Gabadamudalige

 http://www.diliupg.com
 http://soft.diliupg.com/


 **
 This e-mail is confidential. It may also be legally privileged. If you are
 not the intended recipient or have received it in error, please delete it
 and all copies from your system and notify the sender immediately by return
 e-mail. Any unauthorized reading, reproducing, printing or further
 dissemination of this e-mail or its contents is strictly prohibited and may
 be unlawful. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 **




Re: [pygame]

2014-09-22 Thread diliup gabadamudalige
Dear Bart,

Thank you for your response. I realized that the problem is actually in the
font rendering in pygame cause of the way our language uses its symbols. I
decided to convert all unicode into standard font mapping and it has worked
very well.

On Mon, Sep 22, 2014 at 6:38 PM, Bartosz Debski bart...@debski.co.uk
wrote:

 Hi Diliup,

 I'm using unicode without problem in Polish, German and French. Usually
 it's the font you are using is the problem. I would check those font you
 selected have correct mappings for characters you want to use.

 Try to load this font into your system and check in eg. OpenOffice or Gimp
 does programs render those characters. If they don't then 100% your font
 has not those characters mapped.

 Cheers
 Bart

 On Sun, Sep 21, 2014 at 8:36 PM, diliup gabadamudalige dili...@gmail.com
 wrote:


 # -*- coding: utf-8 -*-
 import pygame, sys


 pygame.font.init()

 screen = pygame.display.set_mode((640,480))

 unistring = uහලෝ ශානික 

 fnt = pygame.font.Font(kaputaunicode.ttf,40)

 while True:
 screen.blit(fnt.render(unistring,True,(255,255,255)),(0,0))

 pygame.display.flip()
 for key in pygame.event.get():
 if key.type == pygame.QUIT:
 pygame.quit()
 sys.exit()

 this code works but it prints the the second character after the fourth.
 Any ideas why it's doing that?

 On Sun, Sep 21, 2014 at 11:49 PM, diliup gabadamudalige 
 dili...@gmail.com wrote:

 hi!

 ANybody has used unicode with pygame? I need help displaying my native
 text using unicode.

 --
 Diliup Gabadamudalige

 http://www.diliupg.com
 http://soft.diliupg.com/


 **
 This e-mail is confidential. It may also be legally privileged. If you
 are not the intended recipient or have received it in error, please delete
 it and all copies from your system and notify the sender immediately by
 return e-mail. Any unauthorized reading, reproducing, printing or further
 dissemination of this e-mail or its contents is strictly prohibited and may
 be unlawful. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 **




 --
 Diliup Gabadamudalige

 http://www.diliupg.com
 http://soft.diliupg.com/


 **
 This e-mail is confidential. It may also be legally privileged. If you
 are not the intended recipient or have received it in error, please delete
 it and all copies from your system and notify the sender immediately by
 return e-mail. Any unauthorized reading, reproducing, printing or further
 dissemination of this e-mail or its contents is strictly prohibited and may
 be unlawful. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 **





-- 
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**
This e-mail is confidential. It may also be legally privileged. If you are
not the intended recipient or have received it in error, please delete it
and all copies from your system and notify the sender immediately by return
e-mail. Any unauthorized reading, reproducing, printing or further
dissemination of this e-mail or its contents is strictly prohibited and may
be unlawful. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
**


Re: [pygame] UNSUBSCRIBE

2014-09-22 Thread Thomas Kluyver
It sounds like there's a problem with unsubscription. Does anyone know who
runs the list server?

Thomas

On 21 September 2014 20:17, Tony Cappellini cappy2...@gmail.com wrote:


 I've tried this two times, once manually, once by clicking the link that
 you mentioned.
 Both times the server said the command was unrecognized.

 I've been trying to unsub from this list for a long time. Still can't get
 there from here.

 On Sun, Sep 21, 2014 at 12:40 PM, Thomas Kluyver tak...@gmail.com wrote:

 He was probably attempting to unsubscribe from this list.

 Anyone who wants to unsubscribe: you need to email majord...@seul.org
 with the text 'unsubscribe pygame-users'. Clicking the unsubscribe link at
 http://pygame.org/wiki/info should create an email like this.

 Thomas

 On 21 September 2014 12:29, diliup gabadamudalige dili...@gmail.com
 wrote:

 hi Ryan,
 What does UNSUBSCRIBE mean?

 On Mon, Sep 22, 2014 at 12:07 AM, Ryan Hope rmh3...@gmail.com wrote:

 UNSUBSCRIBE




 --
 Diliup Gabadamudalige

 http://www.diliupg.com
 http://soft.diliupg.com/


 **
 This e-mail is confidential. It may also be legally privileged. If you
 are not the intended recipient or have received it in error, please delete
 it and all copies from your system and notify the sender immediately by
 return e-mail. Any unauthorized reading, reproducing, printing or further
 dissemination of this e-mail or its contents is strictly prohibited and may
 be unlawful. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 **