mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add HEIGHTPERROW_MODE_input mode flag (#204)
backend_qt: add encodedWidth, encodedRows DBAR_EXPSTK: add max rows option (option_3) CODE16K/CODE49: add min rows option (option_1) GUI: HIBC xxx -> HIBC
This commit is contained in:
@ -424,7 +424,11 @@ INTERNAL int set_height(struct zint_symbol *symbol, const float min_row_height,
|
||||
|
||||
if (zero_count) {
|
||||
if (symbol->height) {
|
||||
row_height = stripf((symbol->height - fixed_height) / zero_count);
|
||||
if (symbol->input_mode & HEIGHTPERROW_MODE) {
|
||||
row_height = stripf(symbol->height);
|
||||
} else {
|
||||
row_height = stripf((symbol->height - fixed_height) / zero_count);
|
||||
}
|
||||
} else if (default_height) {
|
||||
row_height = stripf(default_height / zero_count);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user