Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
>
> It does not work in ~/Library/Fonts/ though, so one has to make sure they
> are under the "Computer" heading in the Font Book app, or /Library/Fonts/.


O that would explain it (at least that aspect). They're totally in the
~/Library and not the /Library. Let me see if that changes anything.

On Wed, Feb 9, 2022 at 5:16 PM Hans Åberg  wrote:

>
> > On 9 Feb 2022, at 22:25, Jesse Wiener  wrote:
> >
> > Ok in 2.23.6, it works! I have to put the font into the
> share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't
> get the seg fault.
>
> I think I used something like that at first with the 32-bit app, but then
> one has to put them in again when upgrading, so I switched to put them in
> as system fonts. It does not work in ~/Library/Fonts/ though, so one has to
> make sure they are under the "Computer" heading in the Font Book app, or
> /Library/Fonts/.
>
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Hans Åberg


> On 9 Feb 2022, at 22:25, Jesse Wiener  wrote:
> 
> Ok in 2.23.6, it works! I have to put the font into the 
> share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't 
> get the seg fault. 

I think I used something like that at first with the 32-bit app, but then one 
has to put them in again when upgrading, so I switched to put them in as system 
fonts. It does not work in ~/Library/Fonts/ though, so one has to make sure 
they are under the "Computer" heading in the Font Book app, or /Library/Fonts/.





Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
>
> As far as I can see from quick tests, the Edition Engraver would need a
> few updates for current development versions that are not related to
> Guile 2.


Agreed. Looks like the MacPorts version uses Guile 1.8 so that wasn't it
anyway. Looks like I need to stick to my stock fonts until I can spend a
day on this.

On Wed, Feb 9, 2022 at 4:51 PM Jean Abou Samra  wrote:

> Le 09/02/2022 à 22:33, Jesse Wiener a écrit :
> > I haven't had time to /really/ focus on this and I don't want to break
> > everything so what I would like to do is eliminate the MacPorts
> > install and do the official install with the 1.8 version of Guile (I'm
> > guessing Guile 2.2 is what's breaking the scheme functions in Edition
> > Engraver). But until I have time to focus on it, I don't want to go
> > down that road.
>
>
> As far as I can see from quick tests, the Edition Engraver would need a
> few updates for current development versions that are not related to
> Guile 2.
>
> Jean
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jean Abou Samra

Le 09/02/2022 à 22:33, Jesse Wiener a écrit :
I haven't had time to /really/ focus on this and I don't want to break 
everything so what I would like to do is eliminate the MacPorts 
install and do the official install with the 1.8 version of Guile (I'm 
guessing Guile 2.2 is what's breaking the scheme functions in Edition 
Engraver). But until I have time to focus on it, I don't want to go 
down that road.



As far as I can see from quick tests, the Edition Engraver would need a 
few updates for current development versions that are not related to 
Guile 2.


Jean




Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
>
> What 2.23.6?

I just updated to the latest version in MacPorts on the 'lilypond-devel'
port.

The difference could from whether you install via the
> official binaries or install via MacPorts and what Guile version you
> have if you chose the official 2.23.6 installers.
>

I haven't had time to *really* focus on this and I don't want to break
everything so what I would like to do is eliminate the MacPorts install and
do the official install with the 1.8 version of Guile (I'm guessing Guile
2.2 is what's breaking the scheme functions in Edition Engraver). But until
I have time to focus on it, I don't want to go down that road.

On Wed, Feb 9, 2022 at 4:27 PM Jean Abou Samra  wrote:

>
>
> Le 09/02/2022 à 22:25, Jesse Wiener a écrit :
> > Ok in 2.23.6, it works! I have to put the font into the
> > share/lilypond/2.23.6/fonts/otf folder but the font does change and I
> > don't get the seg fault.
>
>
> What 2.23.6? The difference could from whether you install via the
> official binaries or install via MacPorts and what Guile version you
> have if you chose the official 2.23.6 installers.
>
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jean Abou Samra




Le 09/02/2022 à 22:25, Jesse Wiener a écrit :
Ok in 2.23.6, it works! I have to put the font into the 
share/lilypond/2.23.6/fonts/otf folder but the font does change and I 
don't get the seg fault.



What 2.23.6? The difference could from whether you install via the 
official binaries or install via MacPorts and what Guile version you 
have if you chose the official 2.23.6 installers.






Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Ok in 2.23.6, it works! I have to put the font into the
share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't
get the seg fault.

However... unfortunately... Edition Engraver does not work with 2.23.6, so
I'm kinda back to square one on the main file (I've been experimenting with
a test file).

