[cairo] Defining default font family (was: Mac OS X support added)

Carl Worth cworth at cworth.org
Sat Jun 11 00:06:06 PDT 2005

On Sun, 16 Jan 2005 13:09:11 -0800, Keith Packard wrote:
> > +#ifdef CAIRO_HAS_FT_FONT
> > +
> > +#define CAIRO_FONT_FAMILY_DEFAULT  "serif"
> > +
> This should probably be
> Without the ifdefs, and with specific names, the intended usage is much 
> clearer.

I just committed a fix that provides the specific names.

Currently, _cairo_gstate_ensure_font_face still wants a generic
default font family macro, so the conditionally defined

>          (as a separate issue, the default FT font family should be "", 
> which permits the user configuration to select an appropriate face).

I committed this change as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050611/8dc4dfc0/attachment.pgp

More information about the cairo mailing list