<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Thu, 2010-10-07 at 17:31 +0200, Michał Górny wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#1a1a1a">This option is useful to disable all possible font encodings at once,</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">without fine-graining the calling ebuilds for a list of encodings</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">supported by each font package.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#1a1a1a">The option is parsed before all other encoding options, so it basically</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">sets defaults for all of them. Afterwards, any encoding can be</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">re-enabled back using '--enable-<encoding>' (much like</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">'--disable-all-encodings --enable-iso8859-2').</FONT></TT><BR>
</BLOCKQUOTE>
<BR>
Forgive me as I am not familiar with the font module. If I understand, all encodings are enabled by default,<BR>
which forced you to hunt down the list of encodings to disable. With this patch, you can control the<BR>
"default" encoding enablement. You can have all encodings disabled by default, allowing you<BR>
to only specify the ones you know and care about.<BR>
<BR>
Have you tested permutations of enable/disable all-encodings and enable/disable iso8859-2 for example?<BR>
<BR>
This patch is modifying the public interface of the font-util package, so it will require a version bump<BR>
and a release. The "Minimum version" in the patch comment need to reflect this new value (1.2)<BR>
<BR>
Any package using font-util and the new configure option will need to upgrade this statement:
<BLOCKQUOTE>
<PRE>
m4_ifndef([XORG_FONT_MACROS_VERSION],
         [m4_fatal([must install X.Org font-util 1.1 or later before running autoconf/autogen])])
XORG_FONT_MACROS_VERSION(1.1)
</PRE>
</BLOCKQUOTE>
Coincidentally, another font-util patch requiring a version bump has been posted on the list.<BR>
<A HREF="http://lists.x.org/archives/xorg-devel/2010-October/013772.html">http://lists.x.org/archives/xorg-devel/2010-October/013772.html</A><BR>
They should be part of the same version bump.<BR>
<BR>
Acked-by: <TT><FONT COLOR="#1a1a1a">Gaetan Nadon <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>></FONT></TT><BR>
<BR>
<BR>
</BODY>
</HTML>