Update bwipp_dump; README: mention doc; some other tweaks

This commit is contained in:
gitlost 2022-08-21 15:15:27 +01:00
parent b42f456b88
commit 25c9582ae2
7 changed files with 58 additions and 462 deletions

View file

@ -660,7 +660,8 @@ static int pdf_initial(struct zint_symbol *symbol, const unsigned char chaine[],
break;
case BYT: /* 670 - octet stream mode */
pdf_byteprocess(chainemc, &mclength, chaine, indexchaine, liste[0][i], *p_lastmode, debug_print);
if (*p_lastmode != TEX || liste[0][i] != 1) { /* don't switch mode on single byte shift from text mode */
/* don't switch mode on single byte shift from text mode */
if (*p_lastmode != TEX || liste[0][i] != 1) {
*p_lastmode = BYT;
} else if (*p_curtable == T_PUNCT && *p_tex_padded) { /* If T_PUNCT and padded with AL */
/* Then need to reset to alpha - ISO/IEC 15438:2015 5.4.2.4 b) 2) */