denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Overwriting existing pdf/png files.


From: Richard Shann
Subject: Re: [Denemo-devel] Overwriting existing pdf/png files.
Date: Sat, 22 Jan 2011 16:47:28 +0000

On Sat, 2011-01-22 at 09:03 -0600, Jeremiah Benham wrote:
> The only things using g_spawn_sync is convert-ly. Everything else is  
> async.
No, it's just that things like export midi, lily... don't need anything
external at all, so they use no spawn function. But they are
synchronous. So some re-organization is needed e.g. the array
supported_export_file_formats[] could be passed to the create_filename()
function (in file.c) which could be made external and a separate
async_export_formats[] array made for .pdf and .png
Or the elements of supported_export_file_formats[] could have another
field indicating whether they were sync or async (ie internally or
externally generated)  - in this last case the export of .ly etc and
of .pdf etc could be made more uniform for the user, that is, the .pdf
and .png could be launched from the same Export/Create Copy menu item
rather than separate entries for them. So once the user has chosen .pdf,
say, they would get your current code running by testing the Async
field, while if they choose .ly they will get the internal generation
stuff running...

Richard






reply via email to

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