Michael Elsdörfer
ea7769f8b2
Merge remote-tracking branch 'origin/development' into capabilities
2016-08-30 13:04:17 +02:00
Michael Elsdörfer
5fa89ff685
Automatically choose correct barcode function.
...
Tests for barcode function.
2016-08-30 13:02:58 +02:00
Michael Elsdörfer
a07f84a5bc
Match the current printer-db format.
2016-08-30 12:26:09 +02:00
Michael Elsdörfer
632a104219
Fix docstring warning.
2016-08-26 11:59:40 +02:00
Michael Elsdörfer
8b5bc9cf8a
Make the Escpos class accept a profile.
...
This is now used for the block_text function.
2016-08-26 10:41:01 +02:00
Michael Elsdörfer
07d47765aa
Allow linespacing reset. Make this the default.
2016-08-26 10:38:36 +02:00
Michael Elsdörfer
854b75be30
Support changing the line spacing.
2016-08-26 10:34:52 +02:00
Patrick Kanzler
798893caee
refactor access of private member _img of qrcode
...
Since version 2.5 python-qrcode allows the direct access of the
PIL-functions. (We require version 4 and above).
Thus, we can simply call qr_img.convert() without accessing the private
member.
This refactoring is identical in functionality.
2016-08-15 23:24:06 +02:00
Patrick Kanzler
e8d91a6735
test add type-check for the qr-printing
2016-08-15 23:23:07 +02:00
Patrick Kanzler
2ecf73074c
improve large image printing
...
images longer than 1024 pixels will be split into multiple fragments.
2016-08-02 00:04:43 +02:00
Patrick Kanzler
87438f9efa
SETUP move code to src
...
This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015
+ DOC adapt doc to new structure and test doc with travis
2016-06-20 17:48:14 +02:00