Re: Weirdness With Fonts and Font Tree Snippet
2014/1/3 Werner LEMBERG w...@gnu.org Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. good idea, I've added a wish: https://github.com/wbsoft/frescobaldi/issues/341 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
The function `ly:font-config-display-fonts' (available via the `-dshow-available-fonts' command line option of lilypond) I don't even know how to access that. I don't see an option from the GUI to be able to do that. I tried doing some of the things aforementioned through Frescobaldi's command line option (in the GUI), but I could never type in any characters, let alone a full line command. IC, Josh On Fri, Jan 3, 2014 at 12:50 AM, Werner LEMBERG w...@gnu.org wrote: Indeed, I have found that on Mac OS X, the system is very picky about what it sees and doesn't see. For instance, I use the SkyFonts program to install fonts from the Google Fonts site. Apparently, it doesn't install them as system fonts, so if I want to use them in LilyPond (and PT Sans Narrow, one of the fonts in that collection, is the font I currently use for LilyPond), I have to go ahead and download the ZIP file and install them through FontBook, but almost every other program I use has no issue with it. I think Inkscape might be picky as well, but I don't do enough stuff with those fonts in that program to remember. Hmm. The function `ly:font-config-display-fonts' (available via the `-dshow-available-fonts' command line option of lilypond) shows exactly which directories lilypond's fontconfig is looking into, besides a list of fonts it recognizes. It also lists the configuration files together with the directories fontconfig is searching for configuration files. Doesn't this work as expected? Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
2014/1/3 Joshua Nichols josh.d.nich...@gmail.com The function `ly:font-config-display-fonts' (available via the `-dshow-available-fonts' command line option of lilypond) I don't even know how to access that. I don't see an option from the GUI to be able to do that. I tried doing some of the things aforementioned through Frescobaldi's command line option (in the GUI), but I could never type in any characters, let alone a full line command. open the terminal of Mac and write: lilypond -dshow-available-fonts ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On Fri, Jan 3, 2014 at 10:53 AM, Federico Bruni fedel...@gmail.com wrote: open the terminal of Mac and write: lilypond -dshow-available-fonts I got: -bash: lilypond: command not found IC, Josh ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On 1/3/14 9:57 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: On Fri, Jan 3, 2014 at 10:53 AM, Federico Bruni fedel...@gmail.com wrote: open the terminal of Mac and write: lilypond -dshow-available-fonts I got: -bash: lilypond: command not found On the mac, lilypond is not in a directory that's part of your path. Instead, it's in a subdirectory of your LilyPond application. The command you would use is /Applications/your-Lilypond-version.app/Contents/Resources/bin/lilypond -dshow-available-fonts where you replace your-Lilypond-version.app with the file name of your lilypond application. (Of course, this assumes that your Lilypond.app is in the /Applications folder. If not, you'll need to change the path accordingly.) HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On 1/3/14 10:33 AM, Carl Sorensen c_soren...@byu.edu wrote: On 1/3/14 9:57 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: On Fri, Jan 3, 2014 at 10:53 AM, Federico Bruni fedel...@gmail.com wrote: open the terminal of Mac and write: lilypond -dshow-available-fonts I got: -bash: lilypond: command not found Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. Yes, I was talking about Frescobaldi, but also LilyPond's native interface, more specifically. The drop down menus do not contain anything beyond the typeset file and edit features. IC, Josh On Fri, Jan 3, 2014 at 11:58 AM, Werner LEMBERG w...@gnu.org wrote: Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) This was very helpful. That is a nice tip. IC, Josh On Fri, Jan 3, 2014 at 11:53 AM, Carl Sorensen c_soren...@byu.edu wrote: On 1/3/14 10:33 AM, Carl Sorensen c_soren...@byu.edu wrote: On 1/3/14 9:57 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: On Fri, Jan 3, 2014 at 10:53 AM, Federico Bruni fedel...@gmail.com wrote: open the terminal of Mac and write: lilypond -dshow-available-fonts I got: -bash: lilypond: command not found Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On 1/3/14 10:58 AM, Werner LEMBERG w...@gnu.org wrote: Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. I assumed he meant the LilyPad editor that shows up on the Mac when you click on the LilyPond icon. Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
I assumed he meant the LilyPad editor that shows up on the Mac when you click on the LilyPond icon. This is what I meant. Sorry for the weird (typing quickly and on the fly). IC, Josh On Fri, Jan 3, 2014 at 1:18 PM, Carl Sorensen c_soren...@byu.edu wrote: On 1/3/14 10:58 AM, Werner LEMBERG w...@gnu.org wrote: Another way to do it is to create a lilypond file that contains #(ly:font-config-display-fonts) and typeset it. You will get a list of the fonts in the log window. Nice. The OP talked about `GUI'; I assume he means Frescobaldi. Maybe such a command could be added to its menu system, to aid people having problems with fonts. I assumed he meant the LilyPad editor that shows up on the Mac when you click on the LilyPond icon. Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Weirdness With Fonts and Font Tree Snippet
I figured I'd wait till 2.18.0 to see if something magical occurred, but now I know for sure... When I use the snippet: #(define fonts (make-pango-font-tree Linux Libertine G Nimbus Sans Luxi Mono (/ myStaffSize 20))) On my Mac (which is Snow Leopard) I do not get Linux Libertine but some sans serif font (I imagine it is Nimbus Sans). I promise I have the font installed, and (for some reason) I remember it worked a while ago... but now I have no clue. It works properly with Windows machines (both of my work machines are windows) and have shown no signs of error. I also tried installing the font from the source, (it was under Linux Libertine O) and tried it too. I did try the TTF version as well; alas, to no avail. I imagine this may be an internal thing (with respect to my personal computer) but was wondering anyone if ya'll had any thoughts in regard to this matter. It would also be nice to know if there is a clear cut way to change the default internal fonts to LilyPond (when I see all the developer jargon, I get all fuzzy and dizzy). See attached for default output when I run it through my Mac. Sincerely, Josh attachment: wierdness.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On Thu, Jan 2, 2014 at 11:39 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: I figured I'd wait till 2.18.0 to see if something magical occurred, but now I know for sure... When I use the snippet: #(define fonts (make-pango-font-tree Linux Libertine G Nimbus Sans Luxi Mono (/ myStaffSize 20))) On my Mac (which is Snow Leopard) I do not get Linux Libertine but some sans serif font (I imagine it is Nimbus Sans). I promise I have the font installed, and (for some reason) I remember it worked a while ago... but now I have no clue. It works properly with Windows machines (both of my work machines are windows) and have shown no signs of error. I also tried installing the font from the source, (it was under Linux Libertine O) and tried it too. I did try the TTF version as well; alas, to no avail. I imagine this may be an internal thing (with respect to my personal computer) but was wondering anyone if ya'll had any thoughts in regard to this matter. It would also be nice to know if there is a clear cut way to change the default internal fonts to LilyPond (when I see all the developer jargon, I get all fuzzy and dizzy). See attached for default output when I run it through my Mac. Sincerely, Josh I've experienced the same issue before. Is the font installed at the User level or at the Computer level? I seem to recall that it has to be at the Computer level. I also think you might need to use something like LinLibertine as the font name...I'll have to go back later and look at the scores I've done using Linux Libertine O. (and is Linux Libertine G above a typo or really what you have in your score? In which case you may have your problem). Cheers, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Hello, Last time (a long time ago) I had that problem, I deleted the fonts cache file created by LilyPond in my user folder with: Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Weirdness-With-Fonts-and-Font-Tree-Snippet-tp156948p156954.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Thanks for your response Carl, Is the font installed at the User level or at the Computer level? I think it is both. I installed a user font (that was from the source) and that appeared on the user level... but the system had a font called Linux Libertine G which is native to LibreOffice (the WYSIWYG I use for docs). is Linux Libertine G above a typo or really what you have in your score? Linux Libertine G is the name of the font. I've used it in typesetting .ly things on my Windows machine... and I think the G stands for Graphite which is a typesetting feature of LibreOffice's kerning and advanced typesetting features in the typesetting toolbar. LLG is what comes with LibreOffice. Sincerely, Josh On Thu, Jan 2, 2014 at 10:45 AM, Carl Peterson carlopeter...@gmail.comwrote: On Thu, Jan 2, 2014 at 11:39 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: I figured I'd wait till 2.18.0 to see if something magical occurred, but now I know for sure... When I use the snippet: #(define fonts (make-pango-font-tree Linux Libertine G Nimbus Sans Luxi Mono (/ myStaffSize 20))) On my Mac (which is Snow Leopard) I do not get Linux Libertine but some sans serif font (I imagine it is Nimbus Sans). I promise I have the font installed, and (for some reason) I remember it worked a while ago... but now I have no clue. It works properly with Windows machines (both of my work machines are windows) and have shown no signs of error. I also tried installing the font from the source, (it was under Linux Libertine O) and tried it too. I did try the TTF version as well; alas, to no avail. I imagine this may be an internal thing (with respect to my personal computer) but was wondering anyone if ya'll had any thoughts in regard to this matter. It would also be nice to know if there is a clear cut way to change the default internal fonts to LilyPond (when I see all the developer jargon, I get all fuzzy and dizzy). See attached for default output when I run it through my Mac. Sincerely, Josh I've experienced the same issue before. Is the font installed at the User level or at the Computer level? I seem to recall that it has to be at the Computer level. I also think you might need to use something like LinLibertine as the font name...I'll have to go back later and look at the scores I've done using Linux Libertine O. (and is Linux Libertine G above a typo or really what you have in your score? In which case you may have your problem). Cheers, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
2014/1/2 Joshua Nichols josh.d.nich...@gmail.com When I use the snippet: #(define fonts (make-pango-font-tree Linux Libertine G Nimbus Sans Luxi Mono (/ myStaffSize 20))) On my Mac (which is Snow Leopard) I do not get Linux Libertine but some sans serif font (I imagine it is Nimbus Sans). I promise I have the font installed, and (for some reason) I remember it worked a while ago... but now I have no clue. It works properly with Windows machines (both of my work machines are windows) and have shown no signs of error. I also tried installing the font from the source, (it was under Linux Libertine O) and tried it too. I did try the TTF version as well; alas, to no avail. If you run this command in a terminal (hope it works on mac): fc-list | grep libertine does it catch the font? Recently I had this problem (on linux): https://code.google.com/p/lilypond/issues/detail?id=3589 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
I ran the command verbatim, and nothing occurred. Need I tell you I am not that in-tune to programming stuff, so I might be missing something. IC, Josh On Thu, Jan 2, 2014 at 12:05 PM, Federico Bruni fedel...@gmail.com wrote: 2014/1/2 Joshua Nichols josh.d.nich...@gmail.com When I use the snippet: #(define fonts (make-pango-font-tree Linux Libertine G Nimbus Sans Luxi Mono (/ myStaffSize 20))) On my Mac (which is Snow Leopard) I do not get Linux Libertine but some sans serif font (I imagine it is Nimbus Sans). I promise I have the font installed, and (for some reason) I remember it worked a while ago... but now I have no clue. It works properly with Windows machines (both of my work machines are windows) and have shown no signs of error. I also tried installing the font from the source, (it was under Linux Libertine O) and tried it too. I did try the TTF version as well; alas, to no avail. If you run this command in a terminal (hope it works on mac): fc-list | grep libertine does it catch the font? Recently I had this problem (on linux): https://code.google.com/p/lilypond/issues/detail?id=3589 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
2014/1/2 Joshua Nichols josh.d.nich...@gmail.com I ran the command verbatim, and nothing occurred. Need I tell you I am not that in-tune to programming stuff, so I might be missing something. try running just: fc-list and post here the output (if any) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On Thu, Jan 2, 2014 at 6:43 PM, Joshua Nichols josh.d.nich...@gmail.com wrote: see attached. It was lengthy. IC, Josh I didn't find an entry for Linux Libertine in your listing. On my machine, I checked Font Book and it looks like I have it installed both as a user copy and as a system copy. And Linux Libertine O works for me. Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Okay, so I did the obvious and went through the Fontbook and literally clicked and dragged the fonts into the computer (I guess that's the sys place) tab, and then I re-typeset the file: It worked... Well... there's for a lot of heartburn! Thank y'all for helping out! I can't believe that to get that effect it worked that *easily*. IC, Josh On Thu, Jan 2, 2014 at 6:30 PM, Carl Peterson carlopeter...@gmail.comwrote: On Thu, Jan 2, 2014 at 6:43 PM, Joshua Nichols josh.d.nich...@gmail.com wrote: see attached. It was lengthy. IC, Josh I didn't find an entry for Linux Libertine in your listing. On my machine, I checked Font Book and it looks like I have it installed both as a user copy and as a system copy. And Linux Libertine O works for me. Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Joshua Nichols josh.d.nichols at gmail.com writes: see attached. It was lengthy. For future reference, probably you needed this, for case-insensitive searching. fc-list | grep -i libertine hjh ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On Thu, Jan 2, 2014 at 7:38 PM, Joshua Nichols josh.d.nich...@gmail.com wrote: Okay, so I did the obvious and went through the Fontbook and literally clicked and dragged the fonts into the computer (I guess that's the sys place) tab, and then I re-typeset the file: It worked... Well... there's for a lot of heartburn! Thank y'all for helping out! I can't believe that to get that effect it worked that *easily*. IC, Josh Indeed, I have found that on Mac OS X, the system is very picky about what it sees and doesn't see. For instance, I use the SkyFonts program to install fonts from the Google Fonts site. Apparently, it doesn't install them as system fonts, so if I want to use them in LilyPond (and PT Sans Narrow, one of the fonts in that collection, is the font I currently use for LilyPond), I have to go ahead and download the ZIP file and install them through FontBook, but almost every other program I use has no issue with it. I think Inkscape might be picky as well, but I don't do enough stuff with those fonts in that program to remember. Carl P. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
On 1/2/14 10:51 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: Thanks for your response Carl, Is the font installed at the User level or at the Computer level? I think it is both. I installed a user font (that was from the source) and that appeared on the user level... but the system had a font called Linux Libertine G which is native to LibreOffice (the WYSIWYG I use for docs). I've never tried using different fonts in LilyPond, but in R, there are problems with using a font that is defined both at the computer level and the user level. Native Mac applications seem to work just fine, but at least R (a linux-style application) has problems when a font is multiply defined. IIRC, FontBook will show you that problem if you look at your fonts in FontBook. I'd recommend that you remove the user font (you can always add it back) and see if that fixes anything. HTH, Carl S. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
This is great information to have. Thanks for that tip! IC, Josh On Thu, Jan 2, 2014 at 7:11 PM, Carl Peterson carlopeter...@gmail.comwrote: On Thu, Jan 2, 2014 at 7:38 PM, Joshua Nichols josh.d.nich...@gmail.com wrote: Okay, so I did the obvious and went through the Fontbook and literally clicked and dragged the fonts into the computer (I guess that's the sys place) tab, and then I re-typeset the file: It worked... Well... there's for a lot of heartburn! Thank y'all for helping out! I can't believe that to get that effect it worked that *easily*. IC, Josh Indeed, I have found that on Mac OS X, the system is very picky about what it sees and doesn't see. For instance, I use the SkyFonts program to install fonts from the Google Fonts site. Apparently, it doesn't install them as system fonts, so if I want to use them in LilyPond (and PT Sans Narrow, one of the fonts in that collection, is the font I currently use for LilyPond), I have to go ahead and download the ZIP file and install them through FontBook, but almost every other program I use has no issue with it. I think Inkscape might be picky as well, but I don't do enough stuff with those fonts in that program to remember. Carl P. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
I've gone through and removed everything at the User level that is duplicated at the System level. This is great information. Thanks again for the tips! IC, Josh On Thu, Jan 2, 2014 at 8:22 PM, Carl Sorensen c_soren...@byu.edu wrote: On 1/2/14 10:51 AM, Joshua Nichols josh.d.nich...@gmail.com wrote: Thanks for your response Carl, Is the font installed at the User level or at the Computer level? I think it is both. I installed a user font (that was from the source) and that appeared on the user level... but the system had a font called Linux Libertine G which is native to LibreOffice (the WYSIWYG I use for docs). I've never tried using different fonts in LilyPond, but in R, there are problems with using a font that is defined both at the computer level and the user level. Native Mac applications seem to work just fine, but at least R (a linux-style application) has problems when a font is multiply defined. IIRC, FontBook will show you that problem if you look at your fonts in FontBook. I'd recommend that you remove the user font (you can always add it back) and see if that fixes anything. HTH, Carl S. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Weirdness With Fonts and Font Tree Snippet
Indeed, I have found that on Mac OS X, the system is very picky about what it sees and doesn't see. For instance, I use the SkyFonts program to install fonts from the Google Fonts site. Apparently, it doesn't install them as system fonts, so if I want to use them in LilyPond (and PT Sans Narrow, one of the fonts in that collection, is the font I currently use for LilyPond), I have to go ahead and download the ZIP file and install them through FontBook, but almost every other program I use has no issue with it. I think Inkscape might be picky as well, but I don't do enough stuff with those fonts in that program to remember. Hmm. The function `ly:font-config-display-fonts' (available via the `-dshow-available-fonts' command line option of lilypond) shows exactly which directories lilypond's fontconfig is looking into, besides a list of fonts it recognizes. It also lists the configuration files together with the directories fontconfig is searching for configuration files. Doesn't this work as expected? Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user