That being said, I'm going to see if there is an intervening version that
works with both. Fingers crossed!

On Wed, Feb 9, 2022 at 4:07 PM Hans Åberg  wrote:

>
> > On 9 Feb 2022, at 21:51, Jesse Wiener  wrote:
> >
> > I'll update LilyPond via MacPorts and see what I find. Also, I
> acknowledge that I need to get better about quoting previous emails. It's
> been a long long time since I was an active participant in a mailing list.
>
> Indeed, if it prevails with the MacPOrts version, it might be the
> architecture.
>
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Hans Åberg


> On 9 Feb 2022, at 21:51, Jesse Wiener  wrote:
> 
> I'll update LilyPond via MacPorts and see what I find. Also, I acknowledge 
> that I need to get better about quoting previous emails. It's been a long 
> long time since I was an active participant in a mailing list.

Indeed, if it prevails with the MacPOrts version, it might be the architecture.





Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
I'll update LilyPond via MacPorts and see what I find. Also, I acknowledge
that I need to get better about quoting previous emails. It's been a long
long time since I was an active participant in a mailing list.

On Wed, Feb 9, 2022 at 3:36 PM Hans Åberg  wrote:

>
> > On 9 Feb 2022, at 21:28, Jean Abou Samra  wrote:
> >
> > Le 09/02/2022 à 21:23, Hans Åberg a écrit :
> >> I get the warning below repeated a number of times; It would be good if
> somebody could explain.
> >> % lilypond test-e53smufl.ly
> >> GNU LilyPond 2.23.6 (running Guile 1.8)
> >> Processing `test-e53smufl.ly'
> >> Parsing...
> >> Interpreting music...
> >> warning: cannot find property type-check for `glyph-name-alist'
> (backend-type?).  perhaps a typing error?
> >> warning: skipping assignment
> >> …
> >
> > You need to run convert-ly on the file that is using
> > the glyph-name-alist property.
>
> Thanks, it helped. The nee name is alteration-glyph-name-alist.
>
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Hans Åberg


> On 9 Feb 2022, at 21:28, Jean Abou Samra  wrote:
> 
> Le 09/02/2022 à 21:23, Hans Åberg a écrit :
>> I get the warning below repeated a number of times; It would be good if 
>> somebody could explain.
>> % lilypond test-e53smufl.ly
>> GNU LilyPond 2.23.6 (running Guile 1.8)
>> Processing `test-e53smufl.ly'
>> Parsing...
>> Interpreting music...
>> warning: cannot find property type-check for `glyph-name-alist' 
>> (backend-type?).  perhaps a typing error?
>> warning: skipping assignment
>> …
> 
> You need to run convert-ly on the file that is using
> the glyph-name-alist property.

Thanks, it helped. The nee name is alteration-glyph-name-alist.





Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jean Abou Samra

Le 09/02/2022 à 21:23, Hans Åberg a écrit :
I get the warning below repeated a number of times; It would be good 
if somebody could explain.

% lilypond test-e53smufl.ly
GNU LilyPond 2.23.6 (running Guile 1.8)
Processing `test-e53smufl.ly'
Parsing...
Interpreting music...
warning: cannot find property type-check for `glyph-name-alist' 
(backend-type?).  perhaps a typing error?
warning: skipping assignment
…




You need to run convert-ly on the file that is using
the glyph-name-alist property.

Regards,
Jean





Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Hans Åberg


> On 9 Feb 2022, at 20:12, Jesse Wiener  wrote:
> 
> Yeah - I tried installing them using FontBook before I did anything else. No 
> dice. 

I use LilyPond 2.23.6, MacPorts version on Intel, MacOS 12.2, and it worked 
right now with SMuFl and the font Bravura.otf. I can send you the sample.

I get the warning below repeated a number of times; It would be good if 
somebody could explain.

% lilypond test-e53smufl.ly 
GNU LilyPond 2.23.6 (running Guile 1.8)
Processing `test-e53smufl.ly'
Parsing...
Interpreting music...
warning: cannot find property type-check for `glyph-name-alist' 
(backend-type?).  perhaps a typing error?
warning: skipping assignment
…




Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG


