[Top][All Lists]

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

Re: Improves some parmesan noteheads. (issue 4639065)

From: k-ohara5a5a
Subject: Re: Improves some parmesan noteheads. (issue 4639065)
Date: Sun, 02 Oct 2011 23:00:50 +0000

Bertrand, It looks like the additional font lookups are significantly
slowing down the Windows build,

Mabye it is the multiple calls to find_by_name().  It seems the logic
that chooses the glyph could be simpler, and more efficient.
... or be put within
  if (style != ly_symbol2scm ("default"))
File lily/ (right):
lily/ Stencil out = fm->find_by_name (idx_either +
Look first for a symmetric glyph noteheads.s2
lily/ if (out.is_empty ())
If there is none, figure out our direction; suppose up.
lily/ out = fm->find_by_name (idx_either + "r" +
If there was no noteheads.s2, look for noteheads.ur2
If there was a noteheads.s2, forget it and look for noteheads.sr2
lily/ out = fm->find_by_name (idx_either);
If there was a noteheads.sr2 or .ur2,
  and we are on the centerline,
  then look for noteheads.sr2 or .ur2 again,
otherwise look for noteheads.s2 or .u2

reply via email to

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