You are not logged in.

#1 2012-03-14 18:40:50

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 83

[SOLVED] ghostscript errors after freetype2 upgrade

Hi,

is anyone seeing ghostscript errors like

GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1

after freetype2 went to version 2.4.9-1 two days ago?

I wonder if this is a ghostscript bug, because then I would file a report upstream.  I can't seem to find anything related upstream.
Or could this be a freetype2 bug?

Best,
Daan

Last edited by drrossum (2012-03-29 21:16:07)

Offline

#2 2012-03-14 18:46:10

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 83

Re: [SOLVED] ghostscript errors after freetype2 upgrade

a quick update:
just installed ghostscript-svn from AUR and the problem is solved.  So no need to report bugs upstream.

Offline

#3 2012-03-15 16:29:35

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [SOLVED] ghostscript errors after freetype2 upgrade

Confirmed. Opening a ps file with gs/evince yields this:

Loading StandardSymL font from /usr/share/ghostscript/9.05/Resource/Font/StandardSymL... GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
Can't render Font StandardSymL with FAPI, will do with native GS renderer.
3438568 2024844 4479360 3173882 1 done.
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
Can't render Font Symbol with FAPI, will do with native GS renderer.
Can't render Font Symbol-Oblique ( aliased from Symbol ) with FAPI, will do with native GS renderer.
Loading NimbusSanL-Regu font from /usr/share/ghostscript/9.05/Resource/Font/NimbusSanL-Regu... GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
Can't render Font NimbusSanL-Regu with FAPI, will do with native GS renderer.
3446984 2081251 4539912 3244170 1 done.
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
Can't render Font Helvetica with FAPI, will do with native GS renderer.

Seems harmless though...


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#4 2012-03-19 17:38:34

oinil
Member
Registered: 2012-03-19
Posts: 2

Re: [SOLVED] ghostscript errors after freetype2 upgrade

same error found when using the "dvipdf" commd.

dvipdf main.dvi
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
drrossum wrote:

Hi,

is anyone seeing ghostscript errors like

GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1

after freetype2 went to version 2.4.9-1 two days ago?

I wonder if this is a ghostscript bug, because then I would file a report upstream.  I can't seem to find anything related upstream.
Or could this be a freetype2 bug?

Best,
Daan

Offline

#5 2012-03-20 11:17:33

lomov_vl
Member
From: Russia, Irkutsk
Registered: 2010-01-20
Posts: 34
Website

Re: [SOLVED] ghostscript errors after freetype2 upgrade

drrossum wrote:

a quick update:
just installed ghostscript-svn from AUR and the problem is solved.  So no need to report bugs upstream.

No, you just hide the problem. ghostscript now uses git. If you use 'ghostscript-svn' from AUR it means that ghostscript uses freetype2 shipped with source but not system one.

I'm using ghostscript compiled from git repo and I see that message. I don't know that cause it is it one ghostscript or freetype side. I'll make bug report lately.

Offline

#6 2012-03-29 00:40:58

timsears
Member
Registered: 2011-09-05
Posts: 3

Re: [SOLVED] ghostscript errors after freetype2 upgrade

I was getting a similar error using 'convert somefile.ps somefile.pdf'. I installed the ghostscript-svn package suggested, but no dice. Same error.

Offline

#7 2012-03-29 19:39:51

ratm_aur
Member
Registered: 2012-03-29
Posts: 2

Re: [SOLVED] ghostscript errors after freetype2 upgrade

it looks like it was the freetype2 upgrade that screwed up things with ghostscript.

This issue has been solved upstream and there is a bug open in the Arch Linux bug tracker (bug #29034) to ship a patched version of freetype2 2.4.9

Meanwhile, installing freetype2-cleartype from the AUR actually downgrades freetype to v2.4.8, which also fixes the issue.

Offline

#8 2012-03-29 21:15:46

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 83

Re: [SOLVED] ghostscript errors after freetype2 upgrade

Yes, downgrading freetype2 to 2.4.8 works for me too.

Offline

#9 2012-04-08 14:57:49

ratm_aur
Member
Registered: 2012-03-29
Posts: 2

Re: [SOLVED] ghostscript errors after freetype2 upgrade

just for the record, the fix seems to have been packaged in freetype2-2.4.9-2

Offline

Board footer

Powered by FluxBB