> Werner - I've done just that: The file compiles just fine unless I
> try to change the font.  [...]

This very much smells like a bug in LilyPond's font handling, probably
specific to the Windows platform (otherwise we would have seen from
Abrahan, the author of the Beethoven fonts0.  It might be a problem in
LilyPond itself or in one of the used libraries.

Jonas, do you have any idea how to let Jesse create a backtrace
easily?


Werner



Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
I'm a liar -- I don't think this makes much of a difference, but this
install is via *MacPorts*, not HomeBrew.

On Wed, Feb 9, 2022 at 2:53 PM Jesse Wiener  wrote:

> I figured it was a typo. Just wanted to be sure everyone's on the same
> page.
>
> Thanks so much for the help!!
>
> On Wed, Feb 9, 2022 at 2:49 PM Werner LEMBERG  wrote:
>
>>
>> >> Werner - I've done just that: The file compiles just fine unless I
>> >> try to change the font.  [...]
>> >
>> > This very much smells like a bug in LilyPond's font handling,
>> > probably specific to the Windows platform (otherwise we would have
>> > seen from Abrahan, the author of the Beethoven fonts0.  It might be
>> > a problem in LilyPond itself or in one of the used libraries.
>> >
>> > Jonas, do you have any idea how to let Jesse create a backtrace
>> > easily?
>>
>> Doh, not Windows but Mac, of course.
>>
>>
>> Werner
>>
>
>
> --
> Jesse Wiener
>


-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
I figured it was a typo. Just wanted to be sure everyone's on the same
page.

Thanks so much for the help!!

On Wed, Feb 9, 2022 at 2:49 PM Werner LEMBERG  wrote:

>
> >> Werner - I've done just that: The file compiles just fine unless I
> >> try to change the font.  [...]
> >
> > This very much smells like a bug in LilyPond's font handling,
> > probably specific to the Windows platform (otherwise we would have
> > seen from Abrahan, the author of the Beethoven fonts0.  It might be
> > a problem in LilyPond itself or in one of the used libraries.
> >
> > Jonas, do you have any idea how to let Jesse create a backtrace
> > easily?
>
> Doh, not Windows but Mac, of course.
>
>
> Werner
>


-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG


>> Werner - I've done just that: The file compiles just fine unless I
>> try to change the font.  [...]
> 
> This very much smells like a bug in LilyPond's font handling,
> probably specific to the Windows platform (otherwise we would have
> seen from Abrahan, the author of the Beethoven fonts0.  It might be
> a problem in LilyPond itself or in one of the used libraries.
> 
> Jonas, do you have any idea how to let Jesse create a backtrace
> easily?

Doh, not Windows but Mac, of course.


Werner



Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Werner -- this is on a mac, FYI.

On Wed, Feb 9, 2022 at 2:37 PM Werner LEMBERG  wrote:

>
> > Werner - I've done just that: The file compiles just fine unless I
> > try to change the font.  [...]
>
> This very much smells like a bug in LilyPond's font handling, probably
> specific to the Windows platform (otherwise we would have seen from
> Abrahan, the author of the Beethoven fonts0.  It might be a problem in
> LilyPond itself or in one of the used libraries.
>
> Jonas, do you have any idea how to let Jesse create a backtrace
> easily?
>
>
> Werner
>


-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Hans Åberg


> On 9 Feb 2022, at 00:03, Jesse Wiener  wrote:
> 
> I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond install 
> was done with Homebrew. It all works wonderfully well. 
> 
> My question is: 
> 
> Is there some way to install alternate music fonts with this setup?

I think just installing them as system fonts should work. Open the Font Book 
app and drop them there (or put them in /Library/Fonts/ say from the Finder).




Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Hey Hans,

Yeah - I tried installing them using FontBook before I did anything else.
No dice.

Matt - unfortunately, creating local.conf file in the Font folder didn't do
it either.

I know lilypond is looking at the shared lilypond fonts folder because when
I try to refer to a font that's not in there, the error I get is that the
font isn't there. If I try to use the one I've been testing that *is* in
the folder, I get the seg fault & crash.

So it's seeing the font - I feel like something else must be going on.

Thank you!

Best,
Jesse

On Wed, Feb 9, 2022 at 2:04 PM Hans Åberg  wrote:

>
> > On 9 Feb 2022, at 00:03, Jesse Wiener  wrote:
> >
> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
> install was done with Homebrew. It all works wonderfully well.
> >
> > My question is:
> >
> > Is there some way to install alternate music fonts with this setup?
>
> I think just installing them as system fonts should work. Open the Font
> Book app and drop them there (or put them in /Library/Fonts/ say from the
> Finder).
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Hey Matt,

ohh -- I'm going to try this today -- I have the fonts installed on the
Mac in the usual way (as well as all the games I'm trying to play to be
clever) and I had a feeling something needed to change about the
configuration.

Werner - I've done just that: The file compiles just fine unless I try to
change the font. But I'm hoping Matt's advice works. I'll let you know.

Thanks all!

Best,
Jesse

On Wed, Feb 9, 2022 at 12:14 PM Matthew Fong  wrote:

> Hello Jesse,
>
> On the Mac, to place fonts in the typical location (~/Library/Fonts), you
> need to modify the /opt/local/etc/fonts/local.conf file.
> I am using MacPorts, which puts /etc in /opt/local; HomeBrew may place it
> elsewhere.
>
> The modification is as follows:
>
> In the  section, add
>
> *~/Library/Fonts*
>
>
> My local.conf file
>
>
> tejoseph fonts % more local.conf
> 
> 
>  
>  
>   false
>  
>  
> 
>
> ~/.lilypond-fonts.cache-2
>
> *~/Library/Fonts*
> 
>
>
> Many thanks,
> mattfong
>
> On Wed, Feb 9, 2022 at 9:07 AM Mike Andrews  wrote:
>
>> Segmentation fault indicates something seriously wrong in what Lilypond
>> is seeing or doing. I don’t have any more to say than that, but it comes
>> from 55+ years of fighting computers and software for a living.
>>
>> __
>> Mike Andrews
>> udsd...@gmail.com
>> Amateur Radio Station W5EGO
>> --
>> *From:* lilypond-user 
>> on behalf of Jesse Wiener 
>> *Sent:* Wednesday, February 9, 2022 9:31:35 AM
>> *To:* lilypond-user@gnu.org 
>> *Subject:* Re: Installing Alternate Music Fonts with Frescobaldi and
>> Homebrew Installation on M1 Mac
>>
>> Hi Valentin,
>>
>> After much trial and error with other things, I really thought I had it
>> figured out when I did it that way. I dragged all the individual otf files
>> into the otf folder so it resembled what was already there -- no
>> subdirectories or anything.
>>
>> I tried compiling both using LilyPond directly and using Frescobaldi to
>> no avail. And there are no useful details in the error message. I just get
>> "Exited with return code 11" in Frescobaldi and "fatal error: failed
>> filed:" and then the file name with no additional detail.
>>
>> I appreciate your time. Thank you!
>>
>> Best,
>> Jesse
>>
>> On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel 
>> wrote:
>>
>> Hello Jesse,
>>
>> might it be that you are installing the fonts wrongly? The font files
>> should directly go into the otf folder, with no subdirectories or whatever.
>>
>> Valentin
>>
>> 09.02.2022 15:21:37 Jesse Wiener :
>>
>> Valentin -- That's exactly the path I've been trying to no avail. I
>> tracked down that folder but the fonts just aren't being recognized as
>> having been installed.
>>
>> Jean -- I always have a bit of anxiety that I'm missing something obvious
>> when I'm planning on writing to the mailing list and this would appear to
>> be such a situation :). I'll look over that thread (which I see now). Thank
>> you!
>>
>> Best,
>> Jesse
>>
>> On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel 
>> wrote:
>>
>> Hello Jesse,
>>
>> I cannot say anything for sure (lacking a mac to try this on), but
>> theoretically you just need to find the folder homebrew installs the
>> packages
>> to (according to the internet /usr/local/Cellar), find the folder for
>> lilypond
>> and and put the fonts into share/lilypond/current/fonts/
>>
>> Cheers,
>> Valentin
>>
>> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
>> > Hi all,
>> >
>> > Apologies if this has been covered. I couldn't find anything about it
>> in
>> > the archives.
>> >
>> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
>> > install was done with Homebrew. It all works wonderfully well.
>> >
>> > My question is:
>> >
>> > Is there some way to install alternate music fonts with this setup?
>> > Obviously there's no .app package to put the fonts into, which makes me
>> > think that until we have an official LilyPond.app for recent macOS
>> > releases, there might be no way around this.
>> >
>> > But I wanted to put it to the group. Has anyone found a workaround?
>> >
>> > I did try placing font files into the 'share' folder that Homebrew
>> creates
>> > but that didn't seem to work. Frescobaldi threw errors.
>> >
>> > Thank you!
>> >
>> > Best,
>> > Jesse Wiener
>>
>>
>>
>> --
>> Jesse Wiener
>>
>>
>>
>> --
>> Jesse Wiener
>>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Matthew Fong
Hello Jesse,

On the Mac, to place fonts in the typical location (~/Library/Fonts), you
need to modify the /opt/local/etc/fonts/local.conf file.
I am using MacPorts, which puts /etc in /opt/local; HomeBrew may place it
elsewhere.

The modification is as follows:

In the  section, add

*~/Library/Fonts*


My local.conf file


tejoseph fonts % more local.conf


 
 
  false
 
 


~/.lilypond-fonts.cache-2

*~/Library/Fonts*



Many thanks,
mattfong

On Wed, Feb 9, 2022 at 9:07 AM Mike Andrews  wrote:

> Segmentation fault indicates something seriously wrong in what Lilypond is
> seeing or doing. I don’t have any more to say than that, but it comes from
> 55+ years of fighting computers and software for a living.
>
> __
> Mike Andrews
> udsd...@gmail.com
> Amateur Radio Station W5EGO
> --
> *From:* lilypond-user 
> on behalf of Jesse Wiener 
> *Sent:* Wednesday, February 9, 2022 9:31:35 AM
> *To:* lilypond-user@gnu.org 
> *Subject:* Re: Installing Alternate Music Fonts with Frescobaldi and
> Homebrew Installation on M1 Mac
>
> Hi Valentin,
>
> After much trial and error with other things, I really thought I had it
> figured out when I did it that way. I dragged all the individual otf files
> into the otf folder so it resembled what was already there -- no
> subdirectories or anything.
>
> I tried compiling both using LilyPond directly and using Frescobaldi to no
> avail. And there are no useful details in the error message. I just get
> "Exited with return code 11" in Frescobaldi and "fatal error: failed
> filed:" and then the file name with no additional detail.
>
> I appreciate your time. Thank you!
>
> Best,
> Jesse
>
> On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel  wrote:
>
> Hello Jesse,
>
> might it be that you are installing the fonts wrongly? The font files
> should directly go into the otf folder, with no subdirectories or whatever.
>
> Valentin
>
> 09.02.2022 15:21:37 Jesse Wiener :
>
> Valentin -- That's exactly the path I've been trying to no avail. I
> tracked down that folder but the fonts just aren't being recognized as
> having been installed.
>
> Jean -- I always have a bit of anxiety that I'm missing something obvious
> when I'm planning on writing to the mailing list and this would appear to
> be such a situation :). I'll look over that thread (which I see now). Thank
> you!
>
> Best,
> Jesse
>
> On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel 
> wrote:
>
> Hello Jesse,
>
> I cannot say anything for sure (lacking a mac to try this on), but
> theoretically you just need to find the folder homebrew installs the
> packages
> to (according to the internet /usr/local/Cellar), find the folder for
> lilypond
> and and put the fonts into share/lilypond/current/fonts/
>
> Cheers,
> Valentin
>
> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
> > Hi all,
> >
> > Apologies if this has been covered. I couldn't find anything about it in
> > the archives.
> >
> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
> > install was done with Homebrew. It all works wonderfully well.
> >
> > My question is:
> >
> > Is there some way to install alternate music fonts with this setup?
> > Obviously there's no .app package to put the fonts into, which makes me
> > think that until we have an official LilyPond.app for recent macOS
> > releases, there might be no way around this.
> >
> > But I wanted to put it to the group. Has anyone found a workaround?
> >
> > I did try placing font files into the 'share' folder that Homebrew
> creates
> > but that didn't seem to work. Frescobaldi threw errors.
> >
> > Thank you!
> >
> > Best,
> > Jesse Wiener
>
>
>
> --
> Jesse Wiener
>
>
>
> --
> Jesse Wiener
>


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG

> Looks like it's finding the font in the folder, but then crashing
> midway through the build. Here are the last few lines of the verbose
> output.
> 
> ```
> Preprocessing graphical objects...
> Grob count 1289
> [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-11.otf
> CFF name for font beethoven-11 is the same.]
> [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-13.otf
> CFF name for font beethoven-13 is the same.]
> [beethoven-13_4.2177734375][1]86953 segmentation fault  lilypond
> --verbose testreed.ly
> ```

Oh, oh.  A crash should never happen.  Please try to reduce your input
file as much as possible to get an MWE (minimal working example) that
still crashes – maybe it crashes with default LilyPond fonts, too?  If
you are done please send the input file to the list.  If some non-free
fonts are necessary to reproduce the problem, don't send them.
Instead, whoever is going to have a closer look at the issue will ask
you to send the fonts privately for further investigation.


Werner


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Mike Andrews
Segmentation fault indicates something seriously wrong in what Lilypond is 
seeing or doing. I don’t have any more to say than that, but it comes from 55+ 
years of fighting computers and software for a living.

__
Mike Andrews
udsd...@gmail.com
Amateur Radio Station W5EGO

From: lilypond-user  on behalf 
of Jesse Wiener 
Sent: Wednesday, February 9, 2022 9:31:35 AM
To: lilypond-user@gnu.org 
Subject: Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew 
Installation on M1 Mac

Hi Valentin,

After much trial and error with other things, I really thought I had it figured 
out when I did it that way. I dragged all the individual otf files into the otf 
folder so it resembled what was already there -- no subdirectories or anything.

I tried compiling both using LilyPond directly and using Frescobaldi to no 
avail. And there are no useful details in the error message. I just get "Exited 
with return code 11" in Frescobaldi and "fatal error: failed filed:" and then 
the file name with no additional detail.

I appreciate your time. Thank you!

Best,
Jesse

On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel 
mailto:valen...@petzel.at>> wrote:
Hello Jesse,

might it be that you are installing the fonts wrongly? The font files should 
directly go into the otf folder, with no subdirectories or whatever.

Valentin


09.02.2022 15:21:37 Jesse Wiener 
mailto:jesse.wie...@gmail.com>>:

Valentin -- That's exactly the path I've been trying to no avail. I tracked 
down that folder but the fonts just aren't being recognized as having been 
installed.

Jean -- I always have a bit of anxiety that I'm missing something obvious when 
I'm planning on writing to the mailing list and this would appear to be such a 
situation :). I'll look over that thread (which I see now). Thank you!

Best,
Jesse

On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel 
mailto:valen...@petzel.at>> wrote:
Hello Jesse,

I cannot say anything for sure (lacking a mac to try this on), but
theoretically you just need to find the folder homebrew installs the packages
to (according to the internet /usr/local/Cellar), find the folder for lilypond
and and put the fonts into share/lilypond/current/fonts/

Cheers,
Valentin

Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
> Hi all,
>
> Apologies if this has been covered. I couldn't find anything about it in
> the archives.
>
> I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
> install was done with Homebrew. It all works wonderfully well.
>
> My question is:
>
> Is there some way to install alternate music fonts with this setup?
> Obviously there's no .app package to put the fonts into, which makes me
> think that until we have an official LilyPond.app for recent macOS
> releases, there might be no way around this.
>
> But I wanted to put it to the group. Has anyone found a workaround?
>
> I did try placing font files into the 'share' folder that Homebrew creates
> but that didn't seem to work. Frescobaldi threw errors.
>
> Thank you!
>
> Best,
> Jesse Wiener



--
Jesse Wiener


--
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Hi Valentin,

After much trial and error with other things, I really thought I had it
figured out when I did it that way. I dragged all the individual otf files
into the otf folder so it resembled what was already there -- no
subdirectories or anything.

I tried compiling both using LilyPond directly and using Frescobaldi to no
avail. And there are no useful details in the error message. I just get
"Exited with return code 11" in Frescobaldi and "fatal error: failed
filed:" and then the file name with no additional detail.

I appreciate your time. Thank you!

Best,
Jesse

On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel  wrote:

> Hello Jesse,
>
> might it be that you are installing the fonts wrongly? The font files
> should directly go into the otf folder, with no subdirectories or whatever.
>
> Valentin
>
> 09.02.2022 15:21:37 Jesse Wiener :
>
> Valentin -- That's exactly the path I've been trying to no avail. I
> tracked down that folder but the fonts just aren't being recognized as
> having been installed.
>
> Jean -- I always have a bit of anxiety that I'm missing something obvious
> when I'm planning on writing to the mailing list and this would appear to
> be such a situation :). I'll look over that thread (which I see now). Thank
> you!
>
> Best,
> Jesse
>
> On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel 
> wrote:
>
>> Hello Jesse,
>>
>> I cannot say anything for sure (lacking a mac to try this on), but
>> theoretically you just need to find the folder homebrew installs the
>> packages
>> to (according to the internet /usr/local/Cellar), find the folder for
>> lilypond
>> and and put the fonts into share/lilypond/current/fonts/
>>
>> Cheers,
>> Valentin
>>
>> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
>> > Hi all,
>> >
>> > Apologies if this has been covered. I couldn't find anything about it
>> in
>> > the archives.
>> >
>> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
>> > install was done with Homebrew. It all works wonderfully well.
>> >
>> > My question is:
>> >
>> > Is there some way to install alternate music fonts with this setup?
>> > Obviously there's no .app package to put the fonts into, which makes me
>> > think that until we have an official LilyPond.app for recent macOS
>> > releases, there might be no way around this.
>> >
>> > But I wanted to put it to the group. Has anyone found a workaround?
>> >
>> > I did try placing font files into the 'share' folder that Homebrew
>> creates
>> > but that didn't seem to work. Frescobaldi threw errors.
>> >
>> > Thank you!
>> >
>> > Best,
>> > Jesse Wiener
>>
>>
>
> --
> Jesse Wiener
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Thanks Werner.

Looks like it's finding the font in the folder, but then crashing midway
through the build. Here are the last few lines of the verbose output.

```
Preprocessing graphical objects...
Grob count 1289
[/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-11.otf
CFF name for font beethoven-11 is the same.]
[/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-13.otf
CFF name for font beethoven-13 is the same.]
[beethoven-13_4.2177734375][1]86953 segmentation fault  lilypond
--verbose testreed.ly
```

Do I need to change the 00-lilypond-fonts.conf file?

Thank you!

On Wed, Feb 9, 2022 at 11:01 AM Werner LEMBERG  wrote:

>
> > Valentin -- That's exactly the path I've been trying to no avail. I
> > tracked down that folder but the fonts just aren't being recognized
> > as having been installed.
>
> If you call the `lilypond` binary on the command line with
>
> ```
> lilypond --verbose 
> ```
>
> You can see where LilyPond tries to find fonts and other files.  Maybe
> this helps identify the exact location necessary for installing more
> music fonts.
>
>
> Werner
>


-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Werner LEMBERG


> Valentin -- That's exactly the path I've been trying to no avail. I
> tracked down that folder but the fonts just aren't being recognized
> as having been installed.

If you call the `lilypond` binary on the command line with

```
lilypond --verbose 
```

You can see where LilyPond tries to find fonts and other files.  Maybe
this helps identify the exact location necessary for installing more
music fonts.


Werner



Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Valentin Petzel
Hello Jesse,

might it be that you are installing the fonts wrongly? The font files should 
directly go into the otf folder, with no subdirectories or whatever.

Valentin

09.02.2022 15:21:37 Jesse Wiener :

> Valentin -- That's exactly the path I've been trying to no avail. I tracked 
> down that folder but the fonts just aren't being recognized as having been 
> installed. 
> 
> Jean -- I always have a bit of anxiety that I'm missing something obvious 
> when I'm planning on writing to the mailing list and this would appear to be 
> such a situation :). I'll look over that thread (which I see now). Thank you!
> 
> Best,
> Jesse
> 
> On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel  wrote:
>> Hello Jesse,
>> 
>> I cannot say anything for sure (lacking a mac to try this on), but
>> theoretically you just need to find the folder homebrew installs the packages
>> to (according to the internet /usr/local/Cellar), find the folder for 
>> lilypond
>> and and put the fonts into share/lilypond/current/fonts/
>> 
>> Cheers,
>> Valentin
>> 
>> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
>>> Hi all,
>>>
>>> Apologies if this has been covered. I couldn't find anything about it in
>>> the archives.
>>>
>>> I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
>>> install was done with Homebrew. It all works wonderfully well.
>>>
>>> My question is:
>>>
>>> Is there some way to install alternate music fonts with this setup?
>>> Obviously there's no .app package to put the fonts into, which makes me
>>> think that until we have an official LilyPond.app for recent macOS
>>> releases, there might be no way around this.
>>>
>>> But I wanted to put it to the group. Has anyone found a workaround?
>>>
>>> I did try placing font files into the 'share' folder that Homebrew creates
>>> but that didn't seem to work. Frescobaldi threw errors.
>>>
>>> Thank you!
>>>
>>> Best,
>>> Jesse Wiener
>> 
> 
> 
> -- 
> Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Jesse Wiener
Valentin -- That's exactly the path I've been trying to no avail. I tracked
down that folder but the fonts just aren't being recognized as having been
installed.

