Hello everyone. I have always been irritated by the fact that fonts always show as only one alphabetical list. A real annoyance for people with lots of fonts installed. How come it has never changed? Wouldn''t it be nice if fontconfig returned data that would allow programs to produce a user-created font tree list? Something like : All fonts >?? ??(regular alphabetical list of fonts) Fonts I like the best > Baskerville Times New Roman Japanese fonts > ??MS???? ??MS?? Fonts I use for work > ??Baskerville ??Japanese > ????MS???? ????MS?? Cool pop fonts > ??SweetCandy Ninja ??SweetCandy Ninja Bold The tree list would originate from ~./fonts.conf : <match target="font"> <test qual="any" name="fullname"><string>MS??</string></test> <edit name="usersort" mode="append_last"><string>Japanese fonts</string></edit> <edit name="usersort" mode="append_last"><string>Fonts I use at work\Japanese</string></edit> </match> How does that sound? Am I looking at the right place anyway? I think I could try to put my hands into that.
On 02/22/2010 04:24 AM, Samuel Brassard wrote:> How does that sound? Am I looking at the right place anyway? > I think I could try to put my hands into that.You can do that already. There''s even ~/fonts.conf.d You just need an app to use that information. behdad
Behdad Esfahbod ????????:> On 02/22/2010 04:24 AM, Samuel Brassard wrote: > >> How does that sound? Am I looking at the right place anyway? >> I think I could try to put my hands into that. > > You can do that already. There''s even ~/fonts.conf.d > You just need an app to use that information. > > behdad >I know it''s possible to create a library that uses a modified version of fontconfig''s configuration format, but... - What is fontconfig going to do with a property like "usersort", which will lie in the same configuration file? - fontconfig is already appending external information to fonts (ex: aliases); why having a separate library continue the work?
On 02/24/2010 05:41 AM, Samuel Brassard wrote:> Behdad Esfahbod ????????: >> On 02/22/2010 04:24 AM, Samuel Brassard wrote: >> >>> How does that sound? Am I looking at the right place anyway? >>> I think I could try to put my hands into that. >> >> You can do that already. There''s even ~/fonts.conf.d >> You just need an app to use that information. >> >> behdad >> > > I know it''s possible to create a library that uses a modified version of > fontconfig''s configuration format, but...No. That''s not what I meant. The fontconfig library and configuration as is allow you to define your custom elements.> - What is fontconfig going to do with a property like "usersort", which > will lie in the same configuration file?Just passes it on. It''s up to the user to make any use of it. behdad> - fontconfig is already appending external information to fonts (ex: > aliases); why having a separate library continue the work?