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

Add compact option on Text renderer #25

Closed
wants to merge 4 commits into from
Closed

Conversation

consatan
Copy link

@consatan consatan commented Dec 8, 2016

Add a compact option on Text renderer.

e.g. foobar QR code
qrcode

@DASPRiD
Copy link
Member

DASPRiD commented Dec 8, 2016

Oh, this looks quite interesting. Got a screenshot of a rendering output which actually looks proper? Github seems to destroy it somewhat :)

@consatan
Copy link
Author

consatan commented Dec 8, 2016

@DASPRiD Uploaded the example compact text QR code image.

$this->assertEquals($expected, $this->renderer->render($qrCode));
}

public function testBaseCompactRenderWithMargins()
Copy link
Member

Choose a reason for hiding this comment

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

I'd split this test up and put the expected output plus margin in a data provider, so the test can run off those data.

@DASPRiD DASPRiD added this to the 2.0 milestone Oct 26, 2017
@DASPRiD DASPRiD mentioned this pull request Oct 26, 2017
5 tasks
@DASPRiD DASPRiD closed this in #38 Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants