Created attachment 39239 [details] [review]
Patch to add the --disable-all-encodings option
It would be useful if font packages provided '--disable-all-encodings' option.
Right now, we have to specify all disabled encodings one by one -- and as different fonts provide different encodings, we either have to keep a clear encoding list for each font or struggle with configure warnings about unknown options.
Instead, we could simply pass a kind of '--disable-all-encodings' option to disable all font encodings supported by a font. Afterwards, '--enable-<encoding>' could be used to re-enable a single encoding.
I'm attaching a patch to provide the described behavior in XORG_FONT_CHECK_ENCODING_LIST() macro. Details are described inside the patch.
Related Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=339852
Please send this patch to xorg-devel. It probably will be forgotten if it stays in bugzilla.
Pushed to git master for inclusion in font-util 1.2.0 after the review on