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


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

cp1251 in gnuplot 4.5

Started byMichael <proximum@invalid.com>
First post2011-05-09 16:14 +0700
Last post2011-05-09 21:16 +0700
Articles 3 — 1 participant

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  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

#290 — cp1251 in gnuplot 4.5

FromMichael <proximum@invalid.com>
Date2011-05-09 16:14 +0700
Subjectcp1251 in gnuplot 4.5
Message-ID<iq8b8c$h2g$1@dont-email.me>
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.

[toc] | [next] | [standalone]


#291

FromMichael <proximum@invalid.com>
Date2011-05-09 18:18 +0700
Message-ID<iq8igk$kvg$1@dont-email.me>
In reply to#290
> then characters are squeezing (see picture 2).
...not squeezing but overlapping, sorry for my English :)

[toc] | [prev] | [next] | [standalone]


#292

FromMichael <proximum@invalid.com>
Date2011-05-09 21:16 +0700
Message-ID<iq8sv5$5a2$1@dont-email.me>
In reply to#290
I answer myself: \usepackage{type1ec}

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web