From: Andrey Chilikin Date: Wed, 10 Dec 2014 20:25:27 +0000 (+0000) Subject: Updated X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=34545e78590150e662b69f3833d2b79f9a20f56e;p=corbenik%2Fbdfe.git Updated --- diff --git a/bdf.c b/bdf.c index 7a9d800..8353d2d 100644 --- a/bdf.c +++ b/bdf.c @@ -256,10 +256,14 @@ bdfe_t *bdf_convert(const char *name, unsigned gmin, unsigned gmax, unsigned asc memcpy(gout, gin, dy); if (!mute) { + // glyph per line if (flags & BDF_GPL) { printf("\t"); - for(i = 0; i < dy; i++) + for(i = 0; i < gh; i++) { + if ((i == gh/2) && (flags & BDF_ROTATE)) + printf("\n\t"); printf("0x%02X,", gout[i]); + } printf(" // %5d", idx); if (isprint(idx)) printf(" '%c'", idx);