Commit Graph

12 Commits

Author SHA1 Message Date
97edea85af Create more unit tests for USB Devices and Printer Driver (#21)
All checks were successful
Build ptprnt / build (push) Successful in 2m59s
Reviewed-on: #21
2025-10-21 18:55:32 +00:00
d8467b8984 remove-dependencies (#20)
All checks were successful
Build ptprnt / build (push) Successful in 2m10s
Reviewed-on: #20
2025-10-19 11:35:00 +00:00
4c94cae088 Multilabel support & Label refactoring (#17)
All checks were successful
Build ptprnt / build (push) Successful in 3m47s
Reviewed-on: moritz/ptouch-prnt#17
2025-10-16 18:36:42 +00:00
2d37f6fcfb cli-parser-cleanup (#15)
All checks were successful
Build ptprnt / build (push) Successful in 3m50s
Reviewed-on: moritz/ptouch-prnt#15
2025-10-13 19:23:27 +00:00
05cd9d244c Generate labels with pangocairo (#8)
All checks were successful
Build ptprnt / build (push) Successful in 3m41s
Goal of this PR is to have some basic labels generated with pangocairo
- size of the canvas should be matching the input text and grow/shrink accordingly
- basic formatting options like fontsize and align should be working

Reviewed-on: moritz/ptouch-prnt#8
2025-10-12 20:07:18 +00:00
ad0b2c91ae Add a printer factory to simplify construction of printer drivers (#11)
All checks were successful
Build ptprnt / build (push) Successful in 1m1s
Co-authored-by: Moritz Martinius <mm@cloudprinters.de>
Reviewed-on: moritz/ptouch-prnt#11
2024-04-20 11:10:30 +00:00
cd15930e1d Fix Logger and other build issues (#7)
All checks were successful
Build ptprnt / build (push) Successful in 1m49s
This branch fixes a couple of issues with the build
- stop linking everything in a library which is then linked against a single main. It doesn't work the way I wanted. If functionality needs to be exposed by a library, it can be done later or with a separate target
- This should also fix spdlog
- Source files are now in a separate meson file using mesons files() feautre
- Improve coverage generation by adding a script generating html coverage reports. This will hopefully keep the motivation higher to create more unit tests
- Increase the code coverage a bit to demonstrate that statement above is not a fluke 😄

Reviewed-on: moritz/ptouch-prnt#7
2023-11-16 20:26:22 +00:00
7905f37150 first successful print of gibberish 2023-09-24 11:49:57 +02:00
1381efb5d1 Add license header to all source files 2023-09-23 16:09:21 +02:00
55896d74f9 Add class for converting Bitmaps to monochrome bytes representation 2023-09-23 15:10:50 +02:00
c0811df4bb Moved graphics classes into own namespace, added unit testing with gtest 2023-09-23 13:33:10 +02:00
bd9a39e185 Initial commit, basic CMake project
Signed-off-by: Moritz Martinius <moritz@admiralackbar.de>
2022-11-12 18:34:40 +01:00