octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49044] gnuplot enhanced text specification ha


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #49044] gnuplot enhanced text specification has changed for versions >= 5.0
Date: Sat, 17 Sep 2016 23:50:47 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Follow-up Comment #13, bug #49044 (project octave):

I have built windows binary with you changeset.

Of course, your changeset solves the problem for windows terminal.

However, your patch introduce extra warning for cairo based terminals like
wxt, pngcairo and pdfcairo.


*******************************
(The below C:/Programs/gp504-64/bin/gnuplot.exe is full featured 
gnuplot from gnuplot official site in my situation.)

Example 1
wxt termimal

Before your pactch

>> gnuplot_binary C:/Programs/gp504-64/bin/gnuplot.exe
>> graphics_toolkit gnuplot
>> setenv GNUTERM wxt
>> plot (rand(5))
>>




After your patch

>> gnuplot_binary C:/Programs/gp504-64/bin/gnuplot.exe
>> graphics_toolkit gnuplot
>> setenv GNUTERM wxt
>> plot (rand(5))
>>
(gnuplot.exe:6116): Pango-WARNING **: couldn't load font "Helvetica
Not-Rotated 2
00", falling back to "Sans Not-Rotated 200", expect ugly output.


Example 2
cairo based print devise

Before your patch

>> graphics_toolkit gnuplot
>> setenv GNUTERM windows
>> plot (rand(5));
>> print -dpdfcairo rand.pdf



After your patch

>> gnuplot_binary C:/Programs/gp504-64/bin/gnuplot.exe
>> graphics_toolkit gnuplot
>> setenv GNUTERM windows
>> plot (rand(5));
>> print -dpdfcairo rand.pdf

(gnuplot.exe:3000): Pango-WARNING **: couldn't load font "Helvetica
Not-Rotated 1
00", falling back to "Sans Not-Rotated 100", expect ugly output.


But qt terminal does not give warning. 

For cairo based terminal, set default is to Helvetica 
gives annoying warning.


If I change font specify code from
      fnt = "Helvetica";
to
      fnt = "Arial";

warnings disappear. 

Please keep in mind your patch causes extra warning when 
octave uses cairo based terminals.  
 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49044>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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