7e53409df8
mftrace is a small Python program that lets you trace a TeX bitmap font into a PFA or PFB font (PostScript Type1 Scalable Font) or TTF (TrueType) font. submitted by Matt Jibson <dolmant at gmail.com> "looks ok" alek@
13 lines
411 B
Plaintext
13 lines
411 B
Plaintext
$OpenBSD: patch-gf2pbm_c,v 1.1.1.1 2006/06/25 10:42:23 steven Exp $
|
|
--- gf2pbm.c.orig Mon Jun 19 13:03:11 2006
|
|
+++ gf2pbm.c Mon Jun 19 13:03:23 2006
|
|
@@ -694,7 +694,7 @@ main (int argc, char * argv [])
|
|
if(!out_file)
|
|
{
|
|
static char s[100];
|
|
- sprintf (s, "%d.pbm", glyph_num);
|
|
+ snprintf (s, sizeof(s), "%d.pbm", glyph_num);
|
|
outfilename = s;
|
|
out_file = fopen (s, "w");
|
|
}
|