lilypond-devel
[Top][All Lists]
Advanced

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

Re: native LilyPond port for Microsoft Windows


From: Schneelocke
Subject: Re: native LilyPond port for Microsoft Windows
Date: Thu, 26 May 2005 16:36:52 +0200

Hi Jan,

> > Neat, thanks. :) Here's one thing I noticed: the
> > "xiao-haizi-guai-guai.ly" example doesn't work. The ps file is
> > created, but the PDF conversion fails;
> 
> The pdf conversion worked for me (but my test machine does not have
> asian fonts installed), could you try running gs from the console
> catching the error message from it?
> 
> If you add the --verbose option to the lilypond command:
> 
>    ..\lilypond.exe" --verbose
> 
> you should get to see the gs command that you need .

OK, I tried that (the verbose log file is attached), and I get the following:

--- CUT HERE ---
C:\Programme\LilyPond\usr\bin>.\gs -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -q
 -dNOPAUSE -dBATCH -sDEVICE#pdfwrite -sOutputFile#"xiao-haizi-guai-guai.pdf" -c
.setpdfwrite -f "xiao-haizi-guai-guai.ps"
Error: /undefinedfilename in --file--
Operand stack:
   (#f)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fa
lse   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringva
l--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1127/1686(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 340
GPL Ghostscript 8.15: Unrecoverable error, exit code 1
--- CUT HERE ---

I'm not sure which missing file it's complaining about really; the
generated ps file at least was coped to the directory I'm in, so it
*should* be found.
 
> > attempting to view the ps file
> > itself results in the following messages:
> 
> Yes, viewing the .ps won't work.

OK. Maybe they should get another extension then, though - it's a bit
confusing to have a ps file you can't view. :) (FWIW, BTW, viewing the
ps files generated by the Cygwin lilypond package works fine, and they
look better than the generated PDFs, too.) (Of course, that only
applies if they aren't deleted after PDF conversion, anyway, which I
unfortunately can't check right now - see below).

> > This may be a simple configuration problem on my side (I really don't
> > know a thing about postscript, so I'm not sure what to make of the
> > above error messages), but I usually can display chinese texts just
> > fine.
> 
> Ah, that may be the difference.  Where do I get Chinese fonts to test
> with?

You need to get the Chinese IME (Input Method Environment, IIRC),
which can be downloaded from M$'s website; newer windows versions seem
to come with it, but you still need to activate it..
http://www.andante.org/ime_install.html seems to have some information
on how to do that (and on how to install it, for older windows
releases).

That being said, I just noticed something else that's strange - after
uninstalling and re-installing Lilypond, the "Convert to PDF" context
menu item is gone, and PDF conversion fails for *all* files now, even
those that worked before. I tried rebooting the machine, too (which
usually - unfortunately - is a cure for many small windows problems),
but that didn't help, either.
 
-- 
schnee

Attachment: xiao-haizi-guai-guai.log
Description: Text document


reply via email to

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