-
-
Notifications
You must be signed in to change notification settings - Fork 35
Bad height of Code128 and alike #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which initial version you mean? Do you have a link? Thanks |
Hi landrix , Well difficult to say. I simply can't remember where I got hold of this - but fear not the original zip file is attached to this post - it was originally downloaded on 2020-01-15 (from somewhere ??) Zint-Barcode-Generator-for-Delphi-master.zip I can do a simple file compare, and yes there are some changes made with respect to a 'Height' container in the new version, but I'm afraid I cannot see exactly how to rework the source to have the same functionality as the old version (attached) and f.i. the DATA MATRIX code seems to work as usual. If You have further question - feel free to post back |
Ok thanks, I will see |
Hi again, I think it is this procedure that causes the problem (zint.pas): Best regards |
Any news on this issue? Best regards |
I suppose the error is into function ZBarcode_Encode of zint.pas:
fixed code:
Do you agree with this fix? |
Both versions (initial and current) produce the same output for me. i don't have any scaling-problems. Delphi 11.3 and Surface Laptop with HighDPI 150%. So, whats different? |
Hi,
First of all thanks for this super port. I'm using the initial version with great joy. Now I'm testing version 25.02.2020:
Comparing the latest version of Zint for Delphi with the previous one I find that a lot Code128 or alike are not taking correct dimensions.
They are cropped in height by some fixed factor. To illustrate please see below - screen dump taken form the supplied VCL demos.
<----- Left shows version: 25.02.2020 Girocode-Generator EPC-QR: -----> Right shows initial version:
The BoxModel does not seem to have changed - so I guess this is a small bug and happens for all 'simple' linestyled bar codes Code128 UPC .. etc?
Would be nice to have that fixed ;-)
Best regards
zEn
The text was updated successfully, but these errors were encountered: