mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-12 22:25:59 -04:00
vector: strip excess precision on text_gap + antialias_fudge
(ticket #293, props Andre Maute) test suite: output: suppress some clang run-time exceptions MemorySanitizer: use-of-uninitialized-value (ticket #292, props Andre Maute
This commit is contained in:
parent
3e96336970
commit
0b653d0d6a
3 changed files with 48 additions and 37 deletions
|
@ -505,7 +505,7 @@ INTERNAL int plot_vector(struct zint_symbol *symbol, int rotate_angle, int file_
|
|||
textoffset = guard_descent;
|
||||
}
|
||||
} else {
|
||||
textoffset = font_height + text_gap + antialias_fudge;
|
||||
textoffset = font_height + stripf(text_gap + antialias_fudge);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue