From: Alexander on 14 Mar 2010 23:02 Hello, How can I add a system font to matlab? I can see the list of all current fonts using 'listfonts' command. However, I want to be able to use the Myriad Pro font natively in my figures. Currently, I (and everyone in my research group) must export the figures to adobe illustrator and change to this font by hand which takes forever. So, is there a way to add a given font to the list of system fonts that matlab supports? I am using version 7.9.0 (R2009b). Thanks. for Science, -Alex
From: Steven Lord on 15 Mar 2010 10:29 "Alexander " <a19greyREMOVECAPS(a)gmail.com> wrote in message news:hnk7va$15h$1(a)fred.mathworks.com... > Hello, > How can I add a system font to matlab? I can see the list of all current > fonts using 'listfonts' command. However, I want to be able to use the > Myriad Pro font natively in my figures. Currently, I (and everyone in my > research group) must export the figures to adobe illustrator and change to > this font by hand which takes forever. > So, is there a way to add a given font to the list of system fonts that > matlab supports? My first step would be to figure out how to add a font to the list of fonts available to your OS. On Windows I believe there's a specific Fonts directory; I don't remember off the top of my head how to do so on Linux or Mac. [You didn't mention whether or not you've already performed this step, so I thought I should call it out.] Once you've done that, check to see if Myriad Pro appears in the list of fonts avaialble to UISETFONT. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/uisetfont.html If it doesn't, check if this font is bitmapped -- the reference page for LISTFONTS indicates that bitmapped fonts can't be used in figures and GUIs. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/listfonts.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Distance between two points problem Next: 2-D Quadrature with Nodes and Weights |