1. pygame
  2. pygame
  3. pygame

Source

pygame / test / freetype_test.py

Author Commit Message Date Builds
Lenard Lindstrom
Change "face" back to "font", ( undoes part of changeset 6425e6865ce4 ) Go back to the standard definition of a computer font as a set of glyphs in a font file that can be scaled or otherwise transformed. The freetype2 module, on the other hand, uses idiosyncratic definitions of "font" and "face", where "face" means a font, and "font" a typeface.
Lenard Lindstrom
Fix _freetype module autoquit problem The _freetype quit function was registered with Pygame only once, in the module's init function. Calling Pygame.quit() closed the _freetype module, but also cleared the list of registered quit functions. So if Pygame.init() and Pygame.quit() where called again, the _freetype autoinit functions was called, but no quit function was registered for Pygame.quit(), and so _freetype remained initialized.…
Lenard Lindstrom
Add pygame.freetype.Face.render_raw_to method and enhance render_raw (refs #75) The render_raw_to method draws glyphs in an array object exporting the array struct interface. The render_raw method now has an 'invert' argument, which makes the foreground alpha transparent, background opaque. Additional unit tests needed.
Lenard Lindstrom
freetype: attempted to get fancy with glyph rendering, but ended up undoing many of the changes. As a result the ft_render_cb.c macros are more involved, though there is less redundancy.
Lenard Lindstrom
freetype.Face.render: Split out Face.render_to method to blit to an existing surface
Lenard Lindstrom
freetype: Font is now Face; its bold style is renamed strong to distinguish it from a bold font face in a distinct file.