Closed
Description
Bug summary
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
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['pdf.fonttype'] = 42
plt.rcParams['font.family'] = "Times New Roman"
x = np.arange(1,6,1)
y= x**2
plt.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.
Additional information
No response
Operating system
Windows
Matplotlib Version
3.6.0
Matplotlib Backend
QtAgg
Python version
Python 3.9.12
Jupyter version
No response
Installation
pip