public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtsvg] epel9: Drop patch that is already part of upstream release
@ 2026-10-08 17:40 Jan Grulich
  0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 17:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qt6-qtsvg
Branch : epel9
Commit : 71ac99b6591fda432271193b121408e40907ac13
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2025-08-28T14:24:16+02:00
Stats  : +0/-40 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qt6-qtsvg/c/71ac99b6591fda432271193b121408e40907ac13?branch=epel9

Log:
Drop patch that is already part of upstream release

---
diff --git a/qt6-qtsvg.spec b/qt6-qtsvg.spec
index c5076e4..2d25217 100644
--- a/qt6-qtsvg.spec
+++ b/qt6-qtsvg.spec
@@ -25,7 +25,6 @@ Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submod
 %endif
 
 # Upstream patches
-Patch50: qtsvg-dont-add-outlines-to-text-when-there-is-none.patch
 
 # filter plugin provides
 %global __provides_exclude_from ^%{_qt6_plugindir}/.*\\.so$

diff --git a/qtsvg-dont-add-outlines-to-text-when-there-is-none.patch b/qtsvg-dont-add-outlines-to-text-when-there-is-none.patch
deleted file mode 100644
index 393cb0c..0000000
--- a/qtsvg-dont-add-outlines-to-text-when-there-is-none.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 07b3434f91c95d196f687c51e1a58a95a0b1ef2e Mon Sep 17 00:00:00 2001
-From: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-Date: Wed, 28 May 2025 09:47:49 +0200
-Subject: [PATCH] Don't add outlines to text when there is none
-
-Qt SVG would indiscriminately add outlines to text. Since the pen
-has Qt::NoBrush, the outline would not be visible with a normal
-QPainter, but it did always trigger the QPainterPath code path which
-is taken when the text uses features we don't support through the
-native rasterizer backend.
-
-In turn, this would cause all text to be unsearchable when printing
-the SVG to a PDF. In addition, all text would be too thick in this
-case because the PDF generator adds the outline even if the brush
-is Qt::NoBrush.
-
-Pick-to: 6.8
-Fixes: QTBUG-123817
-Change-Id: Icff637e65ea9f0c867a374fcbba3f6ad4a6756fc
-Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
-(cherry picked from commit 4d9bd9572f340fb9bc2f96f55ea6836386ac0b0d)
-Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-(cherry picked from commit 09918e3da44f80bff8bb13cd65984bd7e00c95e6)
----
-
-diff --git a/src/svg/qsvggraphics.cpp b/src/svg/qsvggraphics.cpp
-index 67879da..7d6fca9 100644
---- a/src/svg/qsvggraphics.cpp
-+++ b/src/svg/qsvggraphics.cpp
-@@ -446,7 +446,8 @@
-                 range.start = paragraphs.back().size();
-                 range.length = newText.size();
-                 range.format.setFont(font);
--                range.format.setTextOutline(p->pen());
-+                if (p->pen().style() != Qt::NoPen && p->pen().brush() != Qt::NoBrush)
-+                    range.format.setTextOutline(p->pen());
-                 range.format.setForeground(p->brush());
- 
-                 if (appendSpace) {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 17:40 [rpms/qt6-qtsvg] epel9: Drop patch that is already part of upstream release Jan Grulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox