pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#75 include freetype module in Pygame 1.9.2

Reported by Lenard Lindstrom

Ready the freetype module for Pygame 1.9.2, and build by default.

The main show-stopper was the incorrect calculation of the text size, leading to a segfault in some cases. Also, freetype.Font differs from font.Font, hindering the adoption of freetype.

As of 1d5c94df54d5 the text size problem was resolved. By 02f253be9632 freetype.Font could do a passible imitation of font.Font. In progress: add new array struct interface capable render_raw_to method, write a drop-in replacement for pygame.font.

Status: open Responsible: Lenard Lindstrom Type: enhancement Priority: major
Milestone: 1.9.2 Component: freetype Version: Development

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Lenard Lindstrom

    written

    • Changed status from new to open.
  2. #2 Lenard Lindstrom

    written

    • Changed status from open to new.

    Committed 841b902f3d15 in preparation for Face.render_raw_to method.

  3. #3 Lenard Lindstrom

    written

    Add top level freetype Python modules ( refs #75 )

    Rename the freetype extension module. Add freetype Python module to combine _freetype and sysfont functionality.

    Add ftfont Python module as a freetype drop-in replacement for pygame.font. The module defines Font, a _freetype.Face subclass that emulates class font.Font.

    47f0f62d053c

  4. #4 illume

    written

    • Changed status from new to open.

    Setting back as 'open' since this is being worked on.

  5. #5 Lenard Lindstrom

    written

    Basic features are in place. Stable Python api. Can emulate pygame.font through the pygame.ftfont wrapper module. Ready for alpha release trials.

    TODO

    • Polish the documentation.
  6. #6 Lenard Lindstrom

    written

    • Changed component from other (module) to freetype.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?