I've made a program that makes plots using New Century Schoolbook Lt Std
font. I did this by inserting this into the matplotlibrc file:
font.family : New Century Schoolbook LT Std # serif #sans-serif
There's also a "fontlist.cache" file that I think points to it when it says:
S'New Century Schoolbook LT Std'
This all works fine on my computer. But I'm trying to make it run on other
people's computers (off a network drive) but when I do the plots all go back
into Ariel font and all the spacing and stuff gets screwed up. Running the
exact same exe from the same place, my computer continues to make them with
the correct font. I have copied the matplotlibrc file and the
fontlist.cache file from my hard drive (C:...Matplotlib) to the mpl-data
folder in the dist folder (from py2exe) but that didn't work.
Does anyone have any ideas for fixing this stuff? I think it might just be
a matter of including the right files in the Py2Exe setup file but I don't
know which ones. Or maybe changing how I select the font, which was a
roundabout way of doing it from the start. When I run the plots
(successfully on my computer) it says this at one point:
UserWarning: 'newcenturyschlbkltstd-roman.otf' can not be subsetted into a
Type 3 font. The entire font will be embedded in the output.
Maybe that has somethign to do with what's going on?
Thanks a lot,
View this message in context: http://old.nabble.com/Font-not-carrying-through-Py2Exe-tp30663871p30663871.html
Sent from the matplotlib - users mailing list archive at Nabble.com.