Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error about savefig #2938

Closed
Freed-Wu opened this issue Aug 29, 2020 · 8 comments
Closed

Error about savefig #2938

Freed-Wu opened this issue Aug 29, 2020 · 8 comments
Labels
bug GR upstream julia or dependencies

Comments

@Freed-Wu
Copy link

Freed-Wu commented Aug 29, 2020

Details

This issue is the continuance of #791

Reproduce Procedure

#!/usr/bin/env julia
# export GKS_ENCODING=utf-8
# julia: 1.4.0
# Plot.jl: 0.29.1
# sci-visualization/gr: 0.50.0-r1
using Plots
xlabel!("你好")

Screenshot from 2020-08-28 22-44-19

This is correct. However.

savefig("a.pdf")

Screenshot from 2020-08-28 22-44-31

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot x
plotly x
plotlyjs x
pgfplotsx x
inspectdr x
@Freed-Wu Freed-Wu added the bug label Aug 29, 2020
@daschw daschw added the GR label Aug 29, 2020
@krynju
Copy link

krynju commented Dec 27, 2020

Note that it happens with some Polish letters like ś ć ą, but not with ó for example.
Also only appears for me with the .pdf format, others are fine

@Zitzeronion
Copy link

Has there been any progress on this lately?
It's a pitty would really love to have .pdf pictures for vector graphics.

@luboshanus
Copy link

I have the same issue with "-" dash as minus on yaxis when saving as 'pdf'. Using Palatino font.
Screen Shot 2021-06-03 at 17 31 20

@jerlich
Copy link

jerlich commented May 29, 2022

I still have this issue. My workaround was to save as SVG and then convert the SVG to PDF.

@BeastyBlacksmith
Copy link
Member

Can you recreate the issue with GR alone?

@jerlich
Copy link

jerlich commented Jun 2, 2022

I am not sure what you mean by "with GR alone". Do you mean not using Julia ? Or not using plots.jl?

@Zitzeronion
Copy link

Probably the later one.
using GR
instead of
using Plots

@t-bltg t-bltg added the upstream julia or dependencies label Nov 27, 2022
@t-bltg
Copy link
Member

t-bltg commented Nov 27, 2022

Should be reported to GR.

@t-bltg t-bltg closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GR upstream julia or dependencies
Projects
None yet
Development

No branches or pull requests

8 participants