After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 384543 - FcFontMatch misuse
FcFontMatch misuse
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Behdad Esfahbod
pango-maint
Depends on:
Blocks:
 
 
Reported: 2006-12-10 22:33 UTC by Behdad Esfahbod
Modified: 2006-12-24 04:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix match pattern before FcMatch() (1.13 KB, patch)
2006-12-15 10:02 UTC, Loïc Minier
none Details | Review
committed patch (3.90 KB, patch)
2006-12-24 04:44 UTC, Behdad Esfahbod
committed Details | Review

Description Behdad Esfahbod 2006-12-10 22:33:04 UTC
There is a debian bug that I cannot really decipher, but it has a patch that looks right:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401924

To me, seems like to explain why the gnome-font-selector thingy sometimes doesn't render the chosen face.
Comment 1 Loïc Minier 2006-12-15 10:02:42 UTC
Created attachment 78420 [details] [review]
Fix match pattern before FcMatch()
Comment 2 Loïc Minier 2006-12-15 10:06:42 UTC
Patch author suggest reading of http://fontconfig.org/fontconfig-devel/r2109.html which I can not load right now.
Comment 3 Behdad Esfahbod 2006-12-24 04:44:10 UTC
Created attachment 78851 [details] [review]
committed patch
Comment 4 Behdad Esfahbod 2006-12-24 04:44:55 UTC
2006-12-23  Behdad Esfahbod  <behdad@gnome.org>

        Bug 384543 – FcFontMatch misuse

        * pango/pangofc-fontmap.c (pango_fc_face_describe):
        Call FcConfigSubstitute and FcDefaultSubstitute before calling
        FcFontMatch.

        * pango/pangoft2.c (load_fallback_face):
        Call _pango_ft2_font_map_default_substitute().