Jean -- I always have a bit of anxiety that I'm missing something obvious
when I'm planning on writing to the mailing list and this would appear to
be such a situation :). I'll look over that thread (which I see now). Thank
you!

Best,
Jesse

On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel  wrote:

> Hello Jesse,
>
> I cannot say anything for sure (lacking a mac to try this on), but
> theoretically you just need to find the folder homebrew installs the
> packages
> to (according to the internet /usr/local/Cellar), find the folder for
> lilypond
> and and put the fonts into share/lilypond/current/fonts/
>
> Cheers,
> Valentin
>
> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
> > Hi all,
> >
> > Apologies if this has been covered. I couldn't find anything about it in
> > the archives.
> >
> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
> > install was done with Homebrew. It all works wonderfully well.
> >
> > My question is:
> >
> > Is there some way to install alternate music fonts with this setup?
> > Obviously there's no .app package to put the fonts into, which makes me
> > think that until we have an official LilyPond.app for recent macOS
> > releases, there might be no way around this.
> >
> > But I wanted to put it to the group. Has anyone found a workaround?
> >
> > I did try placing font files into the 'share' folder that Homebrew
> creates
> > but that didn't seem to work. Frescobaldi threw errors.
> >
> > Thank you!
> >
> > Best,
> > Jesse Wiener
>
>

