Re: pango userfonts needs in inkscape



Felipe Sanches wrote:
> 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.

These kind of issues are what makes adding support for application fonts and
cairo user fonts to Pango so hard.  I'll keep these in mind when I work on
that again.

behdad

> Does it make sense?
> 
> JucaBlues



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