pango userfonts needs in inkscape

I've been thinking a bit about some needs we have in Inkscape.
Imagine that we have 2 SVG documents opened in Inkscape. One of these has an SVG Font in it (which are implemented using cairo userfonts). This font should appear only in the font list of the document where it was declared.
Since both documents are opened in the same Inkscape process, I guess there should be an explicit way of telling pango whether to expose or not the declared cairo userfonts depending on the context of the calls. Maybe Inkscape should pass a key to pango call identifying which "sandbox" should be in use. By sandbox I mean a distinct environment for each document where userfonts are managed separately.

Does it make sense?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]