Linear barcode text options being ignored #200
Replies: 1 comment 3 replies
-
It's not intended as an optimisation. When
Setting another alignment "mode" causes the encoder-indicated positions to be ignored and string placement to be used instead. Do you have some examples for options strings that lead to surprising results? It might the that we can take the opportunity to tweak things to follow the principle of least surprise. |
Beta Was this translation helpful? Give feedback.
-
In relinear.ps, line 196 reads:
textxalign (unset) eq textyalign (unset) eq and alttext () eq and {
This is intended to special-case trivial text rendering, but will unexpectedly cause textxoffset, textyoffset, textgaps to be ignored when the user is allowing textxalign & textyalign to just use defaults.
It would makes sense to add checks for non-zero textxoffset, textyoffset & textgaps, but I'd be tempted to just get rid of the whole special-case business entirely since I don't expect it saves enough time to be worth it.
Beta Was this translation helpful? Give feedback.
All reactions