[Top][All Lists]

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

[Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot
Date: Sat, 16 Feb 2019 13:52:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #8, bug #53091 (project octave):

Sounds like a plan.

That "Helvetica" in 

function [str, f, s] = __maybe_munge_text__ (enhanced, obj, fld, ntrp)

looks to happen only when the fld variable is "displayname", i.e.,
obj.displayname.  I don't see "DisplayName" in properties anywhere.

Nonetheless, I put some text inside that __maybe_munge_text__ routine and
although for the demo in question the "string" gets called, the "displayname"
never does.  So, that particular "Helvetica" isn't being used in this case. 
(But it should be changed, as you suggest.  Why even set the font here rather
than use

     [f, s, fnt, it, bld] = get_fontname_and_size (obj);


Yeah, I see "Helvetica" is specifically called out in the annotation.m demos. 
I temporarily declared a handle to be recorded as global:

%!   global hh;
%!   hh = annotation ("textarrow", [x x0], [y y0], ...
%!               "string", lab{ii},  "fontsize", 20);

Looking at the global variable after test indicates:

    fontangle = normal
    fontname = Helvetica
    fontsize =  20
    fontunits = points
    fontweight = normal
    headlength =  10
    headstyle = vback2
    headwidth =  10
    horizontalalignment = left
    interpreter = tex
    linestyle = -
    linewidth =  0.50000
    position =

       2.0000e-01   5.0000e-01   3.0000e-01   5.5511e-17

    string = E

Creating some text object without a font results in:

    fontname = *

I don't know if there needs to be a font declared for the demo... unless the
demo were trying to illustrate font properties, naming, sizing, substitution,


Reply to this item at:


  Message sent via Savannah

reply via email to

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