Music symbols in Inkscape

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Music symbols in Inkscape

Stemby
Hi,
I'd like to use LilyPond glyphs[1] in Inkscape.

Currently what's the best practice?

Thank you!

Carlo

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Marc Hohl
Am 09.06.2015 um 16:12 schrieb Carlo Stemberger:
> Hi,
> I'd like to use LilyPond glyphs[1] in Inkscape.
>
> Currently what's the best practice?

You could download the notation manual as pdf and load the pages with
the glyphs into inkscape ...

Or you install the feta font as a system font. Then it should be usable
by inkscape as well.

HTH,

Marc

> Thank you!
>
> Carlo
>
>
> [1] http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Richard Shann-2
On Tue, 2015-06-09 at 17:13 +0200, Marc Hohl wrote:
> Am 09.06.2015 um 16:12 schrieb Carlo Stemberger:
> > Hi,
> > I'd like to use LilyPond glyphs[1] in Inkscape.
> >
> > Currently what's the best practice?
>
> You could download the notation manual as pdf and load the pages with
> the glyphs into inkscape ...

On my Debian Wheezy distro loading an actual LilyPond generated PDF
score into Inkscape gives a score with the noteheads and much else
missing...

Richard

>
> Or you install the feta font as a system font. Then it should be usable
> by inkscape as well.
>
> HTH,
>
> Marc
>
> > Thank you!
> >
> > Carlo
> >
> >
> > [1] http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > [hidden email]
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Noeck
>> Am 09.06.2015 um 16:12 schrieb Carlo Stemberger:
>>> Hi,
>>> I'd like to use LilyPond glyphs[1] in Inkscape.

You can directly open a LilyPond-produced svg file in inkscape. So you
make sure all glyphs you need appear in a (dummy-) score and then
compile it with the svg backend and open it in Inkscape.

HTH,
Joram

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

tisimst
In reply to this post by Richard Shann-2


On Tue, Jun 9, 2015 at 9:38 AM, Richard Shann-2 [via Lilypond] <[hidden email]> wrote:
On Tue, 2015-06-09 at 17:13 +0200, Marc Hohl wrote:
> Am 09.06.2015 um 16:12 schrieb Carlo Stemberger:
> > Hi,
> > I'd like to use LilyPond glyphs[1] in Inkscape.
> >
> > Currently what's the best practice?
>
> You could download the notation manual as pdf and load the pages with
> the glyphs into inkscape ...

On my Debian Wheezy distro loading an actual LilyPond generated PDF
score into Inkscape gives a score with the noteheads and much else
missing...

This is because Inkscape doesn't render the document using fonts from the PDF even though they are embedded. It relies on the existence of fonts in the regular system folder and tries to pick an alternative if the exact font doesn't exist there. If you install the emmentaler-XX.otf fonts in the system folder, you will find the glyphs appear in Inkscape as you expect. The SVG backend compiler is a great way to go, though, as Joram has also mentioned, since it doesn't require you to do anything extra with the fonts, but they just end up as vector graphics, not as font characters.

- Abraham
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Francisco Vila
In reply to this post by Noeck
2015-06-09 17:35 GMT+02:00 Noeck <[hidden email]>:
>>> Am 09.06.2015 um 16:12 schrieb Carlo Stemberger:
>>>> Hi,
>>>> I'd like to use LilyPond glyphs[1] in Inkscape.
>
> You can directly open a LilyPond-produced svg file in inkscape. So you
> make sure all glyphs you need appear in a (dummy-) score and then
> compile it with the svg backend and open it in Inkscape.

\Offtopic{
  Some time ago I used LlilyPond-generated SVG to make a solid G-clef in blender
  https://paconet.org/cloud/index.php/s/FOBYPk2VPuC5at7/download
}

Document available if you like it.

>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user



--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Stemby
Thank you!

Summing up, currently there are 3 ways:

1) importing the PDF pages with the glyphs
2) importing an SVG file generated by LilyPond
3) using the feta fonts as system fonts

I find the first one not exactly quick and simple; the second one isn't good for my case (I need the glyphs, not a score); so I'll try to use the fonts.

Ciao!

Carlo

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

tisimst
Carlos,

On Wed, Jun 10, 2015 at 5:40 PM, Carlo Stemberger-3 [via Lilypond] <[hidden email]> wrote:
Thank you!

Summing up, currently there are 3 ways:

1) importing the PDF pages with the glyphs
2) importing an SVG file generated by LilyPond
3) using the feta fonts as system fonts

I find the first one not exactly quick and simple; the second one isn't good for my case (I need the glyphs, not a score); so I'll try to use the fonts.

It doesn't really matter, but I'm curious, if you don't mind my asking, what it is you planning to use them for? Thanks!

- Abraham 
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Stemby
2015-06-11 2:00 GMT+02:00 tisimst <[hidden email]>:
It doesn't really matter, but I'm curious, if you don't mind my asking, what it is you planning to use them for?

It's for a flyer (advertisement for a school of music): I'd like to put a lot of musical symbols in the background.

Returning to the subject, I can't understand how to use the Emmentaler font...

I did (on Debian):

cp /usr/share/lilypond/2.18.2/fonts/otf/emmentaler-20.otf .fonts/

And now, how can I get, for example, a G-clef? Is there some documentation?

Thank you!

Carlo

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Noeck
Hi Carlo,

that's why I suggested the svg export way (2), not because you then take
the whole score but you can then copy and move the symbols as you like.
You don't even have to use a score. Here is a reference:
http://lilypond.org/doc/v2.19/Documentation/notation/the-feta-font
and you can use the glyphs like
\markup { \musicglyph #"clefs.G" }

If you prefer way (3), you can install the fonts in Debian. Under Ubuntu
this works: open the folder /usr/share/lilypond/2.18.2/fonts/otf and
open the fonts with the font viewer, this has a button "install". Not
sure for debian.

Once you have installed it, you can use a character map to choose the
glyphs.

HTH,
Joram

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Urs Liska


Am 11.06.2015 um 08:30 schrieb Noeck:

> Hi Carlo,
>
> that's why I suggested the svg export way (2), not because you then take
> the whole score but you can then copy and move the symbols as you like.
> You don't even have to use a score. Here is a reference:
> http://lilypond.org/doc/v2.19/Documentation/notation/the-feta-font
> and you can use the glyphs like
> \markup { \musicglyph #"clefs.G" }
>
> If you prefer way (3), you can install the fonts in Debian. Under Ubuntu
> this works: open the folder /usr/share/lilypond/2.18.2/fonts/otf and
> open the fonts with the font viewer, this has a button "install". Not
> sure for debian.

Same for Debian/Gnome

>
> Once you have installed it, you can use a character map to choose the
> glyphs.

And (I think this hasn't been mentioned) when you have installed the
fonts that way you can open LilyPond created PDFs in Inkscape and the
glyphs should appear correctly.

IIRC this behaviour (not respecting included fonts) is considered a bug
(or at least a feature request) with Inkscape.


Urs

>
> HTH,
> Joram
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Music symbols in Inkscape

Francisco Vila
In reply to this post by Stemby
2015-06-11 1:39 GMT+02:00 Carlo Stemberger <[hidden email]>:
Thank you!

Summing up, currently there are 3 ways:

1) importing the PDF pages with the glyphs
2) importing an SVG file generated by LilyPond
3) using the feta fonts as system fonts

I find the first one not exactly quick and simple; the second one isn't good for my case (I need the glyphs, not a score);

An SVG score has all the glyphs. Moreover, some common music such as { b8[ d'] } produces output that you just can not type as glyphs from a font.


--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

document.png (15K) Download Attachment