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


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

cp1251 in gnuplot 4.5

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Michael <proximum@invalid.com>
Newsgroups comp.graphics.apps.gnuplot
Subject cp1251 in gnuplot 4.5
Date Mon, 09 May 2011 16:14:32 +0700
Organization A noiseless patient Spider
Lines 35
Message-ID <iq8b8c$h2g$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Mon, 9 May 2011 09:13:48 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="xRgEVutvq4120NtV0lKpag"; logging-data="17488"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TVEtLaXpW9gzdp3FzKd1u"
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
Cancel-Lock sha1:TsExLcAmF6AkN55fvkUe4WuakQE=
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:290

Show key headers only | View raw


I'm using gnuplot 4.5 patchlevel 0 on Windows XP. I'm trying to use the 
recently added cp1251 encoding in eps files.

set term post eps enh "Helvetica" 16
set enc cp1251
set output "test.eps"
set xlabel "абвгдеёжз ийклмнорпс туфхцчшщъыьэюя"
plot sin(x)
reset

EPS file itself looks good
(see http://i54.tinypic.com/10onyx3.png ,picture 1). But when I'm 
inserting this file into PDF with LaTeX:

\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[dvips]{graphicx}
\begin{document}
\includegraphics{test.eps}
\end{document}

then characters are squeezing (see picture 2).

I found that this effect can be avoided by using of the cm-super fonts 
collection from LaTeX distribution:

set fontpath 'c:/texlive/2010/texmf-dist/fonts/type1/public/cm-super'
set term post eps enh 'SFBSR17' 18

(see picture 3).
Is this a bug, or how can I use other fonts, not only cm-super?

Thanks.

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


Thread

cp1251 in gnuplot 4.5 Michael <proximum@invalid.com> - 2011-05-09 16:14 +0700
  Re: cp1251 in gnuplot 4.5 Michael <proximum@invalid.com> - 2011-05-09 18:18 +0700
  Re: cp1251 in gnuplot 4.5 Michael <proximum@invalid.com> - 2011-05-09 21:16 +0700

csiph-web