raster: reduce UPCEAN letter_gap to 4 (too close to guards at 5)

This commit is contained in:
gitlost
2020-09-14 23:24:49 +01:00
parent 1adba12fce
commit 5a272d17ce
11 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ static void draw_string(char *pixbuf, unsigned char input_string[], int xposn, i
if (textflags & UPCEAN_TEXT) { /* Needs to be before SMALL_TEXT check */
/* No bold for UPCEAN */
letter_width = textflags & SMALL_TEXT ? UPCEAN_SMALL_FONT_WIDTH : UPCEAN_FONT_WIDTH;
letter_gap = 5;
letter_gap = 4;
} else if (textflags & SMALL_TEXT) { // small font 5x9
/* No bold for small */
letter_width = SMALL_FONT_WIDTH;