mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Various minor bugfixes
This commit is contained in:
parent
f3e8505fd4
commit
93d65a910c
9 changed files with 833 additions and 774 deletions
|
@ -714,7 +714,11 @@ int png_plot(struct zint_symbol *symbol, int rotate_angle, int data_type)
|
|||
unsigned char* local_text = (unsigned char*)_alloca(ustrlen(symbol->text) + 1);
|
||||
#endif
|
||||
|
||||
to_latin1(symbol->text, local_text);
|
||||
if(symbol->show_hrt != 0) {
|
||||
to_latin1(symbol->text, local_text);
|
||||
} else {
|
||||
local_text[0] = '\0';
|
||||
}
|
||||
|
||||
textdone = 0;
|
||||
main_width = symbol->width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue