Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix param list to call write2DBarcode() #568

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Conversation

sarigue
Copy link
Contributor

@sarigue sarigue commented May 27, 2020

7th parameter of write2DBarcode() must be array "style"... but empty string given !

@cedric-r-mycelium
Copy link

Please merge this fix because make timeout on big document with barcode and can't generate the PDF

@spipu spipu merged commit 203d455 into spipu:master Jun 23, 2020
@@ -1345,7 +1345,7 @@ public function myBarcode($code, $type, $x, $y, $w, $h, $labelFontsize, $color,
// build the barcode
if ($dimension === '2D') {
// PDF417, DATAMATRIX ...
$this->write2DBarcode($code, $type, $x, $y, $w, $h, '', $style, 'N');
$this->write2DBarcode($code, $type, $x, $y, $w, $h, $style, 'N');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest remove $style['position'] = 'S'; for write2DBarcode because it makes unreadable Barcode

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not hesitate to create a new PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants