Hello Raj,

When replying to a message that has a mailing list in CC, please always use
"Reply to all" in your mail client, not just "Reply", to also send the email
to the mailing list (which in this case is lilypond-devel@gnu.org). Developing
LilyPond is a collective effort, and all discussions should remain public
as much as possible. Thanks.

(I am reattaching your files so that others will have them too.)


Le jeudi 23 février 2023 à 14:27 +0000, rajwn a écrit :

> Thankyou Sir for very quick reply.  
>   
> The default fonts goes to  
> C:/Windows/Fonts  
>   
> All the fonts I install goes to   
> C:/Users/Raj/AppData/Local/Microsoft/Windows/Fonts  
>   
> I had no problem with version 2.22.0, it worked very well.  
>   
> I will attach you the text file  
> also the nudi font.  


Thanks for giving a reproductible example. However, I cannot reproduce the
problem on GNU/Linux; after installing the font in the normal way, and
commenting out the `ly:font-config-add-directory` (because `C:/Windows/...`
doesn't exist on a GNU/Linux system), I get lyrics in that font.

Have you tried `ly:font-config-display-fonts` as I suggested in my previous 
message?

Have you tried replacing each `/` with `\\` in the path `C:/Users/...`?

Also, if I use your font, I get errors like

```
programming error: FT_Load_Sfnt_Table (): error.
```

which suggests that the font might be invalid somehow. However, I don't get 
these errors with `Nudi-01-e.ttf` downloaded from 
[https://hindityping.info/download/kannada-fonts-nudi](https://hindityping.info/download/kannada-fonts-nudi).
 Maybe try that?

\version "2.22.0"
#(ly:font-config-add-directory 
"C:/Users/Yourdirectory/AppData/Local/Microsoft/Windows/Fonts/")

\relative c''{
  g4 g4 a4 a4 | }

\addlyrics {
  \lyricmode { \override LyricText.font-name = #"Nudi 01 e"
    \override LyricText.font-size = #'2
         { "¦æÃ " -- w "¢" -- "ªÀå"}
     
}
}

Attachment: Nudi_01_e.ttf
Description: font/ttf

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

Reply via email to