[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Bravura Font in Denemo
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Bravura Font in Denemo |
Date: |
Sat, 24 Sep 2016 20:05:21 +0100 |
On Sat, 2016-09-24 at 18:20 +0000, NagyMusic wrote:
> Dear Richard,
>
> Many thanks for your email and advice. I tried what you suggested in
> your second email (Command Center), but wasn't able to change the font
> for musical notation (symbols). Perhaps I was trying to accomplish in
> the wrong are of the program?
I looked at font change and, indeed you do want something different
(that one is for things like titles and other text things).
It looks like these are the two bits you want to insert:
\include "custom-music-fonts/smufl/definitions.ily"
global = {
\bravuraOn
\
}
The first you can do with
Score->LilyPond Include File
the second I think you could write like this
global = \bravuraOn
(I think the stray \ is spurious)
you can do that with
Score->LilyPond Definition
and then finally you insert the \global into your music, which you can
do by placing the cursor at the start of the music and using
Directives->Insert LilyPond
However, this way of achieving your goal looks like it might be rather
poorly-constructed LilyPond syntax - I'm guessing you want the Bravura
Font in all the music, so placing the bravuraOn in just one staff looks
fishy.
The LilyPond user mailing list will be very happy to give you advice
about the best syntax to use.
HTH
Richard
>
> Per your earlier email, below you will find the Lilypond syntax used
> to typeset the score using the Bravura SMuFL font with Frescobaldi. I
> had create a director for openlilylib to recognize the SMuFL font
> (https://github.com/openlilylib/snippets). In any case, I know this is
> rather complicated so I welcome your thoughts.
>
>
> THANK YOU!
>
> Zvonimir
>
> ------------------------------------
> \version "2.18.2"
> \include "english.ly"
> \include "custom-music-fonts/smufl/definitions.ily"
>
> global = {
> \bravuraOn
> \
> }
>
> #(ly:set-option (quote point-and-click))
> #(set-accidental-style 'modern-cautionary)
>
> }
>
> %NEW STAFF%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> staffNotes =
> \relative c' {
> \global
> \clef treble
> \tempo "Tempo" 4 = 92
>
> c'2 b~ |
>
> \key c \minor
> \time 3/4
>
> b2.\<
> \time 4/4 g1\f |
> }
>
> \score {
> \new Staff <<
> \set Staff.instrumentName = #"Staff " \staffNotes
> >>
> \layout { }
> \midi { }
> }
>
> %PIANO%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> right = \relative c'' {
> \global
> \clef treble
> \key c \major
> \time 4/4
>
> a4\p b c b-. |
> }
>
> left = \relative c {
> \global
> \clef bass
> \key c \major
> \time 4/4
>
> a2 c |
> }
>
> \score {
> \new PianoStaff <<
> \set PianoStaff.instrumentName = #"Piano"
> \new Staff = "upper" \right
> \new Staff = "lower" \left
> >>
> \layout { }
> \midi { }
> }
>
>
>
> On Sat, Sep 24, 2016 at 10:07 AM Richard Shann
> <address@hidden> wrote:
>
> On Sat, 2016-09-24 at 14:47 +0100, Richard Shann wrote:
> > On Sat, 2016-09-24 at 07:25 -0400, Zvonimir Nagy wrote:
> > > Greetings,
> > >
> > > I've been enjoying using Denemo and learning more about
> it. I'm writing to ask if it's possible to use the Bravura
> font with Denemo.
> >
> > yes, certainly!
> >
> >
> > > I was able to use it with Lilypond through Frescobaldi,
> and it worked very well.
>
> Hmm, a case of me not following my own advice: if you open up
> the
> View->Command Center and type in Font after a few ->'s you get
> to this
> command:
>
>
> Command: Set Fonts
> Select the default fonts used for titles, chord names etc. for
> the whole
> score.
> Location: ObjectMenu->Score->Typesetter->PrintLayout
> Internal Name: SetFonts
>
> this may not be quite what you want, but it will be the place
> to start,
> modifying it if needed...
>
> Richard
>
>
> >
> > All I need is for you to send the LilyPond syntax you used
> to make it
> > work through Frescobaldi and I can say how to insert that in
> Denemo. I
> > can turn it into a command too, allowing a choice of fonts.
> >
> > Richard
> >
> >
> > > This is an open source font also available in MuseScore.
> Since I want to be able to use Denemo in my work, I wanted to
> learn if there's a way around it.
> > >
> > > Thank you for your time to reply to my inquiry. I look
> forward to hearing from you.
> > >
> > > Zvonimir
> > >
> > > Sent from my iPad
> > > _______________________________________________
> > > Denemo-devel mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/denemo-devel
>
>