File: 0010-Fix-wrongly-removing-fvar-table.patch

package info (click to toggle)
fpdf2 2.8.3-1%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 53,600 kB
  • sloc: python: 38,981; sh: 84; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Elena ``of Valhalla'' Grandi <valhalla@debian.org>
Date: Thu, 21 Aug 2025 11:46:43 +0200
Subject: Fix wrongly removing fvar table

Origin: upstream, https://github.com/py-pdf/fpdf2/pull/1529/commits/7884fedff84f91694ef0c9cf53e396a5dc7e9ba9
Bug: https://github.com/py-pdf/fpdf2/issues/1528

---
 fpdf/output.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fpdf/output.py b/fpdf/output.py
index d024414..5051121 100644
--- a/fpdf/output.py
+++ b/fpdf/output.py
@@ -818,7 +818,6 @@ class OutputProducer:
                     "SVG ",  # SVG table
                     "CPAL",  # Color Palette table
                     "COLR",  # Color table
-                    "fvar",  # Font Variations table
                 ]
                 subsetter = ftsubset.Subsetter(options)
                 subsetter.populate(glyphs=glyph_names)