Re: [PyOpenGL-Users] pygamefont problem
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2007-10-16 12:52:10
|
vwf wrote: > Hello, > > I have a rather old problem that fails to work after upgrading. The > problem is that font-rendering does not work correctly. The result looks > like the a television that lost horizontal sync. > > I think I use old code, but I don't know what is wrong. I include a > small programme that works, but displays incorrectly (it is a Q&D cut > from my real programme). Any suggestions, or a pointer to an example I > can use? > PyGame fonts require an axis swap sometimes. Honestly I normally just try both flipped and un-flipped, exchanging x and y and not, and the combination that looks right is the one I use. You seem to be using a package I'm not familiar with: > from pygamefont import * > so I'm afraid I don't have any particular help to offer, though I'd suggest trying a flip and/or an x/y coordinate swap of the images. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |