bdf2sfd

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

commit bd31a0e0d1d07d2bb53dad10412d64b863edc493
parent b8f01af403b6984e9034463571b414e411ef2fda
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 30 Mar 2020 13:32:54 +0200

Reorder variables declaration.

Diffstat:
Msrc/bdf2sfd.c | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/bdf2sfd.c b/src/bdf2sfd.c @@ -73,13 +73,14 @@ main(int argc, char *argv[]) char *value = NULL; - uint32_t height = 0, width = 0; - uint32_t ascent = 0, descent = 0; - int key, stride; + float x = 0.0, y = 0.0; + float xlength = 64.0, ylength = 64.0; /* Default for 8x16 fonts */ + + uint32_t height = 0, width = 0; + uint32_t ascent = 0, descent = 0; uint32_t mask = 0; - float xlength = 64.0, ylength = 64.0; /* Default values for 8x16 fonts */ struct fontinfo font; memset(&font, 0, sizeof(struct fontinfo));