bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pdfwrite and European Modern fonts


From: Flemming Højstrup Hansen
Subject: pdfwrite and European Modern fonts
Date: 09 Oct 2001 11:18:55 +0200

Hi all,

distill Acrobat Distiller Command 3.0
gs      GNU Ghostscript 6.51 (2001-03-28)

Sun Ultra 5 / Solaris 7

When we are making pdf-files, we usually do it in the following
manner:

latex (+ hyperref) with Y&Y European Modern fonts -> dvips -> distill ->

That has worked OK for years.

Now I am trying to use Ghostscript:

latex with Y&Y European Modern fonts -> dvips -> gs ->

and there seems to be some problems with characters like the Danish
letters æ ø å or a letter like é -- not on every page, but on some O-:

gs -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=<outputfile.pdf> <outputfile.ps>

produces wrong pdf-code. The code can't be read again with gs and
there are wrong characters read with acroread.

Nothing wrong when reading: gs <outputfile.ps>
or nothing wrong with the pdf-code including Computer Modern Type 3 fonts.
(except for the poor quality)

Has anybody seen anything like that?

Here is a small example:

===
\documentclass[11pt,a4paper]{ltxguide}
\usepackage[T1]{em}
%%%\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[danish]{babel}

\begin{document}

\section{Introduktion}

nén

\end{document}
===

acroread will show: n n
and
gs will give an error message:

Processing pages 1 through 1.
Page 1
Error: /undefined in --.type2execchar--
Operand stack:
   --dict:6/6(L)--   --dict:13/14(ro)(L)--   233   eacute   
(\377\001\274q\300o\213\360\367V\016)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   --nostringval--   2   1   1   --nostringval--   
%for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   
--nostringval--   %array_continue   --nostringval--   false   1   %stopped_push 
  --nostringval--   %loop_continue   --nostringval--   %finish_show   
--nostringval--   --nostringval--   6   11   1   --nostringval--   
(gs_show_enum)   %op_show_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:983/1476(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--   
--dict:70/200(L)--   --dict:96/127(ro)(G)--   --dict:207/230(ro)(G)--   
--dict:19/24(L)--   --dict:4/6(L)--   --dict:19/20(L)--   --dict:1/1(ro)(G)--   
--dict:7/8(L)--
Current allocation mode is local
GNU Ghostscript 6.51: Unrecoverable error, exit code 1

Regards,
-- 
Flemming Højstrup Hansen

Hovedstadsregionens Statistikkontor
(Greater Copenhagen Statistical Office)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]