Path: csiph.com!aioe.org!hmGPJc8k7dlfJMaTpz9fSw.user.46.165.242.75.POSTED!not-for-mail From: Martin Brown <'''newspam'''@nonad.co.uk> Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Greek Characters in GnuPlot EPS output files Date: Wed, 13 Apr 2022 16:57:21 +0100 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="45744"; posting-host="hmGPJc8k7dlfJMaTpz9fSw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Content-Language: en-GB X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.graphics.apps.gnuplot:4467 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