GitXplorerGitXplorer
m

freetype_test

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
615024a048be5e44dcbe76b78e0e41ae07b41d72

Also output monochrome render.

mmdboom committed 12 years ago
Unverified
c7a3eddca85b027b9d90250eafb895aa027d58c2

Display more info

mmdboom committed 12 years ago
Unverified
7fa37522977d81cadbe7186f2e9facad0eca91e3

Remove crud

mmdboom committed 12 years ago
Unverified
c73c7b1b71fbb0ac6f7707279e0ac38fe89ccf9c

Output the bitmap of a character

mmdboom committed 12 years ago
Unverified
33fa71023a6a9705bcb82464d58093180711b71a

Reset some tinkerings

mmdboom committed 12 years ago
Unverified
abb3ff08e49ff548bc38d0dfa8bb7884ae588da8

Make ptsize and dpi configurable

mmdboom committed 12 years ago

README

The README file for this repository.

A simple test to track down some platform-specific differences we were seeing in freetype font rendering inside of matplotlib.

Thanks to Thomas Robitaille (@astrofrog) for setting a lot of the theoretical groundwork for this.

BUILD: make

RUN: ./freetype_test [charcode] [fontfile] [ptsize] [dpi] [stretch] [output_file]

    e.g.:

    ./freetype_test Vera.ttf 97 20 500 8 test

    To match what matplotlib does, set stretch to 8.  To turn off
    the effect of stretching (to see if it matters) set stretch to
    1.

    This will output two files, test_grey.pgm (greyscale antialiased)
    and test_mono.pgm (monochrome bitmap).