altmany / altmany/export_fig

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

Đang mở
#100 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
MATLAB
Star
1.4k
Fork
366
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.