-- 
Jesse Wiener


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-08 Thread Valentin Petzel
Hello Jesse,

I cannot say anything for sure (lacking a mac to try this on), but 
theoretically you just need to find the folder homebrew installs the packages 
to (according to the internet /usr/local/Cellar), find the folder for lilypond 
and and put the fonts into share/lilypond/current/fonts/

Cheers,
Valentin

Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener:
> Hi all,
> 
> Apologies if this has been covered. I couldn't find anything about it in
> the archives.
> 
> I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond
> install was done with Homebrew. It all works wonderfully well.
> 
> My question is:
> 
> Is there some way to install alternate music fonts with this setup?
> Obviously there's no .app package to put the fonts into, which makes me
> think that until we have an official LilyPond.app for recent macOS
> releases, there might be no way around this.
> 
> But I wanted to put it to the group. Has anyone found a workaround?
> 
> I did try placing font files into the 'share' folder that Homebrew creates
> but that didn't seem to work. Frescobaldi threw errors.
> 
> Thank you!
> 
> Best,
> Jesse Wiener



signature.asc
Description: This is a digitally signed message part.


Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-08 Thread Jean Abou Samra

Le 09/02/2022 à 00:03, Jesse Wiener a écrit :

Hi all,

Apologies if this has been covered. I couldn't find anything about it 
in the archives.


I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond 
install was done with Homebrew. It all works wonderfully well.


My question is:

Is there some way to install alternate music fonts with this setup? 
Obviously there's no .app package to put the fonts into, which makes 
me think that until we have an official LilyPond.app for recent macOS 
releases, there might be no way around this.



Read the announcement for version 2.23.6 posted today.
There is now an official solution for recent macOS.
It's not a LilyPond.app, but you can still drop fonts
into it.

Keep in mind that it's a development release.




But I wanted to put it to the group. Has anyone found a workaround?

I did try placing font files into the 'share' folder that Homebrew 
creates but that didn't seem to work. Frescobaldi threw errors.



If you still want to continue with this setup (for example
because it's a stable version), please post the error messages.
It is hard to tell the problem without them.

Regards,
Jean