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 547683 - pangofc should copy font pattern, not ref it
pangofc should copy font pattern, not ref it
Status: RESOLVED NOTABUG
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-08-13 21:20 UTC by Behdad Esfahbod
Modified: 2008-08-13 21:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2008-08-13 21:20:09 UTC
Yeah, so we don't accidentally rely on anyone's pattern.  (thinking about when fontconfig config changes, etc...)  It's just safer.
Comment 1 Behdad Esfahbod 2008-08-13 21:30:32 UTC
Maybe not... In that case we must make sure the pattern is an allocated one, not a static one.  This is currently true.  We have to make sure it remains the case...

Same about fontsets.  PangoContext caches fontsets.  So fontsets are not allowed to keep static patterns around (which means we can't lazily run FcFontRenderPrepare).

Humm, all this is not really fun.