On Wed, May 14, 2014 at 12:06 PM, Jerry James <james(a)xemacs.org> wrote:
Still, it seems likely that garbage collection has something to do
with this, doesn't it? That's the only way I can see the fccfgPtr
field being set to NULL. Maybe we are missing a gcpro somewhere.
No, I was even more confused than was evident at first. I confused
patterns and configs in my original email. It turns out that this is
a known bug, and it has already been fixed in mercurial. The problem
is that FcNameParse() (called in Ffc_name_parse) can return NULL. But
we check for that now:
if (!fcpat->fcpatPtr)
/* #### Is this the best API? Could return a symbol or similar. */
invalid_argument ("unparseable Fc font name", name);
So I either need to apply the existing patch to the 21.5.34 release
and rebuild for Fedora, or start agitating for a 21.5.35 release. :-)
Hmm, our website claims that 21.5.33 is the latest release.
Side note: the name that FcNameParse() chokes on in the case of the
Fedora bug is:
"DejaVu Sans Mono-12:familylang=en:style=Book:stylelang=en:fullname=DejaVu
Sans
Mono:fullnamelang=en:slant=0:weight=80:width=100:pixelsize=16:spacing=100:foundry=unknown:antialias=True:hintstyle=2:hinting=True:verticallayout=False:autohint=False:globaladvance=True:file=/usr/share/fonts/dejavu/DejaVuSansMono.ttf:index=0:outline=True:scalable=True:dpi=96:rgba=5:scale=1:minspace=False:charset=
|>^1!|>^1!P0oWQ
|>^1!|>^1!|>^1!!!!%#|>^1!|>^1!|>^1!|>^1!|>^1!|>^1!|>]!ox9ao]!!!)$|>^1!|>^0s|>Ul<|>^1!|>^1!z~Ef{P)di*!!t|u!!!.%|>^1!|>^1!!BB..;wnZH|>[gE|>^0{|>XZQ|>T)%!!!1&|>^1!|>^1!|>^1!!#>r?(0~]4%tT<~|>YRc#?>K%!!!4(8?MWi|>J~~{ma}P|>^0~!!!;)
!!!7)RimPQ$WUr)#F+zml8K9E!BT>Y9WNHO!!!W5#?3E%!!!Q3
{y]9#+~x?1!!$8i !!!W5
|>T)!/?6HF!!#$Dr;]W3q~F^z(1+e4%&T#Byf*@@{{B$~
!!#(E{}$34|>VCi|;{>WxJnq%S~^q^5^*vQ9;.pf#%k.{!!#+F9Bx6P|>^1!^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pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za:fontversion=153354:capability=otlayout\\:DFLT
otlayout\\:arab otlayout\\:cyrl otlayout\\:grek otlayout\\:lao
otlayout\\:latn:fontformat=TrueType:embolden=False:embeddedbitmap=True:decorative=False:lcdfilter=1:namelang=en:prgname=xemacs-xft-21.5-b34:hash=sha256\\:a82f85d87ec9a2251d93e3ca9bc34792c7c37f023dd17feadad819197a7f3a2d:postscriptname=DejaVuSansMono"
Stepping through with gdb shows that fontconfig bails out and returns
NULL when it hits the "charset=" part.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta