Hi Jan,

> If you look in the .ps with a text editor, you'll see that fonts are
> loaded by a command that looks like
> 
>     %%BeginFont: PFAEmmentaler-20
>     (c:/Program 
> Files/LilyPond/usr/share/lilypond/2.5.25/fonts/type1//PFAemmentaler-20.pfa) 
> (r) file .loadfont
>     %%EndFont
> 
> The font that has the problem, has
> 
>    (#f) (r) file .loadfont

OK, here's the relevant part (from xiao-haizi-guai-guai.ps):

--- CUT HERE ---
%%BeginFont: PFAAybabtu-Regular
(#f) (r) file .loadfont 
%%EndFont

%%BeginFont: PFAPFAEmmentaler-23
(#f) (r) file .loadfont 
%%EndFont
--- CUT HERE ---

Other files (like simple.ps) fail to load the PFAAybabtu-Regular font,
at least; the font files are there, though
(share/lilypond/2.5.25/fonts/type1/PFAaybabtu.pfa and
.../PFAemmentaler-23.pfa, respectively). What's noteworthy is that the
BeginFont directives seem to refer to these fonts with an extra PFA
prefix - something that's not the case for PFAEmmentaler-20 (which has
a valid filename in the ps file). The rest of the document does seem
to refer to "Aybabtu-Regular" instead of "PFAAybabtu-Regular", at
least (the same goes for PFAEmmentaler-23).

I tried manually replacing the #f's by paths to the respective font
files, but that doesn't work, either, not even when I change the
BeginFont directives and remove the extra "PFA" prefixes. I attached a
file that shows the ghostscript errors I get in that case, just in
case it might be helpful.

> > the "Convert to PDF" context menu item is gone, and PDF conversion
> > fails for *all* files now
> 
> How odd.  The menu item should be unconditionally written as (nsis command)
> 
>         WriteRegExpandStr HKCR "LilyPond\shell\generate\command" "" 
> '$INSTDIR\usr\bin\lilypond.exe "%1"'
> 
> maybe that does not work [for you], and the context menu you saw was a
> leftover from a previous Cygwin install?

I don't think Cygwin creates a context menu item - it really just
installs the binary package, which is then usable from a shell. But in
any case, I didn't uninstall the Cygwin package, so even if it was
left over from that one, it shouldn't be gone now.

> Jan.


-- 
schnee
Error: /rangecheck in --get--
Operand stack:
   Aybabtu-Regular   Font   Aybabtu-Regular   (Aybabtu-Regular)   0   false   
(C:\\WINDOWS\\fonts)   17   18   18   (C:\\WINDOWS\\fonts/2TECH2.TTF)   ()   
(C:\\WINDOWS\\fonts/2TECH2.TTF)   ()   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--   --nostringval--   --nostringval--   --nostringval--   
--nostringval--   1   3   %oparray_pop   2   3   %oparray_pop   --nostringval-- 
  --nostringval--   --nostringval--   --nostringval--   --nostringval--   
%loop_continue   --nostringval--   --nostringval--   --nostringval--   
(gx_io_device)   0   
(C:\\WINDOWS\\fonts/2TECH2.TTF\000F\000AIL.TTF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)
   (file_enum)   --nostringval--   %file_continue   --nostringval--   
--nostringval--
Dictionary stack:
   --dict:1127/1686(ro)(G)--   --dict:0/20(G)--   --dict:118/200(L)--   
--dict:17/17(ro)(G)--
Current allocation mode is global
Current file position is 46198
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to