Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?J=c3=b6rg_Buchholz?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Greek Characters in GnuPlot EPS output files Date: Thu, 14 Apr 2022 13:57:54 +0200 Organization: A noiseless patient Spider Lines: 73 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 14 Apr 2022 11:57:54 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="25270cb40d0f78295af58f3a2582baf9"; logging-data="20556"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9U82ibZjufKa03e+Tvbux6kMQbmO2kng=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Cancel-Lock: sha1:AqFx9SiutQKX8l2x710RVnq4hUA= In-Reply-To: Content-Language: en-GB Xref: csiph.com comp.graphics.apps.gnuplot:4468 On 13.04.2022 17:57, Martin Brown wrote: > 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? Here it is at "...\AppData\Local\Programs\MiKTeX\fonts\enc\dvips\ucs\cp1252.enc But I never do something more than the "normal" installation. > >> 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. > I am at my wits end! Jörg