lilypond-user
[Top][All Lists]
Advanced

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

Re: problem adding \epsfile to markup


From: Thomas Morley
Subject: Re: problem adding \epsfile to markup
Date: Sun, 6 Dec 2015 00:44:37 +0100

2015-12-05 21:49 GMT+01:00 Pierre Perol-Schneider
<address@hidden>:
> Hi Ryan,
> The attached file seems to do the job.
> Cheers,
> Pierre

@Pierre
How did you create the file?
If I manually delete the non-UTF-characters, it sort of works, though
I think you did something using cairo, the BoundingBox is changed a
little, though.

>
> 2015-12-05 21:41 GMT+01:00 David Kastrup <address@hidden>:
>>
>> Ryan Michael <address@hidden> writes:
>>
>> >> On Sat, Dec 5, 2015 at 3:55 AM, David Kastrup <address@hidden> wrote:
>> >>
>> >>> Thomas Morley <address@hidden> writes:
>> >>>
>> >>> > Though, if you can't find anything I've no idea how you could add
>> >>> > reasonable values for BoundingBox.
>> >>>
>> >>> eps2eps is a good bet.
>> >
>> > Here is the eps file:
>> >
>> > https://www.mediafire.com/?xhsu0jiidib2k9u
>> >
>> > What is the simplest lilypond file I could make to prove that it is not
>> > the
>> > larger structure of the file and is the eps file causing problems.
>> >
>> > And if it is the latter case, how do I ameliorate the eps file?

@Ryan
I downloaded the file
It immediately crashes evince.
With gedit (UTF-8 encoding) I get:
"The file you opened has some invalid characters. If you continue
editing this file you could corrupt this document.
You can also choose another character encoding and try again."
Similiar with jEdit.
Though, I can see a BoundingBox _is_ specified.
LilyPond likely fails, because of those non-UTF-8 characters.

>>
>> eps2eps is a good bet.

@David
tried it, I got:

~/Desktop$ eps2eps niolin.eps new-niolin.eps
Error: /undefinedresource in resourcestatus
Operand stack:
   false   ct_StyleDicts   --dict:0/4(L)--   Adobe-Japan1
--dict:0/4(L)--   Serif   HeiseiMin-W3-83pv-RKSJ-H   Font
HeiseiMin-W3   CIDFont
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1967
1   3   %oparray_pop   1967   1   3   %oparray_pop   1966   1   3
%oparray_pop   --nostringval--   1950   1   3   %oparray_pop   1836
1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
--nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--   --nostringval--   --nostringval--
1915   10   9   %oparray_pop
Dictionary stack:
   --dict:1184/1684(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--
--dict:57/75(L)--   --dict:2/10(L)--   --dict:39/70(L)--
--dict:0/4(L)--   --dict:0/4(L)--   --dict:20/27(ro)(G)--
--dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.15: Unrecoverable error, exit code 1


What a mess.


Cheers,
  Harm



reply via email to

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