Re: Adding a font directory scanned non-recursively

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

 



Hi,

Unfortunately not. fontconfig will add a sub directory into the queue
when they find it and scan them recursively.
So we need a new API to do it.

On Sun, Apr 2, 2023 at 10:21 AM Jean Abou Samra <jean@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
> Is there a way to do something like FcConfigAppFontAddDir, but only looking
> for font files in the directory itself, not recursing into subdirectories?
>
> For background, LilyPond, which uses Fontconfig to search for fonts, has its
> own include path for LilyPond files. Since there is tooling (IDE) support built
> around that, it would be nice to make LilyPond search for fonts in that path.
> I tried adding all the directories it contains with FcConfigAppFontAddDir,
> and it kind of works, but then, if I run LilyPond in, say, my home folder,
> it hangs, because it's scanning the tens of thousands of directories inside for
> font files...
>
> Thanks,
>
> Jean
>


-- 
Akira TAGOH




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux