Skip to content

fix pango_fc_font_map_get_hb_face function

Yachen Mao requested to merge clysto/pango:fix_get_hb_face into main

pango_fc_font_map_get_hb_face creates hb_face from FcFont. The original function uses the file name stored in FcFont to create hb_face, but fonts created in memory by freetype may also exist in FcPattern. When FcPattern contains FT_Face, we should also try to create hb_face from FT_Face.

Merge request reports