lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fonts on windows


From: Abraham Lee
Subject: Re: fonts on windows
Date: Sat, 15 Jan 2022 22:55:49 -0700



On Fri, Jan 14, 2022 at 5:21 PM Flaming Hakama by Elaine <elaine@flaminghakama.com> wrote:
Hi, 

I'm setting up an new lilypond environment
on a surface pro running windows 10
using VSCode as an editor, 
and cygwin as a terminal.

I am not able to get lilypond to use my fonts yet.

I was able to install them in windows itself,
since I can see them in the windows Fonts Settings.

To do this, I did some dragging & dropping, 
and some using "right-click > install" in the file navigator.

But when I compile my lilypond files,
the resulting files do not use the fonts.

When I run "lilypond -dshow-available-fonts",
while it does list numerous fonts,
it does not list the fonts I installed.

Specifically, I am using "Highlander ITC TT"
for chord symbols.  
This is how I specify it, and this works on my other systems:

  #(define fonts
    (make-pango-font-tree "Marker Felt"
                          "Highlander ITC TT"
                          "LilyJAZZText"
                           (/ myStaffSize 20)))


Does anyone have any suggestions for how to get lilypond to find these fonts?

FWIW, I'm running 2.23.2 on this machine, but I'm on 2.19.81 on my other machines.

I have a couple of suggestions, but I must first ask, where did you get the Highlander font by the name "Highlander ITC TT"? I can't find a (legitimate) font anywhere by that name, so my first guess is that you're using the wrong font family name. Secondly, if it is the correct name, because it works with your other machines, then I suggest clearing the local machine's font cache. This is easily done. Open a windows explorer window and navigate to your user folder. Make sure you can see "hidden" files and you should see a folder with the word ".lilypond-fonts" in the name. Go in there and delete everything. Next time LilyPond runs, it will take a little bit more time because it is recreating a fresh font cache. So, assuming the font files you want to use are installed properly in C:\Windows\Fonts, then you should be able to access them now. Let me know if that's not the case.

Best,
Abraham

reply via email to

[Prev in Thread] Current Thread [Next in Thread]