Commit Graph

6 Commits

Author SHA1 Message Date
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
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
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
c0811df4bb Moved graphics classes into own namespace, added unit testing with gtest 2023-09-23 13:33:10 +02:00