Commits

Show all
Author Commit Message Labels Comments Date
dangillet
Deleted effloresce.regular.ttf. Instead made a copy of tuffy.ttf and renamed it tuffy.copy.ttf
dangillet
removed OFL.txt which was a leftover from previous installed font.
dangillet
Replaced DoulosSILR.ttf by effloresce.regular.ttf found at http://www.1001fonts.com/effloresce-font.html. Changed the way default alias worked, taking the whole file basename without its extension.
dangillet
Replaced comic.ttf by a public domain font. Licence added as well. Also removed one leftover from sprite.py
dangillet
Removed os and platform from sprite.py
dangillet
FontManager small updates.
dangillet
dangillet
Removed Mock from SpriteFactory tests.
dangillet
Removed Mock from tests. Made many small changes as discussed in https://bitbucket.org/marcusva/py-sdl2/pull-request/6/implemented-a-method-from_text-in-the/diff
dangillet
Allow to pass one font in the __init__ method of the FontManager.
dangillet
Fixed a bug in the __del__ method of FontManager.
dangillet
Edited docstring from SpriteFactory.from_text method.
dangillet
Removed __del__ method from SpriteFactory which is no more needed.
dangillet
Merged marcusva/py-sdl2 into default
Marcus von Appen
- updated unit tests to reflect the latest SDL2 changes
dangillet
Re-implemented the SpriteFactory from_text method using the FontManager class.
dangillet
FontManager class developped to take care of the fonts loaded and to render a text to a surface.
dangillet
When looking for a font, trying in different folders depending on the OS.
dangillet
Use RenderUTF8 instead of RenderText.
dangillet
Corrected parameters for TTF_RenderText_Blended. In SpriteFactory __del__ method, check now if TTF is still initialized.
dangillet
merge
dangillet
Added wrapped functionality to text rendering when needed. Also used Blended instead of shaded when the background is black.
dangillet
Merged changes from main repo
Marcus von Appen
- improved DLL detection, if they are not placed in a library path
Marcus von Appen
- added sdl2.SDL_INIT_EVENTS module constant - changed sdl2.SDL_INIT_EVERYTHING to be in sync with SDL2
"Ste...@gmail.com>"
Fixed issue #4
dangillet
Implemented a method from_text in the SpriteFactory. Fonts references are kept in a dictionary so future calls to this method with the same font name and font size will re-use the opened font. When SpriteFactory is deleted, the fonts are closed. Added some test cases, but not sure if that's enough.
Dan McCombs
Fix a print call for Python 3.x compatibility.
Marcus von Appen
- 0.4.0 release
Marcus von Appen
Added tag rel_0_4_0 for changeset dfdb872b9470
  1. Prev
  2. Next