raster: reduce UPCEAN letter_gap to 4 (too close to guards at 5)
@ -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 */
|
if (textflags & UPCEAN_TEXT) { /* Needs to be before SMALL_TEXT check */
|
||||||
/* No bold for UPCEAN */
|
/* No bold for UPCEAN */
|
||||||
letter_width = textflags & SMALL_TEXT ? UPCEAN_SMALL_FONT_WIDTH : UPCEAN_FONT_WIDTH;
|
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
|
} else if (textflags & SMALL_TEXT) { // small font 5x9
|
||||||
/* No bold for small */
|
/* No bold for small */
|
||||||
letter_width = SMALL_FONT_WIDTH;
|
letter_width = SMALL_FONT_WIDTH;
|
||||||
|
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 901 B |
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1002 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 865 B |
Before Width: | Height: | Size: 929 B After Width: | Height: | Size: 941 B |
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 910 B |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 831 B After Width: | Height: | Size: 828 B |