bdf2sfd

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

commit 0a168ea9bdc67fafc4fe96190594b5e755e58c81
parent 6a315c0b02d683171240d325e02da972826aa6ba
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  7 Feb 2020 22:18:57 +0100

Simplify handling of STARTCHAR values.

Diffstat:
Msrc/bdf2sfd.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/bdf2sfd.c b/src/bdf2sfd.c @@ -225,14 +225,10 @@ main(int argc, char *argv[]) continue; case STARTCHAR: - fprintf(stdout, "StartChar:"); - value = strtok(NULL, "\n"); - while (value) { - fprintf(stdout, " %s\n", value); - value = strtok(NULL, " \n"); - } + if (value) + fprintf(stdout, "StartChar: %s", value); continue;