Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6479bd commit 3431a22Copy full SHA for 3431a22
1 file changed
lib/matplotlib/backends/backend_pgf.py
@@ -50,7 +50,7 @@ def get_fontspec():
50
# 1) Forward slashes also work on Windows, so don't mess with
51
# backslashes. 2) The dirname needs to include a separator.
52
path = pathlib.Path(fm.findfont(family))
53
- latex_fontspec.append(r"\%s{%s}[Path=%s]" % (
+ latex_fontspec.append(r"\%s{%s}[Path=\detokenize{%s}]" % (
54
command, path.name, path.parent.as_posix() + "/"))
55
56
return "\n".join(latex_fontspec)
0 commit comments