r19688 by jghali - #12858: fix some barcode example as new barcode.ps has more stringent checks
scribus-commit
scribus-commit at lists.scribus.net
Sat Dec 27 02:00:05 UTC 2014
Author: jghali
Date: Sat Dec 27 02:00:05 2014
New Revision: 19688
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19688
Log:
#12858: fix some barcode example as new barcode.ps has more stringent checks
Modified:
trunk/Scribus/scribus/plugins/barcodegenerator/barcode.cpp
trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
Modified: trunk/Scribus/scribus/plugins/barcodegenerator/barcode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19688&path=/trunk/Scribus/scribus/plugins/barcodegenerator/barcode.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/barcodegenerator/barcode.cpp (original)
+++ trunk/Scribus/scribus/plugins/barcodegenerator/barcode.cpp Sat Dec 27 02:00:05 2014
@@ -48,7 +48,7 @@
about->authors = QString::fromUtf8("Terry Burton - <tez at terryburton.co.uk>, Petr Van\xc4\x9bk <petr at scribus.info>");
about->shortDescription = tr("Scribus frontend for Pure PostScript Barcode Writer");
about->description = "Barcode Writer in Pure PostScript is an award-winning open source barcode maker, as used by NASA, that facilitates the printing of all major barcode symbologies entirely within level 2 PostScript, ideal for variable data printing. The complete process of generating printed barcodes is performed entirely within the printer (or print system) so that it is no longer the responsibility of your application or a library. There is no need for any barcode fonts and the flexibility offered by direct PostScript means you can avoid re-implementing barcode generator code, or migrating to new libraries, whenever your project language needs change.\nhttp://www.terryburton.co.uk/barcodewriter/ . Hence, this plugin requires Ghostscript to be installed on your system.";
- about->version = "Backend: 2014-01-30";
+ about->version = "Backend: 2014-12-11";
// about->releaseDate
about->copyright = QString::fromUtf8("Backend: Copyright (c) 2004-2014 Terry Burton - tez at terryburton.co.uk\nFrontend: Copyright (c) 2005 Petr Van\xc4\x9bk - petr at scribus.info");
about->license = "Backend: MIT/X-Consortium, Frontend: GPL";
Modified: trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19688&path=/trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp (original)
+++ trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp Sat Dec 27 02:00:05 2014
@@ -39,7 +39,7 @@
setModal(true);
map[tr("EAN-13")] = BarcodeType("ean13", "9780956078001", tr("12 or 13 digits"),
"[0-9]{12,13}");
- map[tr("EAN-8")] = BarcodeType("ean8", "12345678", tr("8 digits"),
+ map[tr("EAN-8")] = BarcodeType("ean8", "12345670", tr("8 digits"),
"[0-9]{8,8}");
map[tr("UPC-A")] = BarcodeType("upca", "78858101497", tr("11 or 12 digits"),
"[0-9]{11,12}");
@@ -65,7 +65,7 @@
map[tr("UCC/EAN-128")] = BarcodeType("code128", "^104^102Count^0991234^101!",
tr("Variable number of ASCII characters and special function symbols, starting with the appropriate start character for the initial character set. UCC/EAN-128s must have a mandatory FNC 1 symbol immediately following the start character."),
"\\^[0-9a-zA-Z\\^\\!]*");
- map[tr("Rationalized Codabar")] = BarcodeType("rationalizedCodabar", "0123456789",
+ map[tr("Rationalized Codabar")] = BarcodeType("rationalizedCodabar", "A0123456789D",
tr("Variable number of digits and any of the symbols -$:/.+ABCD."),
"[0-9A-D\\-\\$\\:\\/\\.\\+]*",
true, true);
@@ -80,7 +80,7 @@
map[tr("Code 2 of 5")] = BarcodeType("code2of5", "0123456789",
tr("Variable number of digits"),
"[0-9]*");
- map[tr("Postnet")] = BarcodeType("postnet", "01234567",
+ map[tr("Postnet")] = BarcodeType("postnet", "012345678",
tr("Variable number of digits"),
"[0-9]*",
false, true);
@@ -200,7 +200,7 @@
return;
}
-ui.okButton->setEnabled(true);
+ ui.okButton->setEnabled(true);
QString s = ui.bcCombo->currentText();
ui.commentEdit->setText(map[s].comment);
More information about the scribus-commit
mailing list