lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: Ticket 365


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: Ticket 3653 discussion
Date: Sat, 06 Jan 2018 19:15:26 -0000

After more than a year's absence from the web, it's time to join in again...

Stem width and Beam positioning
All of LilyPond's calculations are basically correct - there's only one flaw in the C++ coding:

file: beam.cc -- function: Beam::calc_beam_segments
Instead of using the actual stave line thickness, the C++ coding accidentally reads the general layout line thickness, so that changing the stave line thickness has no effect on the beam at all:

Real lt = me->layout ()->get_dimension (ly_symbol2scm ("line-thickness"));

Solution:
I's basically a one-line change in beam.cc: variable lt should be set using Staff_symbol_referencer::line_thickness.

I've set up LilyDev 4.1 and the proposed solution seems to be working (I'm not sure about the attachment upload, though)...


[issues:#3653] Beam ends not matched to StaffSymbol thickness

Status: Accepted
Created: Sat Nov 09, 2013 03:54 PM UTC by Anonymous
Last Updated: Sat Jan 06, 2018 06:26 PM UTC
Owner: nobody
Attachments:

Originally created by: *anonymous

Originally created by: address@hidden

From Peter van Kranenburg, verified by Harm:

\version "2.17.95"

\new Staff \with { \override StaffSymbol #'thickness = #4 }
\relative c'' { g16 a b c }

The beam does not overlap the stems of the notes entirely, which does not look very nice (see attached png). It should start at the left of the first stem and end at the right of the last stem rather than in the center of both.


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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