GNOME Bugzilla – Bug 675239
emtpy font preview and critical warning
Last modified: 2012-05-02 17:28:02 UTC
In the attached screenshot, there's a completely empty square at the top left position with not even the font name shown. Clicking on it, there is one critical warning: GLib-CRITICAL **: g_utf8_to_ucs4_fast: assertion `str != NULL' failed (gdb) where
+ Trace 230157
$4 = 0x82fc2a8 "file:///home/......./.fonts/MyaZedi_M17N.ttf" which you can download from here: http://www.myazedi.com/mmfonts/v1.2/ After the critical warning, the font preview itself is complely blank.
Created attachment 213210 [details] screenshot
I wasn't able to reproduce this exact situation, not even with the suggested font file, but the code was indeed not correct. I pushed a fix to master which should solve this; I would appreciate if you could test again.
The critical warning is gone. However the square is still completely empty, since the font appears not to even have a name. Maybe use the display-name for the URI if the font name is an empty string? Not sure why the preview is empty too instead of the placeholder icon...