You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: meta tables warn they cannot be subset #24025
When using custom fonts( like Times New Roman) and saving the figure as PDF(TrueType), the terminal gives a warning: "meta NOT subset; don't know how to subset; dropped"
Code for reproduction
importnumpyasnpimportmatplotlib.pyplotaspltplt.rcParams['pdf.fonttype'] =42plt.rcParams['font.family'] ="Times New Roman"x=np.arange(1,6,1)
y=x**2plt.plot(x,y)
plt.savefig("./test.pdf")
plt.show()
Actual outcome
meta NOT subset; don't know how to subset; dropped test.pdf
Expected outcome
I would like to know if the warning: "meta NOT subset; don't know how to subset; dropped" will affect the output figure. It would be good news for me if this warning can be figured out.
changed the title [-][Bug]: Warning: "meta NOT subset; don't know how to subset; dropped" comes out when using custom fonts( like Times New Roman) and saving figure as PDF(TrueType), [/-][+][Bug]: meta tables warn they cannot be subset[/+]on Jul 5, 2023
Activity
QuLogic commentedon May 25, 2023
I couldn't see any issues in the output PDF. But I'm also not sure where that output is from, as it doesn't appear in Matplotlib code.
Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts
[-][Bug]: Warning: "meta NOT subset; don't know how to subset; dropped" comes out when using custom fonts( like Times New Roman) and saving figure as PDF(TrueType), [/-][+][Bug]: meta tables warn they cannot be subset[/+]Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts
Drop metadata table when subsetting fonts