Package: iec16022
Version: 0.2-1
Severity: important

Underscores are not encoded correctly in the barcode at all times. If the
underscore is the 4th or later character in the input, it will be encoded
a carret char (^). Here are a few test cases:

$> iec16022 -c 'te_st' -f png | \
   convert -scale 300x300 png:- te_st.png

works fine, barcode decoded as 'te_st'

$> iec16022 -c 'testtest_test' -f png | \
   convert -scale 300x300 png:- testtest_test.png

fails, barcode is decoded as 'testest^test'

$> iec16022 -c 'te_sttest_test' -f png | \
   convert -scale 300x300 png:- te_sttest_test.png

fails partly, bar code is decoded as 'te_sttest^test'

Please, let me know if I can give any more information.

Andreas Gohr

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages iec16022 depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libpopt0                    1.10-3       lib for parsing cmdline parameters
ii  zlib1g                      1:1.2.3-13   compression library - runtime

iec16022 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to