mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-23 11:36:54 -04:00
Corrected EAN-13 text bug
This commit is contained in:
parent
285c2c8555
commit
3e68f49f35
1 changed files with 1 additions and 0 deletions
|
@ -613,6 +613,7 @@ int png_plot(struct zint_symbol *symbol, int rotate_angle)
|
||||||
draw_bar(pixelbuf, (94 + xoffset), 1, (4 + (int)yoffset), 5, image_width, image_height);
|
draw_bar(pixelbuf, (94 + xoffset), 1, (4 + (int)yoffset), 5, image_width, image_height);
|
||||||
|
|
||||||
textpart[0] = symbol->text[0];
|
textpart[0] = symbol->text[0];
|
||||||
|
textpart[1] = '\0';
|
||||||
textpos = 2 * (-7 + xoffset);
|
textpos = 2 * (-7 + xoffset);
|
||||||
draw_string(pixelbuf, textpart, textpos, (image_height - 17), image_width, image_height);
|
draw_string(pixelbuf, textpart, textpos, (image_height - 17), image_width, image_height);
|
||||||
for(i = 0; i < 6; i++) {
|
for(i = 0; i < 6; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue