]> git.cworth.org Git - spritext/commitdiff
Bundle Bitstream Vera with spritext to eliminate one point of failure
authorCarl Worth <cworth@cworth.org>
Wed, 13 Feb 2008 18:19:48 +0000 (10:19 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 13 Feb 2008 18:19:48 +0000 (10:19 -0800)
Of course, in the future we'll want to use fontconfig to
actually find a font given a family name.

Vera.ttf [new file with mode: 0644]
spritext.c

diff --git a/Vera.ttf b/Vera.ttf
new file mode 100644 (file)
index 0000000..58cd6b5
Binary files /dev/null and b/Vera.ttf differ
index 1405c48c4ce1d166a2220d42501c4c13abf7bf3a..9bcffbef94c59a5300c756d4538a925adcc351ff 100644 (file)
@@ -33,7 +33,7 @@ get_max_height (cairo_t *cr, char *characters);
 int
 main (void)
 {
-    const char font_filename[] = "/srv/rdworth.org/cgi-bin/Verdana.ttf";
+    const char font_filename[] = "./Vera.ttf";
     char outputJson = FALSE;
 
     char characters[] = {