octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.6.1 produces eps files that are unusable on Debian wheezy


From: Daniel J Sebald
Subject: Re: 3.6.1 produces eps files that are unusable on Debian wheezy
Date: Sun, 04 Mar 2012 00:57:35 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 03/03/2012 01:41 PM, Mike Miller wrote:

Yes, that part is mostly the same on the current default branch.
However, I just found this code in get_fontname_and_size which is
called before create_fontspec.

   if (isempty (t.fontname) || strcmp (t.fontname, "*"))
     fnt = "{}";
   else
     fnt = t.fontname;
   endif

I think this is where the "{}" font name is coming from.

I thought about this.  With the above hunk of code, instead of

set(0, 'defaultaxesfontname', 'Helvetica');

in your startup script, the following will produce the default font inside gnuplot:

set(0, 'defaultaxesfontname', ' ');

Note the single space, not empty string.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]