Commit 4a5edfac authored by Tavmjong Bah's avatar Tavmjong Bah Committed by Tavmjong Bah

Disable "faux" or "synthesized" font faces.

(bzr r12177)
parent 13b79813
......@@ -741,6 +741,11 @@ void font_factory::GetUIFamiliesAndStyles(FamilyToStylesMap *map)
continue;
}
// Disable synthesized (faux) font faces
if (pango_font_face_is_synthesized(faces[currentFace]) ) {
continue;
}
PangoFontDescription *faceDescr = pango_font_face_describe(faces[currentFace]);
if (faceDescr) {
Glib::ustring familyUIName = GetUIFamilyString(faceDescr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment