Bug 30663 - fontutil.m4: Add a shorthand --disable-all-encodings option
Summary: fontutil.m4: Add a shorthand --disable-all-encodings option
Alias: None
Product: xorg
Classification: Unclassified
Component: Fonts/other (show other bugs)
Version: git
Hardware: All All
: medium enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2010-10-06 12:19 UTC by Michał Górny
Modified: 2010-10-07 17:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Patch to add the --disable-all-encodings option (2.02 KB, patch)
2010-10-06 12:19 UTC, Michał Górny
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2010-10-06 12:19:52 UTC
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
Comment 1 Rémi Cardona 2010-10-06 22:52:42 UTC

Please send this patch to xorg-devel. It probably will be forgotten if it stays in bugzilla.

Comment 2 Alan Coopersmith 2010-10-07 17:28:36 UTC
Pushed to git master for inclusion in font-util 1.2.0 after the review on

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.