问题
I am trying to fit a 417 barcode generated by itext into the pdf page. I just spills out of the page. Also the barcode looks different compared to the barcode in adobe acrobat.
I have tried and played around with different settings , nothing has worked so far.
The original adobe pdf has y/x ratio of 2, and x = 0.0133 inches and error correction 5. I have tried the same settings in itext.
Should I create a box first and do something to fit the image in a box. ?
来源:https://stackoverflow.com/questions/42081317/why-doesnt-the-itext-barcode-fit-the-page