[Fontconfig] Sharing a FcConfig object between processes

Idriss Fekir mcsm224 at gmail.com
Wed Jul 26 09:40:21 UTC 2023


Hi,

In Gimp, a Custom config xml string is used to rename some fonts in the 
FcConfig object which are problematic with Pango.

Gimp supports plugins (and has several fundamental plugins, such as 
saving to a PDF file), each plugin runs in its **own process**.

This means that any plugin (such as the Pdf export plugin) will get some 
fonts wrong, due to not having the custom xml renaming string in its 
FcConfig.

Apart from sharing the xml string and doing the renaming on the FcConfig 
object every time  plugin which needs it is run, Is it possible to share 
an FcConfig Object between several processes?


Thank you very much.
-- 
Idriss


More information about the Fontconfig mailing list