Quiet zones and X-dimension
Every 1D code needs clear space either side — around ten times the narrow bar width for EAN and ITF-14. Shrink the code to fit a crowded label and you shrink the narrow bar with it, until the scanner can no longer resolve it. Set the X-dimension first, then design the label around it.