Comment 18 for bug 560795

Revision history for this message
In , "freedom" Koan-Sin Tan (koansin-tan) wrote :

Created attachment 78101
update the proposed patch

add style name to FontDescription so that http://freebsd.csie.nctu.edu.tw/~freedom/webkitgtk-test/serb.html will be displayed with less problems

The way we load font:
  pango_ft2_font_map_new() --> pango_font_map_create_context() ---> pango_font_map_load_font(fontMap, context, description);
                                                   --> pango_font_description_from_string()

doesn't not require FcPattern input, it will create FcPattern inside PangoFcFont