Re: problems with ly:font-load

2008-12-10 Thread Werner LEMBERG
> Oh, I didn't think TTF fonts would work (of course, I should have > guessed that any file recognized by fontconfig could do the trick). This is not correct. Lilypond can't handle bitmap fonts (which FontConfig will also find if it is configured to do so -- we have to implement something to rej

Re: problems with ly:font-load

2008-12-10 Thread Valentin Villenave
2008/12/10 Werner LEMBERG <[EMAIL PROTECTED]>: > >> for some reason I can't figure out how to make it work. Would you >> have an example file to send me? >> But this doesn't work (more surprisingly, it doesn't display any >> message during the compilation??). > > What message do you expect? You

Re: problems with ly:font-load

2008-12-10 Thread Werner LEMBERG
> for some reason I can't figure out how to make it work. Would you > have an example file to send me? > I've tried > #(ly:font-config-add-font > "./Documents/chemoelectric_-_Goudy_Bookletter_1.otf") > > or > #(ly:font-config-add-directory "./Documents/") > > and then > > c-\markup{ \override #

Re: problems with ly:font-load

2008-12-10 Thread Valentin Villenave
2008/12/9 Werner LEMBERG <[EMAIL PROTECTED]>: > >> > I've just added ly:font-config-add-directory and >> > ly:font-config-add-font. Please test. Hi Werner, for some reason I can't figure out how to make it work. Would you have an example file to send me? I've tried #(ly:font-config-add-font "./Do

Re: problems with ly:font-load

2008-12-09 Thread Werner LEMBERG
> > I've just added ly:font-config-add-directory and > > ly:font-config-add-font. Please test. > > Yeepee! I'm compiling right away. Just a warning: I got crashes with fontconfig 2.4.1; if you experience the same you should try version 2.6.0. Werner _

Re: problems with ly:font-load

2008-12-09 Thread Valentin Villenave
2008/12/9 Werner LEMBERG <[EMAIL PROTECTED]>: > I've just added ly:font-config-add-directory and > ly:font-config-add-font. Please test. Yeepee! I'm compiling right away. Cheers, Valentin ___ lilypond-devel mailing list lilypond-devel@gnu.org http:/

Re: problems with ly:font-load

2008-12-09 Thread Werner LEMBERG
> > However, it shouldn't be to hard to add functions > > `ly:font-config-register-directory' and > > `ly:font-config-register-file' (using FcConfigAppFontAddFile) to > > lilypond. > > That would be awesome; [...] I've just added ly:font-config-add-directory and ly:font-config-add-font. Please

Re: problems with ly:font-load

2008-11-30 Thread Werner LEMBERG
> > Are you aware of the fact that > > > > (ly:font-load foo) > > > > only loads an OTF font with the name `foo.otf'? Additionally, the > > font should contain OpenType tables `LILC', `LILY', and `LILF', or > > you get a warning message. > > Feel free to update the name to reflect this. Done.

Re: problems with ly:font-load

2008-11-27 Thread Valentin Villenave
2008/11/27 Werner LEMBERG <[EMAIL PROTECTED]>: > However, it shouldn't be to hard to add > functions `ly:font-config-register-directory' and > `ly:font-config-register-file' (using FcConfigAppFontAddFile) to > lilypond. > > Any takers? I can't promise that I can provide such functions > quickly.

Re: problems with ly:font-load

2008-11-27 Thread Werner LEMBERG
> > Note that lilypond can't load any other font by itself; it uses > > uses the fontconfig interface for everything else. > > BTW: a while ago, I asked you if there was a way to load fonts that > are *not* installed on the system (by forcing fontconfig to detect > fonts, say, in the same directo

Re: problems with ly:font-load

2008-11-26 Thread Han-Wen Nienhuys
On Wed, Nov 26, 2008 at 5:53 AM, Werner LEMBERG <[EMAIL PROTECTED]> wrote: > > Are you aware of the fact that > > (ly:font-load foo) > > only loads an OTF font with the name `foo.otf'? Additionally, the > font should contain OpenType tables `LILC', `LILY', and `LILF', or you > get a warning messa

Re: problems with ly:font-load

2008-11-26 Thread Valentin Villenave
2008/11/26 Werner LEMBERG <[EMAIL PROTECTED]>: > Note that lilypond can't load any other font by itself; it uses uses > the fontconfig interface for everything else. BTW: a while ago, I asked you if there was a way to load fonts that are *not* installed on the system (by forcing fontconfig to det

problems with ly:font-load

2008-11-25 Thread Werner LEMBERG
Are you aware of the fact that (ly:font-load foo) only loads an OTF font with the name `foo.otf'? Additionally, the font should contain OpenType tables `LILC', `LILY', and `LILF', or you get a warning message. In other words, this function is only suited to load lilypond's `system' fonts and