diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2013-03-07 21:03:29 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2013-03-07 21:03:29 +0000 |
| commit | 4a5edfac0c0408d97c1ecd1b547cea87d06ab113 (patch) | |
| tree | bf9c7dcd81059d645296a6307552cb7c7e5c06c2 /src/libnrtype | |
| parent | boolops union. fix for disappearing objects (Bug 168907) (diff) | |
| download | inkscape-4a5edfac0c0408d97c1ecd1b547cea87d06ab113.tar.gz inkscape-4a5edfac0c0408d97c1ecd1b547cea87d06ab113.zip | |
Disable "faux" or "synthesized" font faces.
(bzr r12177)
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/FontFactory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index a9220d867..a1a9ddc89 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -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); |
