Skip to content

Commit

Permalink
added python test file to test for cairo segmentation fault
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Collins committed Dec 9, 2014
1 parent 14f9d62 commit 4f2aa52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions decoder/test_cairo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import svgutils
from os.path import join as pathjoin, dirname, realpath
font_file = realpath('fonts/Helvetica.ttf')
print font_file
f = svgutils.create_cairo_font_face_for_file(font_file)
assert f

0 comments on commit 4f2aa52

Please sign in to comment.