On Mon, Aug 24, 2009 at 12:49 PM, Jerry James<james(a)xemacs.org> wrote:
I'm trying to figure out what is going on with
https://bugzilla.redhat.com/show_bug.cgi?id=512623. I mention in that
bug report that I cannot reproduce. That's because I was using
21.5.28. With 21.5.29, I can reproduce this. The function
fc-name-parse is being called, even though XEmacs was configured
without Xft. Does anyone know what changed between 21.5.28 and
21.5.29 to cause this, and what we need to do about it? Thanks,
I think I found the problem. I'm looking at the function
x-font-create-object, in lisp/font.el. In the second conditional from
the top of the function, it checks
(if (and (stringp fontname)
(string-match font-xft-font-regexp fontname))
;; Return an XFT font.
(xft-font-create-object fontname)
But that's not right, is it? Shouldn't we also check that Xft is even
available? What about something like this:
(if (and (stringp fontname)
(featurep 'xft-fonts)
(string-match font-xft-font-regexp fontname))
;; Return an XFT font.
(xft-font-create-object fontname)
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta