SVG export with text - incorrectly positioned superscript

49 views
Skip to first unread message

Dane Austin

unread,
Dec 10, 2016, 4:01:28 PM12/10/16
to pyqtgraph
Hi all,

I regularly use SVG export to produce nice-looking PDFs from Pyqtgraph. I ran into a problem with text containing a superscript. In the exported SVG, the superscript isn't in the right place. See attached minimum example and output. Any debugging pointers appreciated. I am using Python 3.5.2, Pyqtgraph version 0.10.0, PyQt4 with Qt version 4.8.7, PyQt version 4.11.4.

Thanks,

Dane
demo_pyqtgraph_superscript_export.py
contains_superscript.svg

Dane Austin

unread,
Dec 10, 2016, 4:09:45 PM12/10/16
to pyqtgraph
An update: I tried with PyQt5 (in a new empty conda environment). The superscript problem is still there and now the plot isn't exported correctly either... (see attached).
contains_superscript_pyqt5.svg

Efrem Braun

unread,
Jul 7, 2021, 12:56:20 PM7/7/21
to pyqtgraph
I'm running into this problem too. I just created issue #1881 on github for it.
Reply all
Reply to author
Forward
0 new messages