bohoomil / fontconfig-ultimate

freetype2-infinality run-time settings => infinality compatible fontconfig => infinality-bundle
454 stars 38 forks source link

support for phase-specific user config? #145

Open str50 opened 8 years ago

str50 commented 8 years ago

Hi,

I am using the package on Arch and I noticed in the config there is 28-user.conf and 50-user.conf and it seems they both include the same user config files in xdg paths. Could we have them include different user configs so that user overrides could be specified to phases?

Think of this case: in 49-sansserif.conf you are adding "sans-serif" to the family name if no generic name is provided in the pattern, and in the following configs, "sans-serif" gets expanded to language-specific sans font family names as ordered in the provided config. This way it is inconvenient to provide a user override to that expansion order since user config is loaded in 28-user.conf(and 50-user does not seem to do the expansion again) when "sans-serif" is not added yet. In other words, I don't see how one can provide user override during a specific phase(after 49 in this case).

bohoomil commented 8 years ago

We don't use 50-user.conf in fontconfig-ib.