mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 07:34:35 -04:00
Make compile with MS-VC and set release version 2.6.2 in various files
Attention: qtzint.exe core dumpfs for me
This commit is contained in:
parent
73c9b502b5
commit
4b03bccba0
6 changed files with 10 additions and 7 deletions
|
@ -254,9 +254,10 @@ int render_plot(struct zint_symbol *symbol, float width, float height) {
|
|||
else if (symbol->symbology == BARCODE_CODE49) {
|
||||
/* The minimum X-dimension of Code 49 is 0.191mm */
|
||||
if (x_dimension < 0.191) {
|
||||
float encoded_symbol_aspect;
|
||||
x_dimension = 0.191;
|
||||
width = 0.191 * GL_CONST * total_area_width_x;
|
||||
float encoded_symbol_aspect = total_area_width_x;
|
||||
encoded_symbol_aspect = total_area_width_x;
|
||||
encoded_symbol_aspect /= (preset_height + (2 * yoffset) + text_offset + text_height);
|
||||
height = width / encoded_symbol_aspect;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue