GNOME Bugzilla – Bug 547683
pangofc should copy font pattern, not ref it
Last modified: 2008-08-13 21:30:32 UTC
Yeah, so we don't accidentally rely on anyone's pattern. (thinking about when fontconfig config changes, etc...) It's just safer.
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.