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


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

cp1251 in gnuplot 4.5

From Michael <proximum@invalid.com>
Newsgroups comp.graphics.apps.gnuplot
Subject cp1251 in gnuplot 4.5
Date 2011-05-09 16:14 +0700
Organization A noiseless patient Spider
Message-ID <iq8b8c$h2g$1@dont-email.me> (permalink)

Show all headers | 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