[Top][All Lists]
[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 23:39:12 +0200 |
address@hidden writes:
>
>
> On Tue, 21 Sep 2004, Han-Wen Nienhuys wrote:
>
> > 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.
> >
>
> Well, ...
>
> (1) There is no \unset command for grob properties (at least not that I
> know of). Hence, I guess by "unset dash-fraction" you mean
> "\override TextSpanner #'dash-fraction = #'()"? At least, this trick
> seems to do the job.
\revert TextSpanner #'dash-fraction
> (2) I think it is a design flaw that you have to unset the dash-fraction
> property (which, by default, is set to some value) in order to make
> the style property work. If this intended, it should at least be
> clearly documented in the manual that changing the style property of
> TextSpanner by default has no effect.
I think I don't get the entire picture. Can you post a .ly snippet of
what you _would_ like to have working?
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen