* src/bc-postnet.c: (gl_barcode_postnet_new):
* src/bc.c:
Added support for Brazilian CEPNet barcodes. This is simply an
instance of the US POSTNET format with 8 digits. Patch supplied
by Mário Meyer in bug #
1768792.
* AUTHORS:
Updated acknowledgments to reflect above patch and recent shuffling
of underlying technology.
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@663
f5e0f49d-192f-0410-a22d-
a8d8700d0965
Acknowledgments
===============
-The GNU Barcode Library provides a large chunk of the barcode functionality
+- The GNU Barcode Library provides a large chunk of the barcode functionality
and is distributed with glabels. See ./barcode-0.98/README for more
information. The author:
Alessandro Rubini <rubini@gnu.org>
+- The iec16022 library provides encoding for 2D barcodes. See
+iec16022-0.2.1/README for more information.
-I borrowed the hacktext canvas item from libgnomeprint to render text that
-is faithful to the final printed product. Original authors of the hacktext
-canvas item:
-
- Federico Mena <federico@nuclecu.unam.mx>,
- Raph Levien <raph@acm.org>,
- Lauris Kaplinski <lauris@helixcode.com>
-
-Glabels includes modified versions of several widgets from the GAL library.
+- Glabels includes modified versions of several widgets from the GAL library.
These are copyright:
* Copyright 2000, 2001, Ximian, Inc.
* Copyright 2000, Michael Levy
* Copyright 2001, Almer S. Tigelaar
-Glabels includes gnome-recent objects. The author:
-
- James Willcox <jwillcox@cs.indiana.edu>
-
-Glabels includes a modified version of the gimpchainbutton widget from the
+- Glabels includes a modified version of the gimpchainbutton widget from the
gimp, as well as several stock icons from the gimp's default theme.
These are copyright:
José Dapena Paz <jdapena@igalia.com>
Akkana <akkana@shallowsky.com>
Dag Wieers <dag@wieers.com>
+ Mário Meyer <mario@meyer.eti.br>
Translations:
+2007-08-10 Jim Evins <evins@snaught.com>
+
+ * src/bc-postnet.c: (gl_barcode_postnet_new):
+ * src/bc.c:
+ Added support for Brazilian CEPNet barcodes. This is simply an
+ instance of the US POSTNET format with 8 digits. Patch supplied
+ by Mário Meyer in bug # 1768792.
+ * AUTHORS:
+ Updated acknowledgments to reflect above patch and recent shuffling
+ of underlying technology.
+
2007-05-13 Jim Evins <evins@snaught.com>
* src/merge-text.c: (parse_line), (parse_field):
return NULL;
}
}
+ if ( (g_strcasecmp (id, "CEPNET") == 0) ) {
+ if (!is_length_valid (digits, 8)) {
+ return NULL;
+ }
+ }
/* First get code string */
code = postnet_code (digits);
{ "POSTNET-11", N_("POSTNET-11 (DPBC)"), gl_barcode_postnet_new,
FALSE, FALSE, TRUE, FALSE, "12345-6789-12", FALSE, 11},
+ { "CEPNET", N_("CEPNET"), gl_barcode_postnet_new,
+ FALSE, FALSE, TRUE, FALSE, "12345-678", FALSE, 8},
+
{ "EAN", N_("EAN (any)"), gl_barcode_gnubarcode_new,
TRUE, TRUE, TRUE, FALSE, "000000000000 00000", FALSE, 17},