Path: csiph.com!aioe.org!auqgAaVdvpUEuhu/bqT2jA.user.46.165.242.75.POSTED!not-for-mail From: Martin Brown <'''newspam'''@nonad.co.uk> 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: 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 Xref: csiph.com comp.graphics.apps.gnuplot:4502 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