This is essentially almost the same version of the file by Jose Aumentado (many thanks for this) with the same approach to the problem. I recomend to read the full description here:
The only difference between this file and its previous version is that this file is an attempt to handle different font styles. By no means it works perfectly but in some situations might make life a little bit easier.
I recommend to use Arial Fonts and to make sure it does alsways happen I'd recommend to make a startup.m file in MATLAB default folder and put 2 lines there
Céldor (2020). Export to EPS (https://www.mathworks.com/matlabcentral/fileexchange/31523-export-to-eps), MATLAB Central File Exchange. Retrieved .