[cairo] pango + cairo userfont

Behdad Esfahbod behdad at behdad.org
Tue Apr 8 13:52:42 PDT 2008


On Tue, 2008-04-08 at 16:41 -0400, robertk54 at aol.com wrote:
> So, Pango can be used to select any system font / language and render
> to a Cairo ARGB surface, no need for FontConfig and FreeType?

Yes.

> If so, then what is the advantage of using FontConfig / FreeType?

Nothing.  Pango and cairo use them internally.

> Can one create and install their own FreeType fonts?  Is this
> considered a 'userfont'?

I'm not sure what you mean.  If you install a font that fontconfig can
see, Pango will see it too.  User-font support in Pango will become
useful to use uninstalled fonts.

> Thanks again for the help,
> Bob
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list