bdf2sfd

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

commit 73246a9c0538a7d98793c1041e7a02e13ae2a88c
parent 899a5d3e9679bd54fd735397349b9f9c75af6618
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 30 Mar 2020 13:41:32 +0200

Wrap lines longer than 80 columns.

Diffstat:
Msrc/header.c | 7+++++--
Msrc/polygon.c | 5+++--
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/header.c b/src/header.c @@ -4,7 +4,7 @@ * https://github.com/fcambus/bdf2sfd * * Created: 2019-11-21 - * Last Updated: 2020-02-12 + * Last Updated: 2020-03-30 * * bdf2sfd is released under the BSD 2-Clause license * See LICENSE file for details @@ -72,6 +72,9 @@ header(FILE *stream, struct fontinfo *font) fprintf(stream, "AntiAlias: 0\n"); fprintf(stream, "FitToEm: 1\n"); fprintf(stream, "WinInfo: 64 16 4\n"); - fprintf(stream, "TeXData: 1 0 0 346030 173015 115343 0 1048576 115343 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144\n"); + fprintf(stream, "TeXData: 1 0 0 346030 173015 115343 0 1048576 115343 " + "783286 444596 497025 792723 393216 433062 380633 " + "303038 157286 324010 404750 52429 2506097 1059062 " + "262144\n"); fprintf(stream, "BeginChars: 65536 %s\n\n", font->chars); } diff --git a/src/polygon.c b/src/polygon.c @@ -4,7 +4,7 @@ * https://github.com/fcambus/bdf2sfd * * Created: 2019-11-21 - * Last Updated: 2020-02-08 + * Last Updated: 2020-03-30 * * bdf2sfd is released under the BSD 2-Clause license * See LICENSE file for details @@ -14,7 +14,8 @@ #include <stdio.h> void -polygon(uint32_t row, uint32_t mask, uint32_t width, float x, float y, float xlength, float ylength) { +polygon(uint32_t row, uint32_t mask, uint32_t width, + float x, float y, float xlength, float ylength) { for (size_t column = 0; column < width; column++) { if ((row & (mask >> column)) != 0) { x = column * xlength;