higuita wrote:
On Thu, 30 Jun 2011 23:58:39 +0000, "corvid" <corvid@lavabit.com> wrote:
What format do you see in fc-list? I get "WenQuanYi Zen Hei,?????,?????:style=Medium,??".
The same:
WenQuanYi Zen Hei Mono,???????,???????:style=Medium,??
... so i should have see the same, right?
Apparently not :) How about if we stick a printf in fltk like: $ svn diff Index: src/fl_set_fonts_xft.cxx =================================================================== --- src/fl_set_fonts_xft.cxx (revision 8847) +++ src/fl_set_fonts_xft.cxx (working copy) @@ -271,6 +271,7 @@ // Century Schoolbook:style=Bold Italic,fed kursiv,Fett Kursiv,... // So the bit we want is up to the first comma - BUT some strings have // more than one name, separated by, guess what?, a comma... +printf("set_fonts: %s\n", font); stop = start = first = 0; stop = strchr((char *)font, ','); start = strchr((char *)font, ':');