altmany / altmany/export_fig

Greek letters do cause GS to croak OS X 10.10.5 MATLAB R2015A

Offen
#100 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
MATLAB
Sterne
1.4k
Forks
366
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have tried both GS 9.10 and 9.16, and both have this issue on OS X 10.10.5. export_fig works nicely for PDF/EPS for any figure without greek letters. However, if there are greek letters in the axes, title, legend, etc. then I get the following error:

Error: /typecheck in /findfont
Operand stack:
CMMI10
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop --nostringval-- 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1852 1 3 %oparray_pop
Dictionary stack:
--dict:1168/1684(ro)(G)-- --dict:0/20(G)-- --dict:121/200(L)--
Current allocation mode is local
Last OS error: Invalid argument
Current file position is 90356
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
Ghostscript error: perhaps /private/tmp/tp689c770a_474e_4e37_ba07_d9f7465997a6.pdf is open by another application
Ghostscript options: -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile="/private/tmp/tp689c770a_474e_4e37_ba07_d9f7465997a6.pdf" -dEPSCrop -sFONTPATH="/usr/share/fonts:/usr/local/share/fonts:/usr/share/fonts/X11:/usr/local/share/fonts/X11:/usr/share/fonts/truetype:/usr/local/share/fonts/truetype" -f "/private/tmp/tpe59db012_dabe_4ed4_b8b9_cbf729dd565a.eps"

export_fig error. Please ensure:
that you are using the latest version of export_fig
and that you have Ghostscript installed
and that you do not have multiple versions of export_fig installed by mistake
and that you did not made a mistake in the expected input arguments

If the problem persists, then please report a new issue.

Error using eps2pdf (line 152)
Error: /typecheck in /findfont
Operand stack:
CMMI10
Execution stack:
%interp_exit .runexec2
--nostringval--
--nostringval--
--nostringval-- 2
%stopped_push
--nostringval--
--nostringval--
--nostringval-- false 1
%stopped_push 1900 1
3 %oparray_pop 1899 1
3 %oparray_pop
--nostringval-- 1883 1
3 %oparray_pop 1771 1
3 %oparray_pop
--nostringval--
%errorexec_pop .runexec2
--nostringval--
--nostringval--
--nostringval-- 2
%stopped_push
--nostringval-- 1852 1
3 %oparray_pop
Dictionary stack:
--dict:1177/1684(ro)(G)--
--dict:0/20(G)--
--dict:121/200(L)--
Current allocation mode is
local
Last OS error: Invalid
argument
Current file position is 90356
GPL Ghostscript 9.10:
Unrecoverable error, exit code
1

Error in export_fig (line 622)
eps2pdf(tmp_nam,
pdf_nam_tmp,
1,
options.append,
options.colourspace==2,
options.quality,
options.gs_options);

Any thoughts?

Thanks,
Adam

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.