Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d03c2a

Browse files
committed
added mathtext
svn path=/trunk/matplotlib/; revision=157
1 parent d4a0da6 commit 0d03c2a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

fonts/ttf/cmtt10.ttf

27.5 KB
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Build the fonttools and TTFQuery packages, required by the Paint,
77
# Agg and GD backends.
8-
BUILD_FONTTOOLS = 1
8+
BUILD_FONTTOOLS = 0
99

1010
# AGG is a new backend that wraps the antigrain geometry toolkit; set
1111
# BUILD_AGG to 1 to build it. Agg makes heavy use of templates, so it

src/ft2font.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ FT2Font_draw_glyph_to_bitmap(FT2FontObject *self, PyObject *args)
700700
//printf("draw_glyph_to_bitmap parsed args: %ld %ld\n", x, y);
701701
error = FT_Glyph_To_Bitmap(&self->glyphs[glyph->glyph_num],
702702
FT_RENDER_MODE_NORMAL,
703-
0, //no additional translation
703+
0, //no additional translation
704704
0 //don't destroy image
705705
);
706706

@@ -715,7 +715,7 @@ FT2Font_draw_glyph_to_bitmap(FT2FontObject *self, PyObject *args)
715715

716716
//printf("draw_glyph_to_bitmap to image at %ld, %lu, %lu, %lu\n",
717717
//x, y, self->image.width, self->image.height);
718-
printf("\tbitmap props %d, %d\n", bitmap->left, bitmap->top);
718+
//printf("\tbitmap props %d, %d\n", bitmap->left, bitmap->top);
719719

720720

721721
draw_bitmap( &bitmap->bitmap,

0 commit comments

Comments
 (0)