CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  [SOLVED] ps2pdf broke because of buggy ghostscript ?

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  centguy
      centguy
[SOLVED] ps2pdf broke because of buggy ghostscript ?
#1
Regular Board Member
Joined: 2008/8/11
From
Posts: 196
I have this very serious problem recently:

Quote:




man -t man | ps2pdf - test.pdf
Error: /limitcheck in /findfont
Operand stack:
Times-Italic@0 --nostringval-- Times-Italic
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1820 3 4 %oparray_pop
Dictionary stack:
--dict:1151/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:59/120(L)--
Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1




Now, the related issues is that I cannot view eps file correctly under xdvi.

Thanks for your help.


I have

[root@centos61-hp ~]# rpm -qva | grep xdvi
xdvik-22.84.14-9.el6.x86_64
[root@centos61-hp ~]# rpm -qva | grep ghostscript
ghostscript-fonts-5.50-23.1.el6.noarch
ghostscript-8.70-11.el6_2.6.x86_64
Posted on: 2012/3/23 3:38
Create PDF from Post Print
Top
  •  centguy
      centguy
Re: ps2pdf broke because of buggy ghostscript ?
#2
Regular Board Member
Joined: 2008/8/11
From
Posts: 196
I solved the problem. But I will share my experience.

Towards the end of 2011, I was excited to know the OOoLatex in openoffice and I was able to include OOoLatex through Tool -> Extension -> Add -> Browse to local disk -> OOoLatex-4.0.0-beta-2-linux.oxt

Then I could create nice Latex equations in openoffice presentation. But to get a high quality equation, I need to put the bakoma font
in the system. Back then in 2011 when I was still using
CentOS 5.2 or so, I need to

wget http://mirror.ctan.org/fonts/cm/ps-type1/bakoma.zip

unzip it,

and then

mv bakoma /usr/share/fonts


It worked on 5.x CentOS, but I must admit I did not test it thoroughly because soon after that (early 2012) I switched to CentOS 6.1.

Recently, I repeated the above steps in CentOS 6.1 and move bakoma to /usr/share/fonts and apparently this
breaks ps2pdf, xdvi in rending eps files, ...


By removing /usr/share/fonts/bakoma then the problem goes away.

One thing I notice is that the OOoLatex on CentOS 6.1 renders equations EMF perfectly even without having me to install bakoma!
So I guess CentOS 6.1 is really up to date that I can skip bakoma.

I have learned that installing new fonts in the system can break things big time ! Thanks if you are still following me.
Posted on: 2012/3/23 12:41
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [SOLVED] ps2pdf broke because of buggy ghostscript ?
#3
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Thanks for reporting back with your self-solution. Marking this thread [SOLVED] for posterity.

Do note that CentOS-6.1 is obsolete and consequently unsupported. You should "yum update" to 6.2.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/23 14:39
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com