* Bulk replaced tabs with spaces
* Bulk removed trailing whitespace from lines
* Replaced c-style comments with c++-style comments in file banners
* Replace nested namespace definitions with single concise definitions (C++17), this keeps the indentation more manageable
* Cleanup ordering and spacing of include directives
* Bulk renaming of header file extensions from '.h' to '.hpp'.
* Update CODING-STYLE.md
* Update target_compile_features from cxx_std_11 to cxx_std_20.
* Refresh .clang-format file. Still needs a lot of tweaking.
- This originally showed up as fonts rendering differently on X11 than Wayland. (#230)
- Setting font size in points should be device and back end independent, however the same exact font face and size, on
the same machine, sometimes results in different font metrics between the xcb and wayland Qt back ends.
- Setting font size in pixels, assuming a virtual DPI of 96 pixels/inch, results in consistent font metrics and rendering
between these back ends. Furthermore, this virtual DPI works for either on-screen or hi-res printer QPainter contexts.
- This virtual DPI seems to work correctly with some limited testing with Windows and MacOS.
- Add rendering tests to build-tests CI script.
- Made greater use of smart pointers, eliminating many instances of manual memory management
- Do not use pointers at all for many non-polymorphic classes
- Assorted other code cleanup
* Update QT5 references 5.6 -> 5.15
Builds and runs but now needs deprecated -> current updates.
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Update build instructions for Fedora 35 particulars
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated QtString::sprintf with QtString::arg
This was deprecated some revisions prior to 5.15.
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated QtString::SkipEmptyParts with Qt::SkipEmptyParts
Builds now with 5.15
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated QPrinter::setPageMargins with 5.15 version
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated QImage::byteCount() with QImage::sizeInBytes()
This could be problematic if qsizetype differs from int
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated endl with QT::endl
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
* Replace deprecated QMatrix with QTransform
Signed-off-by: Jim Lieb <lieb@sea-troll.net>
---------
Signed-off-by: Jim Lieb <lieb@sea-troll.net>