bdf2sfd

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

commit 427bef321458e82572ecd7c88644dbbcf7594d38
parent 090685b3260b37684f7e9bc335f3996acdba1635
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat, 14 Dec 2019 20:50:12 +0100

Detect STARTCHAR markers when parsing input.

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

diff --git a/src/bdftosfd.c b/src/bdftosfd.c @@ -109,6 +109,10 @@ main(int argc, char *argv[]) { while (fgets(lineBuffer, LINE_LENGTH_MAX, bdfFile)) { if (*lineBuffer) { + if (!strncmp(lineBuffer, "STARTCHAR", 9)) { + continue; + } + if (!strncmp(lineBuffer, "ENCODING", 8)) { token = strtok(lineBuffer, " \t");