bdf2sfd

BDF to SFD converter, allowing to vectorize bitmap fonts
Log | Files | Refs | README | LICENSE

commit aa94963750353769f67d19611b8e8e2c17c79275
parent a9ada3c9f53c740a417e4de74f8cc2e3bcceeedd
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 21 Jan 2020 15:48:04 +0100

Initialize some values, to appease compilers.

Diffstat:
Msrc/bdftosfd.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bdftosfd.c b/src/bdftosfd.c @@ -110,10 +110,10 @@ main(int argc, char *argv[]) char *token = NULL; char *charname = NULL, *copyright = NULL, *name = NULL, *encoding = NULL, *version = NULL; - char *value; - int32_t ascent, descent; + char *value = NULL; + int32_t ascent = 0, descent = 0; - int32_t x, y; + int32_t x = 0, y = 0; struct fontinfo font; memset(&font, 0, sizeof(struct fontinfo));