diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index bdef942006..4e027ae7d7 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -276,6 +276,10 @@ void wxNativeFontInfo::SetUnderlined(bool WXUNUSED(underlined)) bool wxNativeFontInfo::SetFaceName(const wxString& facename) { pango_font_description_set_family(description, wxPANGO_CONV(facename)); + + // we return true because Pango doesn't tell us if the call failed or not; + // instead on wxGTK wxFont::SetFaceName() will call wxFontBase::SetFaceName() + // which does the check return true; }