Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 07:05:13 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, Akira TAGOH <akira@tagoh.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r332902 - in head/x11-fonts/wqy: . files
Message-ID:  <20131122070513.GA31808@FreeBSD.org>
In-Reply-To: <20131106063038.GB60770@FreeBSD.org>
References:  <201311051940.rA5Je2lP009970@svn.freebsd.org> <20131106063038.GB60770@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 06, 2013 at 06:30:38AM +0000, Alexey Dokuchaev wrote:
> On Tue, Nov 05, 2013 at 07:40:02PM +0000, Xin LI wrote:
> > New Revision: 332902
> > URL: http://svnweb.freebsd.org/changeset/ports/332902
> > 
> > Log:
> >   Fix a warning "Having multiple values in <test> isn't supported and may
> >   not work as expected" when using the latest x11-fonts/fontconfig.
> 
> Thank you!

Unfortunately, I've spoken too soon.  Committed fix does not work quite
right; e.g. language check bogusly gives me Bitmap Song font for any
"lang" value.  I'll investigate further, but my xterm and Gtk+2 apps look
very ugly now...

Meanwhile, I'm starting to really think whether we better just back this
warning shit out.  Just take a look at this (offending upstream commit),
their "rationale" is hilarious:

  "Warn if the multiple values is set to <test>, including the case of
   in <alias> because the behavior isn't intuitive since so many users
   is asking for a help to get things working for their expectation."

http://cgit.freedesktop.org/fontconfig/commit/?id=2837c63876b9b1f27d74aad51d45fc18d48f4652

The reason why so many users are asking for help is that XML is utterly
inappropriate config file format for fontconfig, you fuckheads!  Once you
need to store something more than few key-value pairs, once you need to
add even simplest conditionals, XML will bite your ass away, and that is
precisely what we are now having with fontconfig.

(Upstream commit author CC'ed in case he has something to say, or correct
me on anything).

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131122070513.GA31808>