SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Grigoris M. <gr....@gm...> - 2013年11月23日 12:21:30
Hello!
I am creating a plot and I select the font type to be TrueType (by using 
rcParams['ps.fonttype'] = 42).
I am using this image later on in a tex file and when I am creating the 
pdf file I check for the font types and I see
name type emb sub uni object ID
[none] Type 3 yes no no 160 0
But if I comment the legend while making the plot then I do not get a 
Type 3 font.
Why is that? It seems that the fonttype does not apply to the legend (or 
am I missing something?).
Best
Grigoris
From: Grigoris M. <gr....@gm...> - 2013年11月26日 12:12:32
Thanks to this post ( 
http://nerdjusttyped.blogspot.gr/2010/07/type-1-fonts-and-matplotlib-figures.html)
I used the rcParams['text.usetex'] = True (after installing dvipng) and 
the final plot had only Type 1 fonts.
Grigoris
On 11/23/2013 02:21 PM, Grigoris Maravelias wrote:
> Hello!
>
> I am creating a plot and I select the font type to be TrueType (by 
> using rcParams['ps.fonttype'] = 42).
> I am using this image later on in a tex file and when I am creating 
> the pdf file I check for the font types and I see
> name type emb sub uni 
> object ID
> [none] Type 3 yes no no 
> 160 0
>
> But if I comment the legend while making the plot then I do not get a 
> Type 3 font.
>
> Why is that? It seems that the fonttype does not apply to the legend 
> (or am I missing something?).
>
> Best
>
> Grigoris
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /