public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtsvg] epel9: Drop patch that is already part of upstream release
Date: Thu, 08 Oct 2026 17:40:05 GMT	[thread overview]
Message-ID: <179148120539.1.16579571787484833153.rpms-qt6-qtsvg-71ac99b6591f@fedoraproject.org> (raw)

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) {

                 reply	other threads:[~2026-10-08 17:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179148120539.1.16579571787484833153.rpms-qt6-qtsvg-71ac99b6591f@fedoraproject.org \
    --to=jgrulich@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox