Skip to content

TST: Update pgf test image for latest Ghostscript#31785

Draft
QuLogic wants to merge 1 commit into
matplotlib:mainfrom
QuLogic:new-gs
Draft

TST: Update pgf test image for latest Ghostscript#31785
QuLogic wants to merge 1 commit into
matplotlib:mainfrom
QuLogic:new-gs

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented May 30, 2026

PR summary

The new version produces slightly different positioning of a few bits of text (as found in the decompressed PDFs here):

@@ -737,13 +737,13 @@
 1 0 0 1 -17.836 -171.072 cm
 BT
 /F50 20.6625 Tf 17.836 171.072 Td [(unicode)-497(\050\374,)]TJ
-/F51 20.6625 Tf 123.21 0 Td [(\260)]TJ
-/F50 20.6625 Tf 10.268 0 Td [(,)-497(\237\051)-497(and)-497(math)-497(\050)]TJ
-/F54 20.6625 Tf 154.012 0 Td [(\026)]TJ
-/F59 14.3462 Tf 12.172 -3.099 Td [(i)]TJ
+/F51 20.6625 Tf [-497(\260)]TJ
+/F50 20.6625 Tf [(,)-497(\237\051)-497(and)-497(math)-497(\050)]TJ
+/F54 20.6625 Tf [(\026)]TJ
+/F59 14.3462 Tf 299.662 -3.099 Td [(i)]TJ
 /F52 20.6625 Tf 10.962 3.099 Td [(=)]TJ
-/F58 20.6625 Tf 20.852 0 Td [(x)]TJ
-/F53 14.3462 Tf 10.755 8.532 Td [(2)]TJ
+/F58 20.6625 Tf [-278(x)]TJ
+/F53 14.3462 Tf 31.607 8.532 Td [(2)]TJ
 /F59 14.3462 Tf -1.837 -13.64 Td [(i)]TJ
 /F50 20.6625 Tf 9.359 5.108 Td [(\051)]TJ
 0 g 0 G
 ET

I still need to confirm that this is the correct version of Ghostscript to target, as I've only checked Fedora Rawhide vs 43.

AI Disclosure

None

PR checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant