1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00

#209 ps.c move string loop inside if string check

This commit is contained in:
gitlost
2021-02-10 22:37:59 +00:00
parent b3610d3c43
commit 4875a3bcac

View File

@@ -420,8 +420,7 @@ INTERNAL int ps_plot(struct zint_symbol *symbol) {
fprintf(feps, "/Helvetica-ISOLatin1 exch definefont pop\n");
font = "Helvetica-ISOLatin1";
}
}
while (string) {
do {
ps_convert(string->text, ps_string);
fprintf(feps, "matrix currentmatrix\n");
fprintf(feps, "/%s findfont\n", font);
@@ -444,6 +443,7 @@ INTERNAL int ps_plot(struct zint_symbol *symbol) {
}
fprintf(feps, "setmatrix\n");
string = string->next;
} while (string);
}
//fprintf(feps, "\nshowpage\n");