Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Atomic batteries to power, turbines to speed." -- Robin, The Boy Wonder


devel / comp.graphics.apps.gnuplot / Re: Bold font in subscript

SubjectAuthor
* Bold font in subscriptNakita
+- Re: Bold font in subscriptGavin Buxton
`- Re: Bold font in subscriptMartin Brown

1
Bold font in subscript

<1d66bb5e-17be-42a6-bdab-8c4778beab48n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=125&group=comp.graphics.apps.gnuplot#125

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:ac8:7499:0:b0:3a5:65ac:9c8a with SMTP id v25-20020ac87499000000b003a565ac9c8amr4058667qtq.457.1668223581889;
Fri, 11 Nov 2022 19:26:21 -0800 (PST)
X-Received: by 2002:a0d:d491:0:b0:36a:4ee:25dc with SMTP id
w139-20020a0dd491000000b0036a04ee25dcmr4628973ywd.193.1668223581578; Fri, 11
Nov 2022 19:26:21 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 11 Nov 2022 19:26:21 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2a09:bac0:4:0:0:0:82d:291d;
posting-account=r1dMmgkAAAAaz4diycM6deFiCsfpnBex
NNTP-Posting-Host: 2a09:bac0:4:0:0:0:82d:291d
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d66bb5e-17be-42a6-bdab-8c4778beab48n@googlegroups.com>
Subject: Bold font in subscript
From: h.p.zhum...@gmail.com (Nakita)
Injection-Date: Sat, 12 Nov 2022 03:26:21 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1703
 by: Nakita - Sat, 12 Nov 2022 03:26 UTC

Dear all,
I want to make gnuplot to use "Bold" fonts by default, so I set the "termoption":
set termoption font "Times New Roman:bold, 24"
However, I recently noticed that this only applies to normal texts and subscipts with only one character, eg, "S_i". If I put more than one characters in subscrpts in curly braces, such as "A_{ij}", gnuplot will not render the "ij" in bold faces.
The minimal test codes:

set termoption font "Times New Roman:bold, 24"
set xlabel "S_i"
set ylabel "A_{ij}"
p sin(x)

One can notice that the xlabel can render the subscript "i" in bold faces while the "ij" are not rendered in bold faces.
So is this a gnuplot bug or I am missing something here?

Re: Bold font in subscript

<c46c3fca-8d8d-4c51-b89b-c0ae317e9dc0n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=126&group=comp.graphics.apps.gnuplot#126

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:ad4:4381:0:b0:4bb:8383:c8d7 with SMTP id s1-20020ad44381000000b004bb8383c8d7mr6020188qvr.74.1668262404864;
Sat, 12 Nov 2022 06:13:24 -0800 (PST)
X-Received: by 2002:a81:4654:0:b0:370:744a:5a07 with SMTP id
t81-20020a814654000000b00370744a5a07mr5960199ywa.334.1668262404546; Sat, 12
Nov 2022 06:13:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Sat, 12 Nov 2022 06:13:24 -0800 (PST)
In-Reply-To: <1d66bb5e-17be-42a6-bdab-8c4778beab48n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.131.27.220; posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host: 24.131.27.220
References: <1d66bb5e-17be-42a6-bdab-8c4778beab48n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c46c3fca-8d8d-4c51-b89b-c0ae317e9dc0n@googlegroups.com>
Subject: Re: Bold font in subscript
From: gavinbux...@gmail.com (Gavin Buxton)
Injection-Date: Sat, 12 Nov 2022 14:13:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1475
 by: Gavin Buxton - Sat, 12 Nov 2022 14:13 UTC

Sorry, I don't have answer, other than it probably varies by term and you could try a different output? Just a suggestion though, and I don't know if it'll work. I remember years ago having to use the postscript term and then editing the file in a text editor to get things like this to work!

Re: Bold font in subscript

<tl51le$rp$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=127&group=comp.graphics.apps.gnuplot#127

 copy link   Newsgroups: comp.graphics.apps.gnuplot
Path: i2pn2.org!i2pn.org!aioe.org!auqgAaVdvpUEuhu/bqT2jA.user.46.165.242.75.POSTED!not-for-mail
From: '''newsp...@nonad.co.uk (Martin Brown)
Newsgroups: comp.graphics.apps.gnuplot
Subject: Re: Bold font in subscript
Date: Thu, 17 Nov 2022 10:16:06 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tl51le$rp$1@gioia.aioe.org>
References: <1d66bb5e-17be-42a6-bdab-8c4778beab48n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="889"; posting-host="auqgAaVdvpUEuhu/bqT2jA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Martin Brown - Thu, 17 Nov 2022 10:16 UTC

On 12/11/2022 03:26, Nakita wrote:
> Dear all,
> I want to make gnuplot to use "Bold" fonts by default, so I set the "termoption":
> set termoption font "Times New Roman:bold, 24"
> However, I recently noticed that this only applies to normal texts and subscipts with only one character, eg, "S_i". If I put more than one characters in subscrpts in curly braces, such as "A_{ij}", gnuplot will not render the "ij" in bold faces.
> The minimal test codes:
>
> set termoption font "Times New Roman:bold, 24"
> set xlabel "S_i"
> set ylabel "A_{ij}"
> p sin(x)
>
> One can notice that the xlabel can render the subscript "i" in bold faces while the "ij" are not rendered in bold faces.
> So is this a gnuplot bug or I am missing something here?

Appears to be a bug.
Examining the .eps file in a text editor shows that ij is not in bold

Find "(ij)" in the file and edit the preceding

s/(Times-New-Roman)/(Times-New_Roman:bold)/

It is the only occurrence of "Roman)" in the file.

FWIW The first EPS rendering engine I tried to view it with didn't
honour "Bold" at all (it has problems with Greek letters too) :(

--
Regards,
Martin Brown

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor