Re: [pygame] Erratic behavior with pygame.font.SysFont

2009-12-30 Thread René Dudfield
hi,

you could try filtering out that font and not loading it.  I'm
guessing there is a bug in freetype and that font.

I could add that font(and other broken ones) to sysfont if someone
submits a patch.  That is a font blacklist.

http://www.seul.org/viewcvs/viewcvs.cgi/trunk/lib/sysfont.py?rev=2519root=PyGameview=markup

cu,

On Wed, Dec 30, 2009 at 7:59 AM, Ian Mallett geometr...@gmail.com wrote:
 I get the same error as Dan.



Re: [pygame] Improving documentation

2009-12-30 Thread Hugo Ruscitti
On Sun, Dec 27, 2009 at 7:39 AM, jug j...@fantasymail.de wrote:
 Yeah, nice, could be really helpful.
 Can we use these images or would you like to add them and help us?
 If you have a bitbucket account I'll give you write perms.

 -- Julian

Sure!, my username in bitbucket is hugoruscitti.

-- 
Hugo Ruscitti
www.losersjuegos.com.ar
www.gcoop.com.ar


Re: [pygame] Erratic behavior with pygame.font.SysFont

2009-12-30 Thread Rolf Sievers

Hi,

I have got 271 Fonts on my (father's) PC and just checked all of them 
with a modified script.

http://lizard.pastebin.com/m3bc7419c

You can see which fonts have this erratic behavion, which fail to load 
with  real exception, which display strange (boxes) and wich work fine.

30 are broken
206 work fine


On XP with 1.9.1 I freeze up on the ~10th font called impact.

I'm on Vista, PortablePython 2.5, pygame 1.8.1release - impact works for me
Therefore it might be wise to double check the fonts anyone reports as 
broken
Also I don't have my own PC and can't install Subversion to make a 
patch, neither do I feel good enough to write one by hand


On 30.12.2009 09:42, René Dudfield wrote:

hi,

you could try filtering out that font and not loading it.  I'm
guessing there is a bug in freetype and that font.

I could add that font(and other broken ones) to sysfont if someone
submits a patch.  That is a font blacklist.
 
http://www.seul.org/viewcvs/viewcvs.cgi/trunk/lib/sysfont.py?rev=2519root=PyGameview=markup

cu,

On Wed, Dec 30, 2009 at 7:59 AM, Ian Mallettgeometr...@gmail.com  wrote:
   

I get the same error as Dan.

 




Re: [pygame] Erratic behavior with pygame.font.SysFont

2009-12-30 Thread Marcus von Appen
On, Wed Dec 30, 2009, Rene Dudfield wrote:

 hi,
 
 you could try filtering out that font and not loading it.  I'm
 guessing there is a bug in freetype and that font.
 
 I could add that font(and other broken ones) to sysfont if someone
 submits a patch.  That is a font blacklist.
 
 http://www.seul.org/viewcvs/viewcvs.cgi/trunk/lib/sysfont.py?rev=2519root=PyGameview=markup

Does it make sense to blacklist fonts on pygame's side, because SDL_ttf
can't handle them on one platform? If the font is not likely to work on
any platform, this should be escalated to the SDL_ttf/freetype
developers as it is more likely to be a problem with those libraries
then, I would guess.

Regards
Marcus


pgpl3dWaFjkFF.pgp
Description: PGP signature


[pygame] Re: Erratic behavior with pygame.font.SysFont

2009-12-30 Thread Daniel Waltrip
What method did you determine if a font had the erratic behavior,
where it wouldn't load and didn't have a real exception?
Is there a simple way other than testing each font individually?

On my system there are 220 fonts returned by pygame.font.get_fonts()

On Dec 30, 5:24 am, Rolf Sievers rolf.siev...@lg-bs.de wrote:
 Hi,

 I have got 271 Fonts on my (father's) PC and just checked all of them
 with a modified script.http://lizard.pastebin.com/m3bc7419c

 You can see which fonts have this erratic behavion, which fail to load
 with  real exception, which display strange (boxes) and wich work fine.
 30 are broken
 206 work fine

  On XP with 1.9.1 I freeze up on the ~10th font called impact.

 I'm on Vista, PortablePython 2.5, pygame 1.8.1release - impact works for me
 Therefore it might be wise to double check the fonts anyone reports as
 broken
 Also I don't have my own PC and can't install Subversion to make a
 patch, neither do I feel good enough to write one by hand

 On 30.12.2009 09:42, René Dudfield wrote:



  hi,

  you could try filtering out that font and not loading it.  I'm
  guessing there is a bug in freetype and that font.

  I could add that font(and other broken ones) to sysfont if someone
  submits a patch.  That is a font blacklist.
       
  http://www.seul.org/viewcvs/viewcvs.cgi/trunk/lib/sysfont.py?rev=2519...

  cu,

  On Wed, Dec 30, 2009 at 7:59 AM, Ian Mallettgeometr...@gmail.com  wrote:

  I get the same error as Dan.


[pygame] pgreloaded 2.0.0-alpha3 released

2009-12-30 Thread Marcus von Appen
pgreloaded 2.0.0-alpha3 was released.

pgreloaded (Pygame2) is an ongoing rewrite of the Pygame multimedia and
game framework. As Pygame, it's purpose is to make writing multimedia
applications, such as games, with Python as easy as possible, while
providing the developer a reliable and extensible programming interface.
It features a modular and loosely coupled package and module layout and
access to the most features of the libraries it wraps.

pgreloaded can be installed side-by-side with Pygame as it uses a
different package namespace and thus will not cause any conflicts with
another Pygame installation.

*** This is an alpha release for testing purposes and not meant to be
run in production environments.

Dependencies

* Python 2.4, 2.5, 2.6 or 3.1

Optional:
* SDL = 1.2.10
* SDL_mixer = 1.2.8
* SDL_ttf = 2.0.9
* SDL_image = 1.2.6
* SDL_gfx = 2.0.18
* libpng = 1.2.24
* libjpeg = 6b
* freetype = 2.3.5

Features and changes in 2.0.0-alpha3

* The new pygame2.freetype module from Vicent Marti is now fully
  implemented and usable.
* Proper Python 3.1 support on Win32 platforms
* Lots of bug fixes :-)

Download

The source and documentation packages as well as prebuilt Win32
installers are available from here:

   http://code.google.com/p/pygame/downloads/list

Have a happy new year
Marcus


pgpwglri5R76h.pgp
Description: PGP signature