[cairo] pango + cairo userfont

Behdad Esfahbod behdad at behdad.org
Tue Apr 8 14:56:16 PDT 2008


On Tue, 2008-04-08 at 16:30 -0500, Keith Packard wrote:
> On Tue, 2008-04-08 at 15:52 -0500, Behdad Esfahbod wrote:
> 
> > 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.
> 
> Fontconfig and Freetype can take arbitrary (uninstalled) FreeType
> objects, either in-memory or on-disk; is there some reason you would use
> cairo-level user-fonts for regular font objects?

If you read the bug title:

  Bug 347237 – Making Pango use a given cairo_font_face_t
  http://bugzilla.gnome.org/show_bug.cgi?id=347237

It's about using arbitrary cairo_font_face_t's with Pango.  That
includes cairo user-fonts, as well as those created with
font-backend-specific APIs.  Maybe we should call that application-font
support in Pango instead of user-font.

-- 
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