Re: Can I cache only particular fonts from WINDOWSFONTDIR

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

 



Sorry for the late reply.

I'm afraid there is no way to do it. because we don't know much
detailed information without reading metadata in fonts. If there is
something we can do for, that may be to implement excluding particular
fonts by filename and directory name even if it is in the target fonts
directories for caching. However, I'm concerned if it may introduce
some confusion.

On Fri, Feb 5, 2021 at 6:51 PM Radoslav Stoyanov
<radoslav.stoyanov@xxxxxxxxxxxxxx> wrote:
>
> Hi Akira,
>
> Thanks for this timely response. For example I would like to cache only Segoe UI and Tahoma fonts not the whole WINDOWSFONTDIR. Or more generally the question is - is there a way to cache only a given subset of fonts that reside in WINDOWSFONTDIR? The thing is that caching the whole WINDOWSFONTDIR is time consuming and I use only several fonts from it so I don't need all those fonts cached...
>
> Thanks,
> Rado
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, February 4, 2021 8:28 AM, Akira TAGOH <akira@xxxxxxxxx> wrote:
>
> > What exactly do you want to do? If you don't need fonts from
> > "WINDOWSFONTDIR", you can simply drop the line of
> > "<dir>WINDOWSFONTDIR</dir>" from your fonts.conf. that will stop
> > creating caches for "WINDOWSFONTDIR" though.
> >
> > On Wed, Feb 3, 2021 at 9:48 PM Radoslav Stoyanov
> > radoslav.stoyanov@xxxxxxxxxxxxxx wrote:
> >
> > > Hello group,
> > > I would like to ask if there is a way to set fonts.conf file so that only particular fonts are cached and not the entire WINDOWSFONTDIR?
> > > From what I understood from the docs and after some good number of experiments I couldn't find a way to do it. I've noticed that when I blacklist several fonts the cache file size remains the same. So I guess that whole WINDOWSFONTDIR is cached every time and then the black list filter is applied. So seems like there is no way to not cache the whole WINDOWSFONTDIR...
> > > Thank you very much,
> > > Rado
> > > PS. If you've received this message twice please excuse me. First time when I've sent it I've not been subscribed to the list.
> > > Sent with ProtonMail Secure Email.
> > >
> > > Fontconfig mailing list
> > > Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.freedesktop.org/mailman/listinfo/fontconfig
> >
> > --
> >
> > Akira TAGOH
>
>


-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




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

  Powered by Linux