Re: setting "enhanced" for individual elements of a plot

Ethan A Merritt <[email protected]> Sat, 10 May 2025 21:30:40 -0700
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <CALUAmEvBgEGu1GQkAF++S0qNs9_-r0XoftCxvkO6eiCKSYCyjg@mail.gmail.com>
--===============0221901145758731722==
Content-Type: multipart/alternative; boundary="0000000000001a56940634d4aa55"

--0000000000001a56940634d4aa55
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, May 10, 2025 at 2:07=E2=80=AFAM Jeremy Nicoll - ml gnuplot <
[email protected]> wrote:

>
> If the state vars are only used by the enhanced mode then maybe you could
> sometimes initialise the terminal twice?  That is, first always initialis=
e
> the enhanced routine (to do the font stuff etc), then as if that had not
> been done (but only if noenhanced was set initially) initialise the
> plain text routine?  Would that leave plain-text in effect exactly as it
> works
> now, but mean that temporary switches into enhanced would work?
> --
> Jeremy Nicoll - my opinions are my own
>

Yes, making sure that enhanced text fonts are always set up is certainly
possible.
Every terminal driver would have to be audited and possibly modified.
But they'd have to be modified anyhow if they are supposed to somehow detec=
t
that a switch to one text routine from another is needed.

I'm not arguing against the proposed feature. It's a perfectly reasonable
thing to propose.
I'm just pointing out that implementing it would take more than a simple
change to a
couple of places in the core code. The change would extend into every
terminal driver,
which is a pain.

   Ethan

--0000000000001a56940634d4aa55
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, May 10,=
 2025 at 2:07=E2=80=AFAM Jeremy Nicoll - ml gnuplot &lt;<a href=3D"mailto:j=
[email protected]">[email protected]</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
If the state vars are only used by the enhanced mode then maybe you could<b=
r>
sometimes initialise the terminal twice?=C2=A0 That is, first always initia=
lise<br>
the enhanced routine (to do the font stuff etc), then as if that had not<br=
>
been done (but only if noenhanced was set initially) initialise the <br>
plain text routine?=C2=A0 Would that leave plain-text in effect exactly as =
it works<br>
now, but mean that temporary switches into enhanced would work?<br>
-- <br>
Jeremy Nicoll - my opinions are my own<br></blockquote><div><br></div><div>=
Yes, making sure that enhanced text fonts are always set up is certainly po=
ssible.</div><div>Every terminal driver would have to be audited and possib=
ly modified.</div><div>But they&#39;d have to be modified anyhow if they ar=
e supposed to somehow detect</div><div>that a switch to one text routine fr=
om another is needed.=C2=A0</div><div><br></div><div>I&#39;m not arguing ag=
ainst the proposed feature. It&#39;s a perfectly reasonable thing to propos=
e.</div><div>I&#39;m just pointing out that implementing it would take more=
 than a simple change to a=C2=A0</div><div>couple of places in the core cod=
e. The change would extend into every terminal driver,</div><div>which is a=
 pain.</div><div><br></div><div>=C2=A0 =C2=A0Ethan</div></div></div>

--0000000000001a56940634d4aa55--


--===============0221901145758731722==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0221901145758731722==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

--===============0221901145758731722==--