GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d3b8c
)
Oprava prevodu z PS do PNG pro novejsi verzi GNU barcode
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 14 Jun 2013 21:17:11 +0000
(23:17 +0200)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 14 Jun 2013 21:17:11 +0000
(23:17 +0200)
lib/Barcode.class.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/Barcode.class.php
b/lib/Barcode.class.php
index f65df4f0e8fc5948f82e87d8315fc54d4f5276a1..b75f2ba9a91031812f65813c5eab839117e87133 100755
(executable)
--- a/
lib/Barcode.class.php
+++ b/
lib/Barcode.class.php
@@
-37,7
+37,7
@@
class Barcode {
static function generate_barcode($string='EXAMPLE', $convert='png', $enctype='code128b') {
$string = escapeshellarg($string);
$enctype = escapeshellarg($enctype);
- $convert = $convert ? " | convert - -crop 0x60+0+30\\! -background
whit
e -flatten $convert:-" : '';
+ $convert = $convert ? " | convert - -crop 0x60+0+30\\! -background
non
e -flatten $convert:-" : '';
return shell_exec("barcode -e $enctype -E -b $string$convert");
}
This page took
0.154078 seconds
and
4
git commands to generate.