Closed tailsu closed 10 months ago
For composite symbols, multiple helper encoders are called that are passed the same instance of the options
dictionary, which they modify (for example by clearing parse
) before calling the ultimate encoder. However, these changes unintentionally bubble back up to the caller and therefore erroneously affect subsequent encoder calls.
I've fixed obvious issues by avoiding superfluous modifications to the options
dict. I may have missed some instances in which case the generic (but less efficient) fix is of the form presented in 4e130138bddab39193290416841b477e50c9dde8.
Please test and if it looks good I'll cut a new release.
Tested, works! Thanks for the quick fix 👍
I generate a
databarexpandedstackedcomposite
with theparse
option with the following content:The generated barcode is incorrect, as it decodes to (in machine-readable format):
The escaped parentheses are apparently not correctly encoded. It should instead decode to:
If I change the barcode type to
databaromnicomposite
, then the parentheses are correctly encoded in the barcode and the whole barcode decodes to the expected string.