cropped_height = wb->height - wb->crop[0] - wb->crop[1];
cropped_width = wb->width - wb->crop[2] - wb->crop[3];
font_size = cropped_height * .066;
- safe_zone = cropped_height * 0.025;
- cell_height = (cropped_height - 2 * safe_zone) / 16;
- cell_width = (cropped_width - 2 * safe_zone) / 32;
+
+ safe_zone = cropped_height * 0.025;
+ cell_height = (wb->height - 2 * safe_zone) / 16;
+ cell_width = (wb->width - 2 * safe_zone) / 32;
// Calculate position assuming the position defines
// the baseline of the text which is lower left corner