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:
Harald Oehlmann 2017-10-23 17:07:30 +02:00
parent 73c9b502b5
commit 4b03bccba0
6 changed files with 10 additions and 7 deletions

View file

@ -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;
}