Raymond Toy writes:
How do I print out the argument for FcNameParse? gdb just shows some
integer, which is probably some boxed pointer.
I'm not entirely sure this will work, but if you source src/.gdbinit
into gdb and use the user command "pp" on it, it should tell you what
kind of object it is.
Stephen> What does "fc-pattern Courier-10:lang=en"
return on your system?
Pattern has 3 elts (size 16)
family: "Courier"(s)
size: 10(f)(s)
lang: en(s)
My original code was actually looking for Bitstream Vera Sans
Mono-10:lang=en, and fc-pattern prints out pretty much the same as for
Courier.
Thanks for the information. So fontconfig at least is consistent
here. I'll look at the implementation of fc-pattern to see if it does
any extra preparation for those strings or is branching on zero to
some fallback. (I doubt it, but if so it might be an easy fix.)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta