lilypond-devel
[Top][All Lists]
Advanced

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

Re: [bug?] Line_interface::line


From: Han-Wen Nienhuys
Subject: Re: [bug?] Line_interface::line
Date: Tue, 21 Sep 2004 19:18:41 +0200

address@hidden writes:
> 
> 
> On Fri, 17 Sep 2004, Han-Wen Nienhuys wrote:
> 
> > address@hidden writes:
> > >   else
> > >     {
> > >       return make_line (thick, from, to);
> > >     }
> > > 
> > > 
> > > Are you sure that the "else" branch (i.e. making a solid line) should be 
> > > regardless of the "style" property entered only if "scm_is_number 
> > > (dash_fraction)" evaluates to false?
> > 
> > I don't understand. If you want dashed lines, you should set
> > dash-fraction.
> > 
> 
> No, the opposite.  I want a solid line, but I always get a dashed line:

then unset dash-fraction.

> The above code produces a dashed line instead of a solid one.  Actually, 
> it seems there are at least two bugs, because even if I change 
> Line_interface::line () such that the else branch is entered for solid 
> lines (by removing the "scm_is_number (dash_fraction)" clause in the if 
> condition), I still get a dashed line.

hmm. interesting. can you add a .ly snippet to the bug database?  

> BTW, why is make_line (...) 
> defined in Line_interface rather than in Lookup?

because I don't want to copy all the properties over all the grobs
using it.

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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