A module for python/pygame used for typesetting text to the screen.It provides specialized functions for scrolling text, pages of text, selectable text, and an on screen text editor.
Be the first to post a text review of Glyph. Rate and review a project by clicking thumbs up or thumbs down in the right column.
arguments are now collected as **kwargs and a default dict must be supplied with each instantiation (this is a transitory stage, and will be changed in the future to have a single Glyph superclass instantiation, which acts as a factory for the other glyph objects, and will hold the default values) linewid vwrng vwrectpos are now one rect object the 'ow' keyword has been replaced with a clear() function. the 'draw' keyword has been renamed 'border' and is now part of the arguments required during instantiation. issues with editor fixed (probably caused by my switching to a new text editor myself, which maybe caused indentation weirdness when i moved the files over). the direction for Glyph development will be towards facilitating the designing entire 'screens'. Thus the screen overlay of text boxes and areas provided by Glyph should be a single object. the new example reflects this style. also added the scrolling feature to this example :)
1.0.1 added. -editor wasn't linewrapping correctly, fixed. -editor through an error with non-ascii characters, fixed. NOTE: scroller doesn't handle headers correctly. always make sure scroller has a header of zero.
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: