mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 02:35:14 -04:00
Correction to CC-A
Three column CC-A needs to have Centre RAP after first column. Thanks to Terry Burton
This commit is contained in:
parent
b808ad9494
commit
a760d0dc26
1 changed files with 4 additions and 1 deletions
|
@ -251,12 +251,15 @@ int cc_a(struct zint_symbol *symbol, char source[], int cc_width)
|
|||
concat(codebarre, "1");
|
||||
concat(codebarre, codagemc[offset + dummy[1]]);
|
||||
concat(codebarre, "1");
|
||||
if(cc_width == 3) {
|
||||
concat(codebarre, RAPC[CentreRAP]);
|
||||
}
|
||||
if(cc_width >= 2) {
|
||||
concat(codebarre, "1");
|
||||
concat(codebarre, codagemc[offset + dummy[2]]);
|
||||
concat(codebarre, "1");
|
||||
}
|
||||
if(CentreRAPStart != 0) {
|
||||
if(cc_width == 4) {
|
||||
concat(codebarre, RAPC[CentreRAP]);
|
||||
}
|
||||
if(cc_width >= 3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue