Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Risto Vääräniemi
2008/10/2 Valentin Villenave <[EMAIL PROTECTED]>:

> You might need to rebuild FontConfig's cache; delete the folder named
> C:\Documents and Settings\yourname\.lilypond-fonts.cache-2
> then launch a new compilation.

Ah, it was in the profile folder. I suspected that the cache was the
culprit because LP / Pango could find other fonts from the system font
folder (Verdana for chords). I tried to search for it in the LP
installation folder but naturally couldn't find it.

I'll try it this evening. Thanks again.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Valentin Villenave
2008/10/2 Risto Vääräniemi <[EMAIL PROTECTED]>:

> I even uninstalled LP an reinstalled it several times rebooting in
> between. I'm slowly running out of ideas. Does anyone have any
> pointers that might help? If you think a verbose log file might help
> solving this, I'll be happy to send you one.

You might need to rebuild FontConfig's cache; delete the folder named
C:\Documents and Settings\yourname\.lilypond-fonts.cache-2
then launch a new compilation.

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Risto Vääräniemi
On 02/10/2008, Valentin Villenave <[EMAIL PROTECTED]> wrote:
>> Is there a way to tell Pango, which font to use for this lyric tie? If
>> I have both Arial Unicode and DejaVuLGC installed and would like to
>> specify that DejaVuLGC was used.

Alright, I installed the same font that worked in the other setup,
Arial Unicode that is (arialuni.ttf). Still LP cannot find the font
even if it is in C:\Windows\Fonts folder. I also tested the DejaVuLGC
but the result was the same.

I even uninstalled LP an reinstalled it several times rebooting in
between. I'm slowly running out of ideas. Does anyone have any
pointers that might help? If you think a verbose log file might help
solving this, I'll be happy to send you one.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Valentin Villenave
2008/10/2 Risto Vääräniemi <[EMAIL PROTECTED]>:

> Is there a way to tell Pango, which font to use for this lyric tie? If
> I have both Arial Unicode and DejaVuLGC installed and would like to
> specify that DejaVuLGC was used.

I don't know if this will help, but I've added a link to NR 1.8.3
Fonts in this paragraph.

IMHO (though I'm not able to implement it), the lyrictie could be
handled by a PostScript stencil rather than a glyph -- Or perhaps we
could copy/paste the DejaVuLGC glyph in one of our fonts?


Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Risto Vääräniemi
2008/10/2 Risto Vääräniemi <[EMAIL PROTECTED]>:
> 2008/10/2 Mats Bengtsson <[EMAIL PROTECTED]>:
>
>> Note that Pango (the font handling library used in LilyPond) may pick
>> different symbols from different fonts, so even if the rest of the text is
>> typeset using the standard Century Schoolbook font, the lyric tie is
>> typically taken from a separate font since it's not found in Century
>> Schoolbook.

Just one more question...

Is there a way to tell Pango, which font to use for this lyric tie? If
I have both Arial Unicode and DejaVuLGC installed and would like to
specify that DejaVuLGC was used.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-02 Thread Risto Vääräniemi
2008/10/2 Mats Bengtsson <[EMAIL PROTECTED]>:

> Note that Pango (the font handling library used in LilyPond) may pick
> different symbols from different fonts, so even if the rest of the text is
> typeset using the standard Century Schoolbook font, the lyric tie is
> typically taken from a separate font since it's not found in Century
> Schoolbook.

Ah, thanks. When you first read the section (and I've read it several
times) it doesn't clearly say that the Schoolbook does not have that
glyph. It is sort of hinted in a round about way if you read the
section a couple of times more with some serious thought. Or maybe I'm
just a bit thick. :-)

The file on my work computer says it had used these fonts:
%%DocumentSuppliedResources: font ArialUnicodeMS
%%DocumentSuppliedResources: font CenturySchL-Roma
%%DocumentSuppliedResources: font Emmentaler-20
%%DocumentSuppliedResources: font feta-alphabet20

