bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond 2.19.20 on fedora gs bug


From: Masamichi HOSODA
Subject: Re: lilypond 2.19.20 on fedora gs bug
Date: Fri, 29 May 2015 11:04:03 +0900 (JST)

> The Fedora 22 package fails for everyone, the www.lilypond.org version
> works.
> 
> I tried this minimal example:
> 
> % f22test.ly
> \version "2.19.21"
> {c'}
> 
> And then did
> 
> $ lilypond --ps --verbose f22.ly &> f22test1.txt
> $ ps2pdf14 f22test.ps f22test.pdf &> f22test2.txt
> 
> results: see attachment.
> f22test1.txt f22test2.txt f22test.ps

Thank you for your files.

I suspect an issue of pango package of fedora 22.

First, I've tried your f22test.ps on my environment with gs-9.15.
It is failed. That is, it is not gs-9.16's issue.
The result is following.

```
$ ps2pdf14 f22test.ps f22test.pdf
Error: /undefinedresult in --glyphshow--
Operand stack:
   0.6146   5.6906   -2.8453   space
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1967   1   3   %oparray_pop   
1966   1   3   %oparray_pop   1950   1   3   %oparray_pop   1836   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   0   
--nostringval--   %repeat_continue   --nostringval--
Dictionary stack:
   --dict:1186/1684(ro)(G)--   --dict:0/20(G)--   --dict:108/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 131424
GPL Ghostscript 9.15: Unrecoverable error, exit code 1

```

Then, I've found problems of f22test.ps.
Broken f22test.ps sets font size to zero.
Using the patch file for f22test.ps that is attached to this mail,
ps2pdf14 is succeed.

If I understand correctly, LilyPond gets the font size from pango.
www.lilypond.org version LilyPond bundles pango that has no problem,
and always uses it.

Fedora 22's packaged LilyPond uses fedora 22's packaged pango?
--- f22test.ps.org      2015-05-29 08:58:52.323780200 +0900
+++ f22test.ps  2015-05-29 09:14:07.983424500 +0900
@@ -2210,7 +2210,7 @@
 /helpEmmentaler-20 where {pop helpEmmentaler-20} if
 /helpEmmentaler-23 where {pop helpEmmentaler-23} if
 /helpEmmentaler-26 where {pop helpEmmentaler-26} if
-5.6906 -2.8453 moveto /CenturySchL-Roma 0.00000000 output-scale div selectfont
+5.6906 -2.8453 moveto /CenturySchL-Roma 3.86523438 output-scale div selectfont
 0.6146 0.0000 0.0000 /space
 1 print_glyphs
 14.2264 -9.6093 moveto 11.6142 0.0000 0.0500 0.0000 0.1000 draw_line
@@ -2225,7 +2225,7 @@
 22.9264 -11.1593 24.2425 -10.0593 
(textedit:///home/m.tarenskeen/f22test.ly:2:1:2) mark_URI
 22.9264 -10.6093 moveto magfontemmentaler-20mXVo /noteheads.s2 glyphshow
 31.0704 -165.1170 moveto 0.00000000 -0.47800630 currentpoint vector_add  
57.36075591 1.63887874 currentpoint vector_add (http://lilypond.org/) mark_URI
-31.0704 -165.1170 moveto /CenturySchL-Roma 0.00000000 output-scale div 
selectfont
+31.0704 -165.1170 moveto /CenturySchL-Roma 3.86523438 output-scale div 
selectfont
 1.1950 0.0000 0.0000 /g
 0.9902 0.0000 0.0000 /r
 1.0926 0.0000 0.0000 /o

reply via email to

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