Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4467

Re: Greek Characters in GnuPlot EPS output files

From Martin Brown <'''newspam'''@nonad.co.uk>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Greek Characters in GnuPlot EPS output files
Date 2022-04-13 16:57 +0100
Organization Aioe.org NNTP Server
Message-ID <t36rt2$1clg$1@gioia.aioe.org> (permalink)
References (1 earlier) <t30mda$u1j$1@dont-email.me> <t31kiu$1e5r$1@gioia.aioe.org> <t334fv$3rr$1@dont-email.me> <t34b8f$vt9$1@gioia.aioe.org> <t35o7j$1s6$1@dont-email.me>

Show all headers | View raw


On 13/04/2022 06:48, Jörg Buchholz wrote:
> On 12.04.2022 19:01, Martin Brown wrote:

>> I suspect now that there is something font related missing from my
>> MiKTex 2.9 install. I tried looking in its fonts directory but found a
>> maze of confusing little passageways all alike. No CP*.ps files at all.
>> Subdirectories
>>   afm, cmap, end, map, misc, opentype, pfm, source, tfm, type1, vf
> 
> Here is a "cp1252.4ht" and a "cp1252.enc" in the "...\MiKTeX\fonts...."
> directory.

I have "cp1252.4ht" in MiKTeX\tex\generic\tex4ht
Also a "cp1252.def" in MiKTeX\tex\latex\base

No signs at all of "cp1252.enc" in MiKTek but I do have two copies 
elsewhere - one in Maxima and one in a rendering engine subdir.

Where do I need to put it in the MiKTeX/GNUplot directories please?

> Did you try the epscairo termianl to get a .eps-File? There you can use
> direct unicode code.
> 
> set term epscairo enhanced font "cp1252"
> set label 1 "\\U+03B1  \\U+03B2  \\U+03B3" at 0.5,0.5
> set out 'greek-epscairo.eps'
> plot sin(x)
> set out
> 
> There is alpha, beta and gamma in the label.

You are correct again!

That bit works fine, unfortunately on my rendering engine there is also 
the plaintext of the actual unicode escape sequences sat on top of it.

ie. alpha beta gamma delta epsilon symbols with

\U+03B1 \U+03B2 \U+03b3 splatted on top of it (5! characters worth).

It looks to me like:

Alpha is actually a lowercase a of the handwriting sort
Beta is correctly rendered as the symbol
Gamma is an uppercase X shifted down by one third of a line height
Delta is correctly rendered (but why or how I do not know)
Epsilon is correctly rendered (but why or how I do not know)

I copied your example verbatim first and then added extra spaces to the 
front so that the Greek letters appeared unmolested by the plaintext.

"Alpha" doesn't look much like a Greek alpha to me nor does "Gamma".
Beta, Delta and Epsilon all look fine although where those last two came 
from I have absolutely no idea!

.eps file content looks OK to me so this is another vexing rendering 
engine fault in my Windows version of TeX. It contains the 3 escape 
sequences as above. I will give GNUplot patchlevel 3 a try next.

Thanks again for your very helpful suggestions and patience.

-- 
Regards,
Martin Brown

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-07 14:22 +0100
  Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-11 09:46 +0200
    Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-11 17:21 +0100
      Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-12 07:59 +0200
        Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-12 18:01 +0100
          Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-13 07:48 +0200
            Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-13 16:57 +0100
              Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-14 13:57 +0200
                Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-16 11:47 +0100
                Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-19 06:55 +0200

csiph-web