Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-qtpbfimageformat for 
openSUSE:Factory checked in at 2025-07-30 11:44:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-qtpbfimageformat (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-qtpbfimageformat.new.13279 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-qtpbfimageformat"

Wed Jul 30 11:44:24 2025 rev:6 rq:1296225 version:4.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/qt6-qtpbfimageformat/qt6-qtpbfimageformat.changes    
    2025-07-14 10:58:22.241217923 +0200
+++ 
/work/SRC/openSUSE:Factory/.qt6-qtpbfimageformat.new.13279/qt6-qtpbfimageformat.changes
     2025-07-30 11:45:32.167117791 +0200
@@ -1,0 +2,7 @@
+Tue Jul 29 05:32:32 CEST 2025 - tu...@cbox.cz
+
+- Update to version 4.4
+  * Added support for scaling non-sdf icons.
+  * Improved text-anchor layout property support.
+
+-------------------------------------------------------------------

Old:
----
  QtPBFImagePlugin-4.3.tar.gz

New:
----
  QtPBFImagePlugin-4.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qt6-qtpbfimageformat.spec ++++++
--- /var/tmp/diff_new_pack.7yOH3T/_old  2025-07-30 11:45:33.527174146 +0200
+++ /var/tmp/diff_new_pack.7yOH3T/_new  2025-07-30 11:45:33.527174146 +0200
@@ -19,7 +19,7 @@
 # See also http://en.opensuse.org/openSUSE:Specfile_guidelines
 
 Name:           qt6-qtpbfimageformat
-Version:        4.3
+Version:        4.4
 Release:        1
 Summary:        Qt6 PBF Image Format Plugin
 License:        LGPL-3.0-only

++++++ QtPBFImagePlugin-4.3.tar.gz -> QtPBFImagePlugin-4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPBFImagePlugin-4.3/.appveyor.yml 
new/QtPBFImagePlugin-4.4/.appveyor.yml
--- old/QtPBFImagePlugin-4.3/.appveyor.yml      2025-07-07 17:05:28.000000000 
+0200
+++ new/QtPBFImagePlugin-4.4/.appveyor.yml      2025-07-27 10:53:54.000000000 
+0200
@@ -1,4 +1,4 @@
-version: 4.3.{build}
+version: 4.4.{build}
 
 configuration:
   - Release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPBFImagePlugin-4.3/pbfplugin.pro 
new/QtPBFImagePlugin-4.4/pbfplugin.pro
--- old/QtPBFImagePlugin-4.3/pbfplugin.pro      2025-07-07 17:05:28.000000000 
+0200
+++ new/QtPBFImagePlugin-4.4/pbfplugin.pro      2025-07-27 10:53:54.000000000 
+0200
@@ -2,7 +2,7 @@
 TEMPLATE = lib
 CONFIG += plugin
 QT += gui
-VERSION = 4.3
+VERSION = 4.4
 
 HEADERS += src/pbfhandler.h \
     src/data.h \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPBFImagePlugin-4.3/src/sprites.cpp 
new/QtPBFImagePlugin-4.4/src/sprites.cpp
--- old/QtPBFImagePlugin-4.3/src/sprites.cpp    2025-07-07 17:05:28.000000000 
+0200
+++ new/QtPBFImagePlugin-4.4/src/sprites.cpp    2025-07-27 10:53:54.000000000 
+0200
@@ -123,8 +123,14 @@
                        return sdf2img(simg, color);
                } else
                        return sdf2img(img, color);
-       } else
-               return img;
+       } else {
+               if (scale != 1.0) {
+                       QSize size(img.size().width() * scale, 
img.size().height() * scale);
+                       return img.scaled(size, Qt::IgnoreAspectRatio,
+                         Qt::SmoothTransformation);
+               } else
+                       return img;
+       }
 }
 
 QImage Sprites::icon(const QString &name, const QColor &color, qreal size)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPBFImagePlugin-4.3/src/style.cpp 
new/QtPBFImagePlugin-4.4/src/style.cpp
--- old/QtPBFImagePlugin-4.3/src/style.cpp      2025-07-07 17:05:28.000000000 
+0200
+++ new/QtPBFImagePlugin-4.4/src/style.cpp      2025-07-27 10:53:54.000000000 
+0200
@@ -415,9 +415,10 @@
 {
        QString anchor(_textAnchor.value(zoom));
 
-       if (anchor == "left")
+       if (anchor == "left" || anchor == "top-left" || anchor == "bottom-left")
                return Text::Left;
-       else if (anchor == "right")
+       else if (anchor == "right" || anchor == "top-right"
+         || anchor == "bottom-right")
                return Text::Right;
        else if (anchor == "top")
                return Text::Top;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPBFImagePlugin-4.3/src/style.h 
new/QtPBFImagePlugin-4.4/src/style.h
--- old/QtPBFImagePlugin-4.3/src/style.h        2025-07-07 17:05:28.000000000 
+0200
+++ new/QtPBFImagePlugin-4.4/src/style.h        2025-07-27 10:53:54.000000000 
+0200
@@ -91,8 +91,8 @@
 
                class Layout {
                public:
-                       Layout() : _textSize(16), _textMaxWidth(10), 
_textMaxAngle(45),
-                         _font("Open Sans"), _visible(true) {}
+                       Layout() : _iconSize(1.0), _textSize(16), 
_textMaxWidth(10),
+                         _textMaxAngle(45), _font("Open Sans"), _visible(true) 
{}
                        Layout(const QJsonObject &json);
 
                        qreal maxTextWidth(int zoom) const

++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.7yOH3T/_old  2025-07-30 11:45:33.631178456 +0200
+++ /var/tmp/diff_new_pack.7yOH3T/_new  2025-07-30 11:45:33.635178621 +0200
@@ -1,3 +1,10 @@
+qt5-pbf-image-plugin (4.4) stable; urgency=low
+
+  * Added support for scaling non-sdf icons.
+  * Improved text-anchor layout property support.
+
+ -- Martin Tuma <tu...@cbox.cz>  Tue, 29 Jul 2025 05:36:31 +0200
+
 qt5-pbf-image-plugin (4.3) stable; urgency=low
 
   * Default map style tweaks.

++++++ qtpbfplugin.dsc ++++++
--- /var/tmp/diff_new_pack.7yOH3T/_old  2025-07-30 11:45:33.687180776 +0200
+++ /var/tmp/diff_new_pack.7yOH3T/_new  2025-07-30 11:45:33.691180942 +0200
@@ -1,10 +1,10 @@
 Format: 1.0
 Source: qt5-pbf-image-plugin
-Version: 4.3-1
+Version: 4.4-1
 Binary: qt5-pbf-image-plugin
 Maintainer: Martin Tuma <tu...@cbox.cz>
 Architecture: any
 Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-dev-tools, qt5-qmake, 
zlib1g-dev
 Files:
- 00000000000000000000000000000000 0 QtPBFImagePlugin-4.3.tar.gz
+ 00000000000000000000000000000000 0 QtPBFImagePlugin-4.4.tar.gz
 

Reply via email to