My home computer has the Arial font but it's not probably Unicode
compatible. I'll have to copy it there.

Anyway, thanks for the pointer once more.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-01 Thread Mats Bengtsson

Quoting the manual:
"The lyric tie is implemented with the Unicode character U+203F, so be 
sure to have a font (Like DejaVuLGC) installed that includes this glyph."


Note that Pango (the font handling library used in LilyPond) may pick 
different symbols from different fonts, so even if the rest of the text 
is typeset using the standard Century Schoolbook font, the lyric tie is 
typically taken from a separate font since it's not found in Century 
Schoolbook.


You can easily check what font files are used on your machine
where it works, if you process a file with and without lyric ties
and compare the top lines of the resulting .ps file. I get:

- Without a lyric tie:
...
%%DocumentSuppliedResources: font CenturySchL-Roma
%%EndComments
...

- with a lyric tie:
%%DocumentMedia: a4 595.28 841.89 80 () ()
%%DocumentSuppliedResources: font CenturySchL-Roma
%%DocumentSuppliedResources: font DejaVuSans
%%EndComments


  /Mats

Risto Vääräniemi wrote:

Hi Mats,

2008/10/2 Mats Bengtsson <[EMAIL PROTECTED]>:
  

Have you read the warning about the font you need, in
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Entering-lyrics#Entering-lyrics



Yes, I have seen it. I'm using the standard Century Schoolbook font
from LP distribution and because it works on my other computers I
guess it does have the glyph. I've even copied the font to
Windows\Fonts folder but that didn't help.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
  



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-01 Thread Risto Vääräniemi
Hi Mats,

2008/10/2 Mats Bengtsson <[EMAIL PROTECTED]>:
> Have you read the warning about the font you need, in
> http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Entering-lyrics#Entering-lyrics

Yes, I have seen it. I'm using the standard Century Schoolbook font
from LP distribution and because it works on my other computers I
guess it does have the glyph. I've even copied the font to
Windows\Fonts folder but that didn't help.

-Risto


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric tie glyph not found (directory separator problem?)

2008-10-01 Thread Mats Bengtsson

Have you read the warning about the font you need, in
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Entering-lyrics#Entering-lyrics

  /Mats

Risto Vääräniemi wrote:

Hi,

Something strange just happened. I tried to use the lyric tie (~) in
one song and LP complained that it couldn't find the glyph. These kind
on messages usually appeared when the file wasn't saved as UTF but
this time the same file works on my work computer (don't tell my
boss).

The directory separators seem to be / instead of \. That could be the
reason why LP / Pango / whatever cannot find the file. If that's the
next question is why have the separators changed in the first place.

I'm using XP Pro SP3 on a MacBook. Does anyone else run LP on Boot
Camped Mac? Any problems?

-Risto


GNU LilyPond 2.11.61
Processing `lyric_tilde.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `lyric_tilde.ps'...
Converting to `./lyric_tilde.pdf'...


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
  



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lyric tie glyph not found (directory separator problem?)

2008-10-01 Thread Risto Vääräniemi
Hi,

Something strange just happened. I tried to use the lyric tie (~) in
one song and LP complained that it couldn't find the glyph. These kind
on messages usually appeared when the file wasn't saved as UTF but
this time the same file works on my work computer (don't tell my
boss).

The directory separators seem to be / instead of \. That could be the
reason why LP / Pango / whatever cannot find the file. If that's the
next question is why have the separators changed in the first place.

I'm using XP Pro SP3 on a MacBook. Does anyone else run LP on Boot
Camped Mac? Any problems?

-Risto


GNU LilyPond 2.11.61
Processing `lyric_tilde.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000203F, file C:/Program Files/LilyPond_2.11.61/usr/share/
lilypond/current/fonts/otf/CenturySchL-Roma.otf
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `lyric_tilde.ps'...
Converting to `./lyric_tilde.pdf